Commit Graph

1683 Commits

Author SHA1 Message Date
Mike Morris
c836bc2b01 Revert "make context active before clearing buffers"
This reverts commit 636fedff12.
2014-09-10 15:11:17 -04:00
Mike Morris
636fedff12 make context active before clearing buffers 2014-09-10 14:53:31 -04:00
John Firebaugh
2a50fccd24 Fix build on gcc (fixes #464) 2014-09-08 22:26:10 -07:00
John Firebaugh
eb4f53cbed SDF icon support (fixes #404) 2014-09-08 15:12:32 -07:00
John Firebaugh
2033eb9494 Don't overrotate line labels (fixes #462) 2014-09-08 11:22:54 -07:00
John Firebaugh
de720f3515 FrameHistory::getFadeProperties 2014-09-05 14:03:33 -07:00
John Firebaugh
4c0b4a7901 Match js attribute layout 2014-09-05 13:40:45 -07:00
John Firebaugh
9d5f02ccaa Match js shaders
The only non-incidental change is to revert portions
of d5b4c116 and 3a9a9043.

See d5b4c1162d (commitcomment-7668050)
2014-09-05 13:23:14 -07:00
John Firebaugh
7b9ad022a9 Implement text-rotation-alignment 2014-09-04 18:12:40 -07:00
John Firebaugh
f2391e25ea TextShader ⇢ SDFShader 2014-09-04 17:59:22 -07:00
John Firebaugh
1fedf0918a Less shader boilerplate 2014-09-04 16:22:25 -07:00
John Firebaugh
c14ae3c477 Fix text/icon-translate-anchor
These are style properties, not render properties.
2014-09-04 15:38:14 -07:00
John Firebaugh
4694aa40ad Add SpriteAtlas::getPosition() 2014-09-03 18:12:40 -07:00
John Firebaugh
586cb9144a Make renderLine more similar to JS 2014-09-03 18:12:40 -07:00
Lauren Budorick
71c31cee24 linepattern in progress 2014-09-03 18:12:40 -07:00
John Firebaugh
c1280f0b38 Revert "coalesce texture uploads at the beginning of a frame"
This reverts commit 8c2c7f769f.

See #454

Conflicts:
	src/geometry/glyph_atlas.cpp
	src/geometry/sprite_atlas.cpp
2014-09-03 18:12:39 -07:00
John Firebaugh
bb9a466adb Revert "Avoid zero size array warning"
This reverts commit d4fd57aae9.
2014-09-03 17:04:38 -07:00
John Firebaugh
a634605176 Kill config.mk (fixes #456) 2014-09-03 14:59:18 -07:00
John Firebaugh
3eb05efde2 Also release the current context 2014-09-03 14:50:03 -07:00
John Firebaugh
01d9d43f01 glXDestroyContext, XFree, XCloseDisplay 2014-09-03 14:13:41 -07:00
Justin R. Miller
5cf1afa3d0 capitalization 2014-09-02 13:33:50 -07:00
John Firebaugh
eb1fbc542b Fix text-justify (fixes #444) 2014-08-29 12:25:17 -07:00
John Firebaugh
2e8fb5f667 Fix text-line-height 2014-08-28 18:44:11 -07:00
John Firebaugh
9d6c7685d0 Implement {text,icon}-translate[-anchor] 2014-08-28 17:24:29 -07:00
John Firebaugh
e71a1a9077 Simplify 2014-08-28 17:16:37 -07:00
John Firebaugh
bfa0b7f009 Remove vtxMatrix state 2014-08-28 17:13:55 -07:00
John Firebaugh
6855590548 Fix default text-size 2014-08-28 16:48:01 -07:00
John Firebaugh
c13cc4aa38 Record frame history in the correct place
Fixes numerous issues with rendering tests.
2014-08-28 16:43:03 -07:00
John Firebaugh
fd40bde612 Make Glyph and Sprite Atlases noncopyable 2014-08-28 13:40:17 -07:00
John Firebaugh
20762ee9f4 Use fresh map and view for each test 2014-08-28 13:09:15 -07:00
John Firebaugh
d4fd57aae9 Avoid zero size array warning 2014-08-28 12:23:44 -07:00
John Firebaugh
9f734ee61d background-opacity support 2014-08-28 10:43:53 -07:00
John Firebaugh
e2c2ab843e Render background with plain shader 2014-08-27 18:22:20 -07:00
John Firebaugh
a62a826b56 raster-fade -> raster-fade-duration 2014-08-27 17:31:32 -07:00
Konstantin Käfer
a9748d9175 Merge pull request #453 from mapbox/fix-headless-basepath
Fix basepath for headless tests and correctly load %20 encoded paths
2014-08-27 14:52:16 +02:00
Konstantin Käfer
98c092ec0a add missing header 2014-08-27 14:43:03 +02:00
Konstantin Käfer
2d61722178 deploy dependency builds only with aws keys 2014-08-27 14:37:30 +02:00
Konstantin Käfer
9d74dbad96 only deploy when aws keys are present 2014-08-27 14:36:14 +02:00
Konstantin Käfer
e40ca0ac61 never allow negative segment indices 2014-08-27 14:29:10 +02:00
Konstantin Käfer
953e5524a9 fix basepath for headless stylesheets 2014-08-27 14:28:56 +02:00
Konstantin Käfer
59db9e03a9 Merge pull request #452 from mapbox/faster-builds
Avoid double compiles on Linux
2014-08-27 12:55:15 +02:00
Konstantin Käfer
a55be0217b test with the current release type's settings to avoid double compiles 2014-08-27 12:37:07 +02:00
Konstantin Käfer
312cae1a05 Merge pull request #451 from mapbox/noncopyable-vao
VertexArrayObject and ElementGroup should be noncopyable
2014-08-27 12:36:48 +02:00
Konstantin Käfer
c8d76867db remove unused includes 2014-08-27 12:10:49 +02:00
Konstantin Käfer
c3cb458225 make ElementGroup and VertexArrayObject movable to avoid using unique_ptrs 2014-08-27 12:08:21 +02:00
Konstantin Käfer
67629d7f86 use correct path for deploy script 2014-08-27 11:53:30 +02:00
Konstantin Käfer
454ac1866b don't fail if test comparisons return mismatches 2014-08-27 11:23:58 +02:00
John Firebaugh
489b664232 Remove unused 2014-08-26 15:15:33 -07:00
John Firebaugh
42d0740ef0 VertexArrayObject and ElementGroup should be noncopyable 2014-08-26 14:43:56 -07:00
Konstantin Käfer
073d1fc9e8 bump cocoa 2014-08-26 19:33:25 +02:00