summaryrefslogtreecommitdiff
path: root/src/mbgl
Commit message (Collapse)AuthorAgeFilesLines
...
* [core] Rename ThreadedObject to ThreadThiago Marcos P. Santos2017-06-213-11/+11
| | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name.
* [core] Remove util::ThreadThiago Marcos P. Santos2017-06-214-209/+1
| | | | Fixes #6425
* [core] Convert LocalFileSource to ThreadedObjectThiago Marcos P. Santos2017-06-211-2/+3
|
* [core] Convert AssetFileSource to ThreadedObjectThiago Marcos P. Santos2017-06-211-2/+3
|
* [core] Added the ThreadedObjectThiago Marcos P. Santos2017-06-213-0/+231
| | | | Actor model version of util::Thread.
* [core] Enable property functions for line-width (#9250)Lauren Budorick2017-06-1919-59/+171
|
* [core] Trigger repaint on source changesAsheem Mamoowala2017-06-193-2/+4
|
* [iOS][macOS] Export `MGLImageSource`, add and update documentation. Use ↵Asheem Mamoowala2017-06-191-2/+2
| | | | animated ImageSource demo in iOS test app
* [iOS][macOS] Add ImageSource bindingsAsheem Mamoowala2017-06-192-8/+11
|
* [core] add DataDrivenPaintProperty uniform template class to generation ↵Lauren Budorick2017-06-163-0/+3
| | | | script (#9297)
* Disable misleading indentation warnings where boost is included.Aaron Muir Hamilton2017-06-162-0/+2
|
* [core] Fix composite function approximation for non-integer stopsJohn Firebaugh2017-06-161-5/+5
|
* [core] Implement "smart setStyle"John Firebaugh2017-06-151-111/+38
|
* [core] Obey "transition" property from style and its default valueJohn Firebaugh2017-06-155-3/+21
|
* [core] Skip calculations when we already know we need rendering or layoutJohn Firebaugh2017-06-151-3/+4
|
* [core] Eliminate constant attribute bindingsJohn Firebaugh2017-06-146-229/+76
| | | | Rather than binding constant attributes that will never be used, just disable the attribute.
* [core] rename a_gap_width => a_gapwidth, u_gap_width => u_gapwidth to ↵Konstantin Käfer2017-06-143-3/+3
| | | | | | reflect naming in the shader not sure how this ever worked
* [core] Remove unused SymbolPropertyValues membersJohn Firebaugh2017-06-142-10/+0
|
* [core] Don't use "current" icon/text-size when bindingJohn Firebaugh2017-06-142-17/+5
| | | | | | The current value is not passed to `SymbolSizeBinder::uniformValues`, so we shouldn't check `currentValue.isConstant()` in `SymbolSizeBinder::attributeBindings`. If it were true, then we might end up using attribute bindings that are appropriate only for a constant property, but uniform bindings that are appropriate only for a source or composite function. Instead, just wait for a new bucket to be generated. This will happen automatically, since icon/text-size are layout properties.
* [core] Add constsJohn Firebaugh2017-06-131-3/+3
|
* [core] Don't upload the FrameHistory texture in frames where it's not changingJohn Firebaugh2017-06-131-6/+6
|
* [core] Dynamic program compilation for data-driven propertiesJohn Firebaugh2017-06-1318-69/+147
|
* [core] cleanup ProgramParametersKonstantin Käfer2017-06-136-33/+45
|
* [core] add constant DDS values as uniformsKonstantin Käfer2017-06-133-4/+23
|
* [core] add uniforms to DataDrivenPaintPropertysKonstantin Käfer2017-06-137-30/+48
|
* [core] add shader defines for enabling/disabling attributes/uniforms for DDSKonstantin Käfer2017-06-1312-32/+668
|
* [core] only bind uniforms that exist in the programKonstantin Käfer2017-06-131-1/+1
|
* [core] verify that the active uniform types match our assumed typesKonstantin Käfer2017-06-133-0/+144
|
* [core] store vertex attribute binding to prevent duplicate bindsKonstantin Käfer2017-06-131-0/+1
| | | | | | | | | 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.
* [core] Update to shelf-pack 2.1.0John Firebaugh2017-06-132-10/+10
|
* [core] Remove unused binpack.hpppJohn Firebaugh2017-06-131-101/+0
|
* [core] Per-tile glyph/icon atlasesJohn Firebaugh2017-06-1316-137/+162
|
* [tests] Test updating icon and pattern imagesJohn Firebaugh2017-06-131-1/+4
|
* [core] Per-bucket icon atlasesJohn Firebaugh2017-06-1338-521/+519
|
* [core] Per-bucket glyph atlasesJohn Firebaugh2017-06-1328-430/+363
|
* [core] glPixelStorei is in OpenGL ES 2John Firebaugh2017-06-135-52/+47
|
* [core] Merge RenderLayer::uploadBuckets into RenderSource::startRenderJohn Firebaugh2017-06-1313-35/+41
|
* [core] Parallelism in {start,finish}Render parametersJohn Firebaugh2017-06-1317-73/+42
|
* [core] Reduce number of varyings to 8 or lessJohn Firebaugh2017-06-135-45/+46
| | | | For #pragmas, don't generate varyings for attributes that aren't used by the fragment shader. Pack other varyings more tightly.
* [core] Added Backend::{assume,set}ScissorTestBruno de Oliveira Abinader2017-06-136-2/+33
|
* [core] Added Backend::{assume,set}ViewportBruno de Oliveira Abinader2017-06-131-4/+5
|
* [core] mutex guard annotation manager for cross thread usageIvo van Dongen2017-06-132-10/+32
|
* Fix undefined memory access in getCoveringRanges() (#9227)Anand Thakker2017-06-091-3/+4
| | | | | | | | | | | | * 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
* fix #8300 flyTo for close points (#9199)Ansis Brammanis2017-06-061-10/+7
| | | | | | | | | | | | | | The isClose threshold is switched from 0.000001 pixels to 1 pixel. As a backup, it checks whether r0 and r1 are finite. It might be possible to have just the threshold check or just the finiteness check, but I don't see the harm in having both. std::abs(w0 - w1) < 0.000001 is removed because it doesn't look like it's needed. All calculations should run fine even if w0 === w1. Finally, the point interpolation is tweaked so that at the end of the flying (when k === 1) it ends up at the exact end point. I didn't see any bugs related to this, but it seems like a good thing to have explicitly.
* [core] Named members for diff before/afterJohn Firebaugh2017-06-053-5/+12
|
* [core] Collection-level immutabilityJohn Firebaugh2017-06-059-136/+235
| | | | Introduce a second level of immutability, over each of the collections held by a style: sources, images, and layers. Tracking immutability at this level allows us to short-circuit significant portions of the RenderStyle update logic via a simple equality check, greatly improving performance.
* [core] Don't share TransformState referenceJohn Firebaugh2017-06-052-5/+5
|
* [core] Fix several bugs in AnnotationManagerJohn Firebaugh2017-06-051-6/+12
|
* [core] Split RenderStyle from StyleJohn Firebaugh2017-06-0528-593/+683
|
* [core] Simplify LayerObserver APIJohn Firebaugh2017-06-0512-260/+116
|