summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/bucket.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Don't upload empty bucketsBruno de Oliveira Abinader2017-07-061-1/+4
|
* [core] split off render layersIvo van Dongen2017-04-251-2/+3
|
* [core] account for property functions in query rendered featuresIvo van Dongen2017-04-191-0/+6
|
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-021-2/+5
|
* [core] Modern C++ bindings for OpenGLJohn Firebaugh2016-10-281-5/+0
|
* [core] remove dependence on gl.h typesKonstantin Käfer2016-09-291-2/+1
|
* [core] merge gl::ObjectStore into gl::ContextKonstantin Käfer2016-09-271-2/+1
|
* [core] rename gl::Config to gl::ContextKonstantin Käfer2016-09-271-2/+2
|
* [core] Extract SymbolLayout from SymbolBucketJohn Firebaugh2016-09-141-4/+0
| | | | | | | | | | | | | | SymbolLayout lives on the worker thread and contains the persistent data needed for repeated placement. SymbolBucket contains the data generated during placement, and is transferred to the main thread for rendering. This eliminates the risky sharing of GeometryTile::buckets between the main thread and worker thread during TileWorker::redoPlacement. While here, rationalize the names of states a SymbolLayout may be in: * Pending: Waiting for the necessary glyphs or icons to be available. * Prepared: The potential positions of text and icons have been determined. * Placed: The final positions have been determined, taking into account prior layers. In TileWorker, all SymbolLayouts are stored in a single vector. Each SymbolLayout knows what state it is in, and TileWorker can easily determine how much progress it can make toward a final result.
* [core] Revert workaround for std::atomic on ARMv5Thiago Marcos P. Santos2016-07-131-2/+3
| | | | | | Got fix on r12. https://github.com/android-ndk/ndk/issues/31
* [core] Pass RenderTile rather than individual parametersJohn Firebaugh2016-07-111-3/+2
|
* [core] Introduce PaintParametersJohn Firebaugh2016-07-111-1/+2
| | | | Use it to DRY selection of regular vs. overdraw shaders and VAOs.
* [core] track texture state to avoid redundand bindsKonstantin Käfer2016-07-081-1/+2
|
* [android] [core] #5521 - Removing extraneous equals signBrad Leege2016-06-301-1/+1
|
* [core] Merge TexturePool into ObjectStore; pool all textures (#5477)John Firebaugh2016-06-271-2/+1
|
* [core] remove TexturePool dependency from Raster constructorKonstantin Käfer2016-06-221-1/+2
|
* [core] Avoid redundant 'inline' usageBruno de Oliveira Abinader2016-06-181-1/+1
|
* [tidy/linux] modernize-use-defaultBruno de Oliveira Abinader2016-06-141-3/+2
|
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-131-2/+2
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* Merge branch 'release-android-v4.1.0'Brad Leege2016-06-091-3/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BaseMarkerViewOptions.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerView.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerViewManager.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/NativeMapView.java # platform/android/src/jni.cpp # src/mbgl/geometry/buffer.hpp # src/mbgl/geometry/glyph_atlas.cpp # src/mbgl/geometry/glyph_atlas.hpp # src/mbgl/geometry/line_atlas.cpp # src/mbgl/geometry/vao.cpp # src/mbgl/gl/gl_object_store.cpp # src/mbgl/gl/gl_object_store.hpp # src/mbgl/renderer/frame_history.cpp # src/mbgl/shader/shader.cpp # src/mbgl/sprite/sprite_atlas.cpp # src/mbgl/sprite/sprite_atlas.hpp # src/mbgl/text/glyph_pbf.hpp
| * [android] #5254 - fix ARMv5 supportThiago Marcos P. Santos2016-06-061-3/+2
| | | | | | | | Backported patches fixing ARMv5 support for issue #3985.
* | [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-2/+5
| |
* | [core] Runtime style layer APIJohn Firebaugh2016-06-021-2/+2
| |
* | [core] s/GLObjectStore/ObjectStore/Bruno de Oliveira Abinader2016-06-011-2/+2
|/
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] move Painter and dependents to new *TileID classesKonstantin Käfer2016-05-101-2/+2
|
* [core] do not call glStencilFunc when we're not clippingKonstantin Käfer2016-04-061-0/+2
|
* [core] Thread GLObjectStore through to Holder objectsJohn Firebaugh2016-02-181-1/+5
| | | | | | This eliminates the reliance on ThreadContext to provide GLObjectStore, and statically enforces that GL cleanup functions happen only when GLObjectStore::performCleanup is called. With the elimination of the Map thread, this becomes important because there may be multiple GLObjectStore's per-thread, and Map will need to ensure that the correct context is active when calling GLObjectStore::performCleanup.
* [core] move platform/gl.hpp to gl/gl.hppKonstantin Käfer2016-02-081-1/+1
|
* [core] use `default` instead of empty function bodyKonstantin Käfer2015-12-031-1/+1
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-031-1/+1
|
* [core] Polymorphic bucket creationJohn Firebaugh2015-10-301-1/+1
|
* [core] reparse tiles when new data arrivesKonstantin Käfer2015-10-261-0/+2
| | | | We're now reparsing tiles when they expire. We're also swapping out buckets atomically to avoid flickering data; i.e. we're displaying the old data as long as we don't have a new parsed bucket for that layer yet. The parsed buckets now live in the *TileData objects rather than in the TileWorker; only partially parsed == pending buckets will remain in the TileWorker. Once they're parsed, they're moved to the *TileData object.
* [shader] bind() is now a pure virtualBruno de Oliveira Abinader2015-09-141-1/+3
| | | | | - Shader::bind() now receives a GLbyte* - BUFFER_OFFSET now uses GLbyte
* Merge branch 'master' into perspective-without-y-flipMinh Nguyễn2015-08-251-1/+5
|\
| * Make Bucket::uploaded an atomic boolBruno de Oliveira Abinader2015-08-251-1/+5
| | | | | | | | | | This class is called from multiple threads, so we better make this synchronization flag atomic.
* | port minor collision code cleanup, fix #1705Ansis Brammanis2015-08-241-1/+2
|/ | | | https://github.com/mapbox/mapbox-gl-js/pull/1261
* Cleaned up #defines for BUFFER_OFFSETBruno de Oliveira Abinader2015-06-181-0/+2
|
* redo placement when map rotatesAnsis Brammanis2015-05-201-0/+3
|
* fix needsUpload()Konstantin Käfer2015-05-041-1/+1
|
* rename prepare => upload and determine passes per layer instead of per bucketKonstantin Käfer2015-05-041-11/+5
|
* add prepare() functionKonstantin Käfer2015-05-041-0/+21
|
* remove hasData() from Bucket interfaceKonstantin Käfer2015-05-041-1/+0
|
* Tile::ID ⇢ TileIDJohn Firebaugh2015-04-061-5/+3
| | | | This allows making both Tile and TileID private.
* pass StyleLayer objects as const ref instead of a shared pointerKonstantin Käfer2015-03-061-1/+2
|
* make most headers privateKonstantin Käfer2014-12-041-0/+24