summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/layers/render_custom_layer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Remove ImageManager from upload parametersMikhail Pozdnyakov2019-06-041-0/+3
|
* [core] RenderLayer::render(PaintParameters, RenderSource*) -> ↵Mikhail Pozdnyakov2019-05-221-1/+1
| | | | render(PaintParameters)
* [core] Use `style::LayerProperties` in render layers, buckets and layouts.Mikhail Pozdnyakov2019-04-171-7/+9
|
* [core] clang-tidy fixesKonstantin Käfer2019-04-051-1/+1
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-051-2/+3
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-051-3/+3
|
* [core] prefer static_cast for casts to derived classesKonstantin Käfer2019-04-051-1/+1
|
* [core] remove gl/context.hpp from more files, cast where necessaryKonstantin Käfer2019-03-201-1/+2
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-1/+1
|
* [core] move CullFaceMode to gfx namespaceKonstantin Käfer2019-03-011-1/+1
|
* [core] move StencilMode to gfx namespaceKonstantin Käfer2019-03-011-1/+1
|
* [core] move DepthMode to gfx namespaceKonstantin Käfer2019-03-011-1/+1
|
* [core] extract attribute structs and gl::Vertex to separate namespaceKonstantin Käfer2019-03-011-0/+1
|
* [core] Layer manager is responsible for buckets and layouts creationMikhail Pozdnyakov2019-02-251-5/+0
| | | | This is a step to stop using of render layers in tile worker thread.
* [core] Switch to the new OpenGL abstractionThiago Marcos P. Santos2019-02-121-3/+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`.
* [core] Move markContextDestroyed() to the RenderLayerAlexander Shalamov2018-11-191-0/+4
|
* [core] Add face culling mode parameter to Program::drawBruno de Oliveira Abinader2018-09-131-0/+1
| | | | | | Add a parameter to Program::draw to control whether face culling should be enabled. This will be used in a follow up commit to enable face culling for fill extrusion layers.
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-311-0/+3
| | | | expressions in `*-pattern` properties
* [core] Add Projection matrix to CustomLayerRenderParameters to transform web ↵Asheem Mamoowala2018-04-051-0/+4
| | | | mercator world coordinates to GL coordinates.
* Use a host interface for CustomLayer instead of function pointers (#11553)Asheem Mamoowala2018-04-021-16/+13
| | | | | | Use a host interface for CustomLayer instead of function pointers Co-authored-by: Julian Rex <julian.rex@mapbox.com>
* [core] check opengl error state after custom layer invocationsIvo van Dongen2018-03-011-3/+4
|
* Fix CustomLayer context retain count (#10765)Asheem Mamoowala2017-12-201-8/+13
| | | | | | * [core] RenderCustomLayer should de-initialize old context * [iOS, macOS] Use toll-free bridging to retain/release MGLOpenGLStyleLayer instead of a separate array.
* [core] custom layer - add contextLost callbackIvo van Dongen2017-09-221-2/+6
| | | | - optional callback method that can be used to do cleanup when the context has been lost before re-initialisation
* [core] send signal to RenderCustomLayer when gl context has been lostIvo van Dongen2017-09-221-1/+1
| | | | - Prevents cleaning up of GL resources that no longer exist, resulting in a crash
* [all] Merge View into RendererBackendJohn Firebaugh2017-07-261-2/+2
|
* [core] Refactor Painter awayJohn Firebaugh2017-07-191-7/+8
|
* [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] Refactor CustomLayer internalsJohn Firebaugh2017-06-221-5/+53
| | | | Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
* [core] Move renderer/* files into sub-folders (#8983)Asheem Mamoowala2017-05-121-0/+28
Move renderer/* files into sub-folders