John Firebaugh
d27740650b
[core] Don't upload the FrameHistory texture in frames where it's not changing
2017-06-14 11:13:43 -07:00
John Firebaugh
d618d4a274
[core] Dynamic program compilation for data-driven properties
2017-06-14 11:13:43 -07:00
John Firebaugh
212ae5273d
[core] cleanup ProgramParameters
2017-06-14 11:13:43 -07:00
Konstantin Käfer
a64828218a
[core] add constant DDS values as uniforms
2017-06-14 11:13:43 -07:00
Konstantin Käfer
cf85873f36
[core] add uniforms to DataDrivenPaintPropertys
2017-06-14 11:13:43 -07:00
Konstantin Käfer
b141707b8d
[core] add shader defines for enabling/disabling attributes/uniforms for DDS
2017-06-14 11:13:43 -07:00
Konstantin Käfer
eaa8f23672
[core] only bind uniforms that exist in the program
2017-06-14 11:13:43 -07:00
Konstantin Käfer
951f599706
[core] store vertex attribute binding to prevent duplicate binds
...
We have an "oldBinding" value that we use for checking whether the vertex attribute was already
bound to the current VAO, but we never set the state. Additionally, we're also checking whether
the previous state was already any binding (optional is set), and don't re-enable the vertex
attribute array. Additionally, we now only disable the vertex attribute array when the previous
state was in fact an array attribute. We still don't deduplicate constant glVertexAttrib* calls,
but that's a little trickier.
2017-06-14 11:13:43 -07:00
John Firebaugh
441b80d574
[core] Reduce number of varyings to 8 or less
...
For #pragmas, don't generate varyings for attributes that aren't used by the fragment shader. Pack other varyings more tightly.
2017-06-14 11:13:43 -07:00
Bruno de Oliveira Abinader
12279b5dcc
[glfw] Added extrusions (E) and route (R) shortcuts
2017-06-14 16:39:07 +03:00
Tobrun
7bfcce0266
Cherry pick release ( #9263 )
...
* [core] - bump earcut version dependency to handle unused lamba warning (#9242 )
* [android] - snapshot bitmap contains view based content (#9252 )
2017-06-14 14:34:03 +02:00
John Firebaugh
5e0018cdc3
[core] Add consts
2017-06-13 14:35:13 -07:00
John Firebaugh
8902e28e9b
[core] Don't upload the FrameHistory texture in frames where it's not changing
2017-06-13 14:35:13 -07:00
John Firebaugh
9d276f3b0f
[core] Dynamic program compilation for data-driven properties
2017-06-13 12:21:50 -07:00
Konstantin Käfer
18b50f51b4
[core] cleanup ProgramParameters
2017-06-13 12:21:50 -07:00
Konstantin Käfer
1708b297a7
[core] add constant DDS values as uniforms
2017-06-13 12:21:50 -07:00
Konstantin Käfer
2c6fcd9f44
[core] add uniforms to DataDrivenPaintPropertys
2017-06-13 12:21:50 -07:00
Konstantin Käfer
2cbc3d3332
[core] add shader defines for enabling/disabling attributes/uniforms for DDS
2017-06-13 12:21:50 -07:00
Konstantin Käfer
978363a47f
[core] only bind uniforms that exist in the program
2017-06-13 12:21:50 -07:00
Konstantin Käfer
7f8f75b1c9
[core] verify that the active uniform types match our assumed types
2017-06-13 19:21:46 +02:00
Konstantin Käfer
9a05ebac52
[core] store vertex attribute binding to prevent duplicate binds
...
We have an "oldBinding" value that we use for checking whether the vertex attribute was already
bound to the current VAO, but we never set the state. Additionally, we're also checking whether
the previous state was already any binding (optional is set), and don't re-enable the vertex
attribute array. Additionally, we now only disable the vertex attribute array when the previous
state was in fact an array attribute. We still don't deduplicate constant glVertexAttrib* calls,
but that's a little trickier.
2017-06-13 19:21:20 +02:00
John Firebaugh
bb544136f3
[core] Update to shelf-pack 2.1.0
2017-06-13 10:18:43 -07:00
John Firebaugh
244819f2da
[core] Remove unused binpack.hppp
2017-06-13 10:18:43 -07:00
John Firebaugh
3270440f23
[core] Per-tile glyph/icon atlases
2017-06-13 10:18:43 -07:00
John Firebaugh
f610e9bef9
[tests] Test updating icon and pattern images
2017-06-13 10:18:43 -07:00
John Firebaugh
0b68731207
[core] Per-bucket icon atlases
2017-06-13 10:18:43 -07:00
John Firebaugh
92252849c1
[core] Per-bucket glyph atlases
2017-06-13 10:18:43 -07:00
John Firebaugh
b201a7900f
[core] glPixelStorei is in OpenGL ES 2
2017-06-13 10:18:43 -07:00
John Firebaugh
f5d3b850bf
[core] Merge RenderLayer::uploadBuckets into RenderSource::startRender
2017-06-13 10:18:43 -07:00
John Firebaugh
17db460345
[core] Parallelism in {start,finish}Render parameters
2017-06-13 10:18:43 -07:00
John Firebaugh
31bf6719fc
[core] Reduce number of varyings to 8 or less
...
For #pragmas, don't generate varyings for attributes that aren't used by the fragment shader. Pack other varyings more tightly.
2017-06-13 08:41:39 -07:00
Tobrun
5a2dd1b5df
[android] - snapshot bitmap contains view based content ( #9252 )
2017-06-13 15:23:31 +02:00
Tobrun
0c275ad6fa
[android] - correct source changed map event javadoc ( #9243 )
2017-06-13 12:43:48 +02:00
Bruno de Oliveira Abinader
a05f060153
[core] Added Backend::{assume,set}ScissorTest
2017-06-13 13:37:41 +03:00
Bruno de Oliveira Abinader
28eb2e6354
[core] Added Backend::{assume,set}Viewport
2017-06-13 13:37:41 +03:00
Ivo van Dongen
672ba516f2
[core] mutex guard annotation manager for cross thread usage
2017-06-13 10:15:53 +03:00
Fabian Guerra
87a05b29c9
[ios, macos] Fix MGLSphericalPosition.radial misleading type.
2017-06-12 15:17:02 -04:00
Tobrun
f1598ff07e
[core] - bump earcut version dependency to handle unused lamba warning ( #9242 )
2017-06-12 14:35:08 +02:00
Konstantin Käfer
f570b60096
[build] try out Android NDK 15 beta 2
2017-06-12 14:35:08 +02:00
Tobrun
e59766f4e8
[android] - run MapboxMap invocations to ui thread for instrumentation tests ( #9198 )
2017-06-12 11:02:36 +02:00
Tobrun
294f4f8df9
[android] - update changelog for v5.1.0-beta.4 ( #9232 )
2017-06-09 15:47:21 +02:00
Anand Thakker
f59eb822e1
Fix undefined memory access in getCoveringRanges() ( #9227 )
...
* Add simple unit tests for SymbolSizeBinder
* Fix bug in symbol size uniform value calculation
For camera functions we were setting the zoom levels in "covering ranges" to
`[(zoom stop <= tile zoom), (zoom stop >= 1 + tile zoom)]`, but then evaluating
the function at `[tile_zoom, tile_zoom + 1]`.
* Check for it != end() before accessing it->first
2017-06-09 06:28:14 -04:00
Tobrun
6ec5e4f8cd
Cherry picks to release branch ( #9230 )
...
* [ios][macos] test remove source in use
* [android] test remove source in use
* [core] check source usage before remove
* [core] ensure layer::accept works with non-void return values on gcc
* [android] - remove upgrade runtime exceptions (#9191 )
2017-06-09 12:05:54 +02:00
Tobrun
fa972fad60
[android] - update components with camera values when animating ( #9174 )
2017-06-09 11:11:33 +02:00
Tobrun
9f88e37366
Custom location source fix ( #9142 )
...
* [android] - custom location engine fixes (#9139 )
* Update to latest LOST dependency, fixup internal location source integration
2017-06-09 10:00:00 +02:00
Bruno de Oliveira Abinader
66c2a2a0b7
[glfw] Assume implicit backend in GLFWView::onFramebufferResize
2017-06-08 16:31:31 +03:00
Tobrun
233117fe57
[android] - invalidating MyLocationView bearing when not following position ( #9212 )
2017-06-08 08:44:29 +02:00
John Firebaugh
37870b69ae
[ios] Bench should be run in Release configuration
2017-06-07 09:29:08 -07:00
Łukasz Paczos
78eca869ae
[android] - option to disable camera animation while following position ( #9210 )
2017-06-07 18:02:28 +02:00
Tobrun
ae837f4db2
[android] - remove conversion from pixels to dp ( #9205 )
2017-06-07 12:41:30 +02:00