summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer
Commit message (Collapse)AuthorAgeFilesLines
* [core] Merge TexturePool into ObjectStore; pool all textures (#5477)John Firebaugh2016-06-2714-23/+18
|
* [core] remove TexturePool dependency from Raster constructorKonstantin Käfer2016-06-2214-27/+29
|
* [core] s/Wireframe/Overdraw/gBruno de Oliveira Abinader2016-06-208-17/+17
|
* [core] Refactor wireframe to match JS overdraw modeBruno de Oliveira Abinader2016-06-208-47/+31
|
* [core] Avoid redundant 'inline' usageBruno de Oliveira Abinader2016-06-182-3/+3
|
* [core] Cleaned up enum classesBruno de Oliveira Abinader2016-06-181-5/+5
| | | | | - Replaced static_cast with C++ casts. - Replaced inline with constexpr.
* [core] Runtime source API: private implsJohn Firebaugh2016-06-161-2/+3
|
* [core] Update test suite; use linear interpolation for rotated iconsJohn Firebaugh2016-06-151-0/+2
|
* [core] Prepare Filter and FilterEvaluator for extraction (#5366)John Firebaugh2016-06-151-3/+1
|
* Support for icon-text-fit, icon-text-fit-padding (#5334)Young Hahn2016-06-151-1/+1
| | | | | | | | | | * Add support for icon-text-fit * Port unit tests for getIconQuads() from js => cpp * Add support for padding in all 4 directions. * Update all hashes post-merge
* [core] Add a few conveniences to ColorJohn Firebaugh2016-06-156-9/+9
|
* [core] Removed duplicated code in circle shader blurBruno de Oliveira Abinader2016-06-151-7/+1
| | | | Antialiased blur calculation now happens inside the vertex shader code.
* [core] Fix sublayer depth when drawing strokeBruno de Oliveira Abinader2016-06-151-1/+13
| | | | Port from -js: https://github.com/mapbox/mapbox-gl-js/commit/002c69071275997886fd98aa4dbc6025eed36a86
* [core] Cleaned up Painter::render{Background,Fill}Bruno de Oliveira Abinader2016-06-152-62/+53
|
* [core] Separate pattern size from draw-time variablesBruno de Oliveira Abinader2016-06-152-74/+29
| | | | Part of https://github.com/mapbox/mapbox-gl-shaders/issues/1.
* Color class (#5361)Young Hahn2016-06-157-13/+14
| | | | | | * Color class * Switch to list initialization
* [tidy/linux] modernize-use-defaultBruno de Oliveira Abinader2016-06-141-3/+2
|
* [core] Add Source::startRender for parallelism with finishRenderJohn Firebaugh2016-06-141-5/+1
|
* [tidy] Check modernize-use-defaultBruno de Oliveira Abinader2016-06-131-2/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-default.html
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-133-7/+5
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-1315-19/+19
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* [core] *Tile ↔ *TileDataJohn Firebaugh2016-06-139-25/+25
| | | | Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
* [core] Tile ⇢ RenderTileJohn Firebaugh2016-06-136-8/+39
|
* [core] Update line-pattern shader code/testsBruno de Oliveira Abinader2016-06-131-2/+2
| | | | | | | | | Refs: - mapbox-gl-test-suite: https://github.com/mapbox/mapbox-gl-test-suite/pull/107 - mapbox-gl-shaders: https://github.com/mapbox/mapbox-gl-shaders/pull/17 - mapbox-gl-js: https://github.com/mapbox/mapbox-gl-js/pull/2724 Part of https://github.com/mapbox/mapbox-gl-shaders/issues/1.
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-132-2/+2
|
* text-pitch-alignment (#5288)Young Hahn2016-06-103-20/+34
| | | | | | | | | | | | * First pass at port of https://github.com/mapbox/mapbox-gl-js/pull/2668 * RotationAlignmentType => AlignmentType * Handle undefined default value for text-pitch-alignment and implement inheritance for this value from text-rotation-alignment * Update dependencies * Move handling fo undefined default value out of camelize functions
* [core] Renamed OutlineShader's color uniformBruno de Oliveira Abinader2016-06-071-2/+2
| | | | Part of https://github.com/mapbox/mapbox-gl-shaders/issues/8.
* [core] remove unused codeKonstantin Käfer2016-06-071-11/+0
|
* [core] Naive atomic type for ARMv5Thiago Marcos P. Santos2016-06-061-3/+2
| | | | | | | std::atomic<bool> is implemented lock free which doesn't work on ARMv5 and seems like the compiler is generating bogus code. This workaround is a naive implementation using regular mutexes.
* [core] Move RenderData alongside RenderItemJohn Firebaugh2016-06-022-3/+40
|
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-0220-76/+127
|
* [core] Runtime style layer APIJohn Firebaugh2016-06-0219-33/+38
|
* [core] Use unique_resource for GL objectsBruno de Oliveira Abinader2016-06-012-6/+7
| | | | | | | | | Source: https://github.com/okdshin/unique_resource These replace the complexity of manually handling moveable-RAII objects with a type specific for that purpose. As suggested in https://github.com/mapbox/mapbox-gl-native/pull/5141#issuecomment-221719872.
* [core] s/GLObjectStore/ObjectStore/Bruno de Oliveira Abinader2016-06-0125-138/+138
|
* [core] Update sdf shader codeBruno de Oliveira Abinader2016-06-013-25/+16
| | | | | Ported the following patch: - [convert mat4 exMatrix to a vec2 extrudeScale](https://github.com/mapbox/mapbox-gl-shaders/commit/a8d549b7a41540d3a99767975ff1b7b18a6010e9)
* [core] Update icon shader codeBruno de Oliveira Abinader2016-06-012-24/+12
| | | | | Ported the following patch: - [convert mat4 exMatrix to a vec2 extrudeScale](https://github.com/mapbox/mapbox-gl-shaders/commit/a8d549b7a41540d3a99767975ff1b7b18a6010e9)
* [core] Don't earcut more than 500 inner ringsYoung Hahn2016-05-311-1/+4
|
* [core] Replace clipper and libtess with earcut.hppJohn Firebaugh2016-05-312-167/+50
|
* [core] Update circle shader codeBruno de Oliveira Abinader2016-05-313-3/+8
| | | | | | | Ported the following patches: - [convert mat4 exMatrix to a vec2 extrudeScale](https://github.com/mapbox/mapbox-gl-shaders/commit/a8d549b7a41540d3a99767975ff1b7b18a6010e9) - [Enabled data-driven styling for circle-radius](https://github.com/mapbox/mapbox-gl-shaders/commit/4356e41fa657837904d189e604468617ee601ddb) - [Reduce shader boilerplate, refactor "Bucket"](https://github.com/mapbox/mapbox-gl-shaders/commit/7d3da8f1914954fd96f305b7116cfd127a616551)
* [core] Fill the initial `changeTimes` with the reference timestamp of the ↵Thiago Marcos P. Santos2016-05-271-1/+1
| | | | | | | | | | first frame On the Javascript implementation the array is automatically filled with zeroes which is not the same thing as `TimePoint::min()`. Here we need to get our own "zero" which is the timestamp of the first frame. Fixes #5109
* [core] s/operator bool/created()/ in {GL,TexturePool}HolderBruno de Oliveira Abinader2016-05-261-2/+2
| | | | Prevents confusing usage of GL holder objects.
* [core] Port "combine line-width and line-gap-width in shader"John Firebaugh2016-05-251-20/+9
| | | | | https://github.com/mapbox/mapbox-gl-shaders/commit/a9559e911b11a155135888f733a96e5110f8cef6 https://github.com/mapbox/mapbox-gl-js/commit/fcb9bcebae6e00f24ebfde8d7ec09adb95f6b1a3
* [core] Port "separate u_opacity from u_color"John Firebaugh2016-05-255-52/+18
| | | | | https://github.com/mapbox/mapbox-gl-shaders/commit/0d3412519618a3a1672db9fa21f96f90070cf84c https://github.com/mapbox/mapbox-gl-js/commit/1f5afa7db08a2bdcc492a46e500ff5d020e6f4a2
* [core] box_shader ⇢ collision_box_shaderJohn Firebaugh2016-05-253-3/+3
|
* [core] Remove unused dot shaderJohn Firebaugh2016-05-253-5/+0
|
* [core] rename TileData::State to DataAvailability and make it privateKonstantin Käfer2016-05-253-10/+19
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-2511-44/+11
|
* [core] Move GLFW stencil clip debug to coreBruno de Oliveira Abinader2016-05-243-0/+46
| | | | | | This makes the stencil clip debug available to all platforms. Fixes #4669.
* [core] move RenderItem and GlyphRange to their own headersKonstantin Käfer2016-05-231-1/+1
|
* [core] Restore default texture unitThiago Marcos P. Santos2016-05-231-0/+1
| | | | Play nice with the GL context when we are sharing it.