Commit Graph

63 Commits

Author SHA1 Message Date
Konstantin Käfer
eef51a8679 fix test gyp file 2014-08-11 13:00:15 +02:00
Konstantin Käfer
55664a8c8f fix enum tests 2014-07-31 19:06:15 +02:00
John Firebaugh
4a110ff17e Use mapbox-gl-test-suite 2014-07-21 11:31:31 -07:00
John Firebaugh
86336ed838 Flip name and units and sign of rotation API
Angle -> Bearing
Radians -> Degrees
Clockwise -> Counterclockwise
2014-07-21 11:30:51 -07:00
Konstantin Käfer
68f595a32b consolidate functions to only use stops
refs mapbox/mapbox-gl-style-spec#96
2014-07-17 14:32:35 -07:00
Konstantin Käfer
55dce57896 rename a few things from mbgl => mapboxgl 2014-07-16 19:00:49 -07:00
Konstantin Käfer
4ea281c750 rename llmr => mbgl 2014-07-16 18:53:56 -07:00
Konstantin Käfer
c1a64dc5fa rename file and fix merge error 2014-07-16 18:30:04 -07:00
Konstantin Käfer
4d1d2c5d5d separate comparisons and expressions 2014-07-16 18:26:35 -07:00
Konstantin Käfer
a1d7da71c6 add more comparison tests 2014-07-16 18:26:35 -07:00
Konstantin Käfer
17b1c6fd41 update value semanatics to be closer to js and add filter expression tests 2014-07-16 14:39:19 -07:00
Konstantin Käfer
682eaec87c add icon render test 2014-07-15 18:08:14 -07:00
Konstantin Käfer
5459d80d47 disallow copying to avoid accidental unchecked message output 2014-07-15 13:31:55 -07:00
Konstantin Käfer
ba7d8c7731 fix errors 2014-07-14 16:38:34 -07:00
Konstantin Käfer
bdc97d55d2 add enum class to unify parsing/stringification 2014-07-14 16:33:02 -07:00
Konstantin Käfer
30298be270 add cstdarg headers 2014-07-11 16:42:09 -07:00
Konstantin Käfer
fbec72cd47 allow formatted messages 2014-07-11 16:25:20 -07:00
Konstantin Käfer
f3c55eba9d add logging facility and check logs in tests 2014-07-11 13:55:18 -07:00
Konstantin Käfer
8fc4d61025 allow setting classes in the test case 2014-07-10 17:19:53 -07:00
Konstantin Käfer
6a202fc197 allow processing multiple renders per test 2014-07-10 16:59:48 -07:00
Konstantin Käfer
f519625ed2 allow specifying a base parameter for exponential functions
refs mapbox/mapbox-gl-style-spec#4
2014-07-10 15:26:35 -07:00
Konstantin Käfer
fd0b1aeffe report fixture request errors 2014-07-10 15:13:52 -07:00
Konstantin Käfer
0cf3858edb cleanup 2014-07-10 15:13:46 -07:00
Konstantin Käfer
a8e71bcb7b change line width and add line-width test 2014-07-10 14:54:43 -07:00
Konstantin Käfer
374b1a1c65 fix other style as well 2014-07-09 19:03:26 -07:00
Konstantin Käfer
18924e5e30 update fixtures 2014-07-09 18:53:53 -07:00
Konstantin Käfer
22c8afced5 replace {{token}} with {token}, and %d/%d/%d with {z}/{x}/{y}
refs https://github.com/mapbox/mapbox-gl-style-spec/pull/87
2014-07-09 16:27:23 -07:00
Konstantin Käfer
ce541a962e fuzzy image comparison + create diff images 2014-07-09 15:07:48 -07:00
Konstantin Käfer
d0d68d08f4 fix automated headless testing on travis 2014-07-09 12:37:59 -07:00
Konstantin Käfer
e1bd68f618 add antialiasing test 2014-07-08 15:05:10 -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
4c75c696b3 don't overwrite global symbol basename 2014-07-07 21:01:52 -07:00
Konstantin Käfer
49b0f098c2 add test fixture and image comparison 2014-07-07 20:31:42 -07:00
Konstantin Käfer
501af4a380 fix headless rendering on travis and actually execute the headless test
fixes #357
2014-07-07 16:52:23 -07:00
Konstantin Käfer
9b61e39ef3 move headless to their own files
[skip ci]
2014-07-07 13:51:06 -07:00
Konstantin Käfer
59967fd709 make headless rendering work again by setting the correct fbo 2014-07-07 12:39:03 -07:00
Justin R. Miller
9e9623d2ec fix up OS X/headless notify_map_change() for new API 2014-07-03 19:08:26 -07:00
Konstantin Käfer
2bb943066f fix function tests 2014-07-01 05:49:05 -07:00
Konstantin Käfer
99c5e9126d remove boost warnings from test 2014-07-01 05:38:03 -07:00
Konstantin Käfer
08fc466107 load stylesheet file for headless test 2014-06-03 18:10:53 +02:00
Konstantin Käfer
ce23e88b01 add a few tests 2014-06-03 00:38:49 +02:00
Konstantin Käfer
3c26f53e63 generalize variant comparison and add more operators 2014-06-02 13:50:25 +02:00
Dane Springmeyer
d4f4547358 [test] fix signed/unsigned comparisons 2014-05-29 17:10:50 -07:00
Dane Springmeyer
a920ca8112 fix #269 2014-05-28 19:04:57 -07:00
Konstantin Käfer
ce97af30f9 add test for #206 2014-05-27 18:51:30 +02:00
Konstantin Käfer
f86fd2f610 add function tests 2014-05-20 12:05:25 +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
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
7f4f327166 make sure we're not converting too relaxedly 2014-05-08 13:42:54 +02:00