Commit Graph

79 Commits

Author SHA1 Message Date
Konstantin Käfer
953e5524a9 fix basepath for headless stylesheets 2014-08-27 14:28:56 +02:00
Konstantin Käfer
0f73a0192e Merge pull request #439 from mapbox/clipping
Compute unique clip IDSs per tile
2014-08-26 17:42:53 +02:00
Konstantin Käfer
7dcc061ac5 Merge pull request #437 from mapbox/fix-gcc
Make linux fails
2014-08-26 17:42:34 +02:00
John Firebaugh
3d9a293258 Support for Mapbox fontstack API 2014-08-22 17:14:51 -07:00
Konstantin Käfer
6730beec0e remove unused threadpool class 2014-08-21 15:51:10 +02:00
Konstantin Käfer
671e3910d6 don't duplicate function 2014-08-21 15:14:00 +02:00
Konstantin Käfer
9c5f9218ac add missing file 2014-08-21 15:10:01 +02:00
Konstantin Käfer
863b4577e4 compute unique clip ids per tile, taking covering children into account
fixes #206
fixes #220
refs #229
2014-08-21 15:02:08 +02:00
John Firebaugh
b9c7e1bdd9 Consolidate duplicate interpolation definitions
While here, do not interpolate style properties that
are not transitionable. The previous behavior was to
switch from old to new value halfway through the transition;
now the new value is used immediately, as in JS.
2014-08-20 13:58:37 -07:00
Konstantin Käfer
5a59b5f5fc fix warnings 2014-08-18 14:05:52 +02:00
Konstantin Käfer
1799c1b04c fix image pattern rendering 2014-08-14 12:58:41 +02:00
Konstantin Käfer
22e179aa37 remove trailing whitespace
[skip ci]
2014-08-12 16:30:27 +02:00
Konstantin Käfer
213b6ad4dc Merge branch 'master' into rasterize
[skip ci]
2014-08-12 15:12:31 +02:00
Konstantin Käfer
6f80264291 remove uv.h dependency from header files 2014-08-12 11:45:30 +02:00
Lauren Budorick
ec7f7de5c4 still not working 2014-08-11 12:13:22 -07:00
Konstantin Käfer
e4c311a864 remove uv.h dependency in util/time.hpp 2014-08-11 17:41:08 +02:00
Konstantin Käfer
225b5e01cb don't automatically move back to main thread 2014-08-11 07:41:52 -07:00
Konstantin Käfer
4657e6e023 use a file source object to abstract loading of resources 2014-08-08 18:25:45 +02:00
Konstantin Käfer
a045d9c9d4 use filesource object for loading all http stuff 2014-08-08 15:08:41 +02:00
Konstantin Käfer
4ea281c750 rename llmr => mbgl 2014-07-16 18:53:56 -07:00
Konstantin Käfer
682eaec87c add icon render test 2014-07-15 18:08:14 -07:00
Konstantin Käfer
fbec72cd47 allow formatted messages 2014-07-11 16:25:20 -07:00
Konstantin Käfer
df65ecaa34 fix compile errors 2014-07-08 14:53:17 -07:00
Konstantin Käfer
af6091db5a update headless testing to be configurable 2014-07-08 14:38:49 -07:00
Konstantin Käfer
49b0f098c2 add test fixture and image comparison 2014-07-07 20:31:42 -07:00
Konstantin Käfer
6d9de75732 rename time => timestamp to avoid naming conflicts 2014-06-27 15:52:45 +02:00
Konstantin Käfer
af69b4fe39 unifiy constants in one place, and allow local override 2014-06-04 11:22:03 +02:00
Dane Springmeyer
42a2c252b8 use malloc/free from c++: fixes compile with libc++ on linux - refs #287 2014-05-30 13:38:09 -07:00
Dane Springmeyer
74c534b07a avoid unused variable warning 2014-05-30 13:28:06 -07:00
Konstantin Käfer
78fda8bb62 make sure we retain shared state when destructing the map object
refs #261
2014-05-30 17:00:47 +02:00
Dane Springmeyer
2be6fefdf8 make shapingWarning and glyphWarning off for release builds 2014-05-29 18:13:41 -07:00
Dane Springmeyer
f5394a7638 release mode: silent debug output + ifdef any potentially expensive calls 2014-05-29 18:07:19 -07:00
Justin R. Miller
7b2355c696 Merge branch 'master' into bezier 2014-05-29 16:12:10 -07:00
Vladimir Agafonkin
841cee7750 change default cubic bezier for easings 2014-05-29 23:41:49 +03:00
Dane Springmeyer
829f9d1197 [build] another missing <memory> include 2014-05-29 12:36:22 -07:00
Konstantin Käfer
cca9d81ee7 add debug warnings 2014-05-28 15:51:09 +02:00
Konstantin Käfer
f32c996348 fixed subtle clip id generation bug
refs #206
2014-05-27 18:51:09 +02:00
Dane Springmeyer
7e94462747 correct namespace usage 2014-05-23 16:38:26 -07:00
Justin R. Miller
aa92e92595 support for style transitions 2014-05-22 12:46:53 -07:00
Konstantin Käfer
084e7af377 better sprite warnings 2014-05-22 15:19:51 +02:00
Konstantin Käfer
16a79b42ca show tile parse warnings 2014-05-21 14:18:25 +02:00
Konstantin Käfer
13939b26d9 first shot at composited blending
still missing:
- stencil+depth mask
- alpha compositing
2014-05-21 10:55:09 +02:00
Konstantin Käfer
238fe86571 partially revert 6136ab6d21
background: we are doing separate opaque/translucent passes per composite layer
and then we're compositing them in the translucent phase
2014-05-21 10:53:40 +02:00
Konstantin Käfer
017145f052 show style parse warning if the flag is set 2014-05-21 10:53:40 +02:00
Konstantin Käfer
f848868c16 fix texture binding 2014-05-19 14:18:29 +02:00
Konstantin Käfer
b167a79c22 always use std:: namespace for math functions
fixes #201
2014-05-14 16:40:24 +02:00
Konstantin Käfer
32b21b050f do not define variables until they're needed 2014-05-14 10:31:57 +02:00
Konstantin Käfer
d9d9b281c4 disable texture deleting for now 2014-05-12 18:25:58 +02:00
Konstantin Käfer
0bfd7b0f43 Calculate clip IDs with a huffman prefix tree
This changes the clip IDs from sequential to a huffman prefix tree, meaning that
parent tiles share the same prefix with child tiles (but are shorter). This allows
us to use the same checkerboard pattern to draw all tiles.

TODO:
- make sure we're not overflowing the 8 bit limit of the stencil buffer
- draw all checkerboard fields at the same time, with one draw call
- fix raster drawing (fading, clipping)

refs #132
2014-05-09 18:10:28 +02:00
Konstantin Käfer
485a9a40bc formatting 2014-05-02 10:25:58 +02:00