summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/types.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] move BufferUsage enum to gfx namespaceKonstantin Käfer2019-03-061-6/+0
|
* [core] make vertex descriptors constexprKonstantin Käfer2019-03-061-10/+0
|
* [core] move draw mode and primitives to gfx namespaceKonstantin Käfer2019-03-011-10/+0
|
* [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-151-0/+9
| | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
* [core] Add comments explaining typing of AttributeLocation and UniformLocationJohn Firebaugh2017-07-121-0/+8
|
* [core] Reduce memory requirements of VertexArraysJohn Firebaugh2017-07-121-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] add static asserts for more gl constantsAnsis Brammanis2017-07-111-1/+1
| | | | and rename BufferUsageType to BufferUsage
* [core] improve legibility of labels that follow linesAnsis Brammanis2017-07-111-0/+6
| | | | | | | | | | 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] verify that the active uniform types match our assumed typesKonstantin Käfer2017-06-131-0/+20
|
* [core] glPixelStorei is in OpenGL ES 2John Firebaugh2017-06-131-4/+0
|
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-271-0/+5
|
* [core] cache binary shaders on AndroidKonstantin Käfer2017-03-221-0/+2
|
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-021-10/+0
|
* [core] Introduce gl::Program templateJohn Firebaugh2016-11-081-0/+5
|
* [core] move framebuffer reading to gl::ContextKonstantin Käfer2016-11-041-0/+4
|
* [core] add state tracking to pixel store packing alignmentKonstantin Käfer2016-11-041-0/+12
|
* [core] convert LineAtlas to use managed texture handlingKonstantin Käfer2016-11-011-0/+1
|
* [core] add ability to upload alpha-only textures + imagesKonstantin Käfer2016-11-011-0/+4
|
* [core] Modern C++ bindings for OpenGLJohn Firebaugh2016-10-281-75/+8
|
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-251-0/+5
|
* [core] Improve attribute binding APIJohn Firebaugh2016-10-051-0/+21
|
* [core] remove Raster object in favor of a more low-level Texture objectKonstantin Käfer2016-10-041-0/+3
|
* [core] remove dependence on gl.h typesKonstantin Käfer2016-09-291-0/+82
|
* [core] introduces types for GL objectsKonstantin Käfer2016-09-291-0/+17