summaryrefslogtreecommitdiff
path: root/test/gl
Commit message (Collapse)AuthorAgeFilesLines
* Enable 'circle-sort-key' layout propertyAndrew Hay Kurtz2020-04-141-1/+6
|
* Enable parse within expressionzmiao2020-02-121-10/+30
| | | | Add geometry type checker
* [core] sort symbols using symbol-sort-key before placement (#16023)Ansis Brammanis2020-02-111-0/+2
| | | | fix #15964 partially port mapbox/mapbox-gl-js#9054
* [build] Adding a build flag to build without GL if needed (#16120)Thomas Moenicke2020-02-031-8/+8
| | | | | | * [build] Adding a build flag to build without GL if needed * [build] Moving custom layer to mbgl/gl
* [core] Enable 'line-sort-key' and 'fill-sort-key' layout properties (#15839)Andrew Hay Kurtz2019-12-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Generate style code for 'line-sort-key' and 'symbol-sort-key' - Add new layout properties to FillLayer::Impl, FillBucket, and FillLayerFactory - Fix consistency of paint and layout properties type alias usage in FillBucket, LineBucket - Add optional feature sorting to fill and line Layout creation - Enable node render tests for fill-sort-key and line-sort-key - Fix FillBucket test construction - Prefer emplace_back to push_back for PatternFeature container - Fix buggy static_cast for PatternFeature indices - Maintain sort of features as they are created - Switch pattern layout features container to list from vector for better insert performance - Fix formatting expected by sanity check - Use subclass PatternLayoutSorted to work around lack of template functions - Fix to retain source order for features with equivalent sort keys during sorting - [core] Fix clang-format - [core] Address review comments - [core] Pass inserting strategy class at compile time - [core] Use sorted strategy only if sort key is defined in layout - [core] Update style generator - [core] Merge PatternLayout and PatternLayoutSorted classes - Use static methods for inserter strategies - Merge PatternLayout and PatternLayoutSorted classes
* [core] Use new 'SymbolTextAndIcon' program to draw icons in textAlexander Shalamov2019-12-021-1/+13
|
* [render-test] Implement gfx probe for tracking gpu resourcesMikko Pulkki2019-10-301-1/+1
|
* [render-test] Implement fps benchmarking tests (#15803)Mikko Pulkki2019-10-221-2/+3
|
* [build] Fix clang format and tidy checksJuha Alanen2019-09-181-5/+10
|
* [tests] Update bucket unit test for feature stateJuha Alanen2019-09-181-5/+5
|
* [core] fix collisionBox alignment when Icon/text translation is enabled (#15467)zmiao2019-08-301-1/+4
| | | | | | | | | | | | | | | | | | * add initial fix * fix bug for collision circle * refind code structure * fix indentation * update test * refind code structure * Add changelog * Add comment for boolean
* [core] Remove programCacheDir parameter from ProgramParametersAnder Conselvan de Oliveira2019-08-271-1/+1
| | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore.
* [core] fix mixed sdf + non-sdf icon rendering in one layer (#15456)zmiao2019-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] fix icon symbol rendring when sdf and non-sdf icon in the same symbol layer * fix build error * fix typo * revert renderableSegment change * simplify codes * fix build error * refine sdf icon flag * [core] fix mixed sdf + non-sdf icon rendering in one layer * remove iconstatus getter in stymbol bucket * fix review findings * provide bitwise operator for SymbolContent enum * use MBGL_MBGL_CONSTEXPR * add one missing update for sdfIcon * make renderer symbol type as enum
* [core] Update unit testsAlexander Shalamov2019-08-131-1/+1
|
* [core] GeometryCollection must not be implicitly copiedMikhail Pozdnyakov2019-07-241-1/+1
|
* [core] Symbol bucket uses shared layoutMikhail Pozdnyakov2019-07-221-2/+2
| | | | sizeof(SymbolBucket): 2296 -> 1024
* [core] refactor program object creationKonstantin Käfer2019-05-281-0/+4
|
* [core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692)Aleksandar Stojiljkovic2019-05-211-1/+1
| | | | | Refactor out HeadlessFrontend and HeadlessBackend gl independent code to gfx. Define gl::HeadlessBackend as subclass, instantiated by gfx::HeadlessBackend static factory method. GL dependent tests are still using gl::HeadlessBackend directly (not through gfx).
* [core] add gfx::UploadPass, split startRender into prepare and uploadKonstantin Käfer2019-05-151-5/+15
|
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-5/+2
| | | | | | | | | | - Do not carry it over everywhere as parameter, it is a shared instance anyway and the lifecycle is pretty much the app lifecycle from the moment we instantiate a map. - Rename to BackgroundScheduler because it is a Scheduler that will do tasks in the background, we don't make assumptions if it is a thread pool or a single thread. - Most importantly, remove the dependency from `core` on `platform`.
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-051-1/+1
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-053-13/+14
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-053-9/+10
|
* [core] Introduce variable text placement for point labels - Layout partMikhail Pozdnyakov2019-03-291-1/+1
|
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-281-3/+2
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-281-2/+2
|
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-201-4/+4
|
* Merge pull request #14126 from mapbox/gfx-refactor-4Konstantin Käfer2019-03-151-1/+1
| | | Graphics refactor #4
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-1/+1
|
* [core] move Texture to the gfx namespaceKonstantin Käfer2019-03-121-1/+1
|
* [core] Add MapOptions to define properties of MapSudarsana Babu Nagineni2019-03-081-1/+3
| | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map.
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-1/+1
|
* [core] extract attribute structs and gl::Vertex to separate namespaceKonstantin Käfer2019-03-011-2/+2
|
* [core] Layer manager is responsible for buckets and layouts creationMikhail Pozdnyakov2019-02-251-1/+1
| | | | This is a step to stop using of render layers in tile worker thread.
* [tests] Add unit tests for the GLFunctionsThiago Marcos P. Santos2019-02-121-0/+158
|
* [core] Switch to the new OpenGL abstractionThiago Marcos P. Santos2019-02-121-1/+3
| | | | | | This patch will make Mapbox GL Core never use OpenGL directly. We should consider locking into OpenGL ES 2.0 to simplify the code path and remove #ifdefs.
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-271-1/+1
| | | | | | | | `LayerManager` is now responsible for `RenderLayer` instances creation, so that there is a single entry point for creating of objects, which correspond to a certain layer type. The `LayerType type` field is dropped from `Layer::Impl`.
* Remove style::Layer::is()/as()Mikhail Pozdnyakov2018-10-311-1/+3
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-311-7/+9
| | | | expressions in `*-pattern` properties
* [core] Only run placement for first layer per SymbolBucketChris Loer2018-05-031-1/+2
| | | | | | | | | Native version of mapbox/mapbox-gl-js#6548. Port of mapbox/mapbox-gl-js#6550. Prevents symbols that share the same layout properties from colliding against each other. Bump GL JS pin to get regression test. Rename "bucketName" -> "bucketLeaderID" to make it clearer what it represents.
* [core] Split MapMode::Still into Static and TileAnsis Brammanis2017-11-172-4/+4
| | | | | `Tile` makes sure the symbols in the resulting tile are tileable while symbols in `Still` match rendering in `Continuous` mode.
* [core] Update unit tests for viewport collision.Chris Loer2017-11-171-1/+3
| | | | Add 'GridIndex' unit test.
* [test] Added GLContextMode.Shared utestBruno de Oliveira Abinader2017-11-011-0/+114
|
* [tests] Create a HeadlessBackend for tests using gl::ContextThiago Marcos P. Santos2017-10-251-0/+17
| | | | Qt needs a valid surface before doing any OpenGL call.
* [core] modify texture coordinate scaling (#9153)Molly Lloyd2017-07-271-31/+31
| | | | | | | | | ignore unsupported dds property tests fix tests remove unneeded texture extent variable bump gl-js to master
* [node, tests] Consolidate headless rendering logic in HeadlessFrontendJohn Firebaugh2017-07-261-4/+1
|
* [core] generate masks for raster tiles to avoid painting over childrenKonstantin Käfer2017-07-241-0/+159
|
* [test] allow only a single shared display to avoid egl errorsIvo van Dongen2017-07-181-1/+1
|
* [core] rename backend to renderer backendIvo van Dongen2017-07-181-1/+1
|
* [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵Asheem Mamoowala2017-07-171-1/+1
| | | | and ImageSource, un-premultiply in the shader for blending