summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/layers
Commit message (Collapse)AuthorAgeFilesLines
* [core] fix rendering of fill outlines that have a different color than the ↵Konstantin Käfer2017-08-071-30/+22
| | | | fill itself
* [all] Merge View into RendererBackendJohn Firebaugh2017-07-262-4/+4
|
* [core] generate masks for raster tiles to avoid painting over childrenKonstantin Käfer2017-07-241-4/+13
|
* [core] Refactor Painter awayJohn Firebaugh2017-07-1916-187/+186
|
* [core] Move extrusion rendering to RenderFillExtrusionLayerJohn Firebaugh2017-07-191-0/+39
|
* [core] Inline Painter::renderSymbolJohn Firebaugh2017-07-191-8/+195
|
* [core] Inline Painter::renderLine and RenderImageSource::renderJohn Firebaugh2017-07-191-10/+100
|
* [core] Inline Painter::renderLineJohn Firebaugh2017-07-191-7/+78
|
* [core] Inline Painter::renderFillExtrusionJohn Firebaugh2017-07-191-8/+77
|
* [core] Inline Painter::renderFillJohn Firebaugh2017-07-191-8/+134
|
* [core] Inline Painter::renderCircleJohn Firebaugh2017-07-191-7/+46
|
* [core] Inline Painter::renderBackgroundJohn Firebaugh2017-07-191-1/+74
|
* [core] Eliminate Bucket::renderJohn Firebaugh2017-07-1913-11/+103
|
* [core] rename backend to renderer backendIvo van Dongen2017-07-181-1/+1
|
* [core] Rework attribute binding (again)John Firebaugh2017-07-121-1/+1
| | | | | | | | | | These changes are necessary for programs whose set of active attributes is not fixed at compile time by a template parameter pack, but rather varies based on the generated shader text at runtime. In such cases, the attribute location of a given named attribute may vary between instances of the same Program. Previously, attribute bindings were implicitly associated with a location based on template parameter order, and -1 was used to indicate an inactive attribute. This left us unable to disable the appropriate attribute when it went from active to inactive. Now, the state tracker for bindings explicitly associates locations and state, and an empty optional is used to indicate an inactive attribute. In addition, a gl::VertexArray class is now exposed, allowing more flexibility in the relationship between Programs, Segments, and attribute bindings. In this commit, that relationship does not change, but the subsequent commit adjusts it to match gl-js, reduce rebinds, and work around buggy VAO implementations. VertexArray uses a pimpl idiom in order to support implementations that lack the VAO extension. In that case, all VertexArrays share global binding state, reflecting the platform reality in the absence of VAOs, while still providing a uniform API.
* [core] Update shaders.Chris Loer2017-07-121-1/+1
| | | | | Implements 'icon-pitch-alignment' (issue #9345) Fixes issue #9456 (map-aligned point label regression)
* [core] improve legibility of labels that follow linesAnsis Brammanis2017-07-112-0/+3
| | | | | | | | | | port https://github.com/mapbox/mapbox-gl-js/pull/4781 This improves legibility of labels that follow lines in pitched views. The previous approach used the limited information in the shader to calculate put the glyph in approximatelyright place. The new approach does this more accurately by doing it on the cpu where we have access to the entire line geometry.
* [core] Set "max_camera_distance" to 1.5 for viewport-aligned road labels.Chris Loer2017-07-112-2/+18
| | | | Viewport-aligned curved labels start to look very strange in the distance. Until we have a better system for projecting them, just prevent them from showing.
* [core] Don't transition new layers on a setStyle operationJohn Firebaugh2017-06-267-16/+22
|
* [core] Refactor CustomLayer internalsJohn Firebaugh2017-06-222-6/+58
| | | | Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
* [core] retain GeometryTileLayer in SymbolLayoutKonstantin Käfer2017-06-212-4/+7
| | | | We're storing GeometryTileFeature objects in SymbolLayout, but they may reference data in GeometryTileLayer, which could go away if we don't retain it.
* [core] Enable property functions for line-width (#9250)Lauren Budorick2017-06-192-10/+19
|
* [core] Remove unused SymbolPropertyValues membersJohn Firebaugh2017-06-142-10/+0
|
* [core] Per-bucket icon atlasesJohn Firebaugh2017-06-132-4/+4
|
* [core] Merge RenderLayer::uploadBuckets into RenderSource::startRenderJohn Firebaugh2017-06-132-12/+1
|
* [core] Add templated RTTI for RenderSource classesAsheem Mamoowala2017-06-011-4/+4
|
* [core] Use fixed-size std::array for ImageSource coordinatesAsheem Mamoowala2017-06-011-15/+4
|
* [core] Render Image SourceAsheem Mamoowala2017-06-012-0/+39
|
* [core] cascade ⇢ transition / cascading ⇢ transitionableJohn Firebaugh2017-05-1515-22/+22
|
* [core] Unify {Paint,Layout,Light}PropertiesJohn Firebaugh2017-05-158-15/+15
|
* [core] *LayerImpl::cascading ⇢ paintJohn Firebaugh2017-05-157-7/+7
|
* [core] Move renderer/* files into sub-folders (#8983)Asheem Mamoowala2017-05-1216-0/+865
Move renderer/* files into sub-folders