summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/raster_program.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] remove a_/u_ prefix from attribute/uniform typesKonstantin Käfer2019-03-201-24/+24
|
* Merge pull request #14126 from mapbox/gfx-refactor-4Konstantin Käfer2019-03-151-5/+4
| | | Graphics refactor #4
* [core] add texture bindings to draw call instead of Context member fnKonstantin Käfer2019-03-121-5/+4
|
* [core] add place for specifying textures/samplers separately from uniformsKonstantin Käfer2019-03-121-0/+1
|
* [core] move draw mode and primitives to gfx namespaceKonstantin Käfer2019-03-011-1/+1
|
* [core] extract attribute structs and gl::Vertex to separate namespaceKonstantin Käfer2019-03-011-1/+1
|
* [core] extract uniform type lists from gl namespaceKonstantin Käfer2019-03-011-3/+3
|
* [core] Split layer type specific code in mbgl::ProgramsMikhail Pozdnyakov2019-01-111-0/+7
| | | | | | | | | | | Progams code for a certain layer type is encapsulted within a dedicated `<layer type>Programs` class, inherited from the generic base `LayerTypePrograms` class. `mbgl::Programs::get<layer type>Programs()` lazily initializes the layer type-specific programs code using pointer to the base class, which allows LTO to remove this code from binaries (if the corresponding `get<layer type>Programs()` method can never be invoked).
* [core] Check in generated shader codeJohn Firebaugh2017-02-071-1/+1
| | | | One step toward eliminating the node/npm dependency for platforms other than node.
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-021-13/+14
|
* [core] Update gl-js for shader changeJohn Firebaugh2016-12-231-4/+3
|
* [core] Introduce SegmentVectorJohn Firebaugh2016-11-151-3/+5
|
* [core] Use gl::Program to resolve some rough edges in the GL binding typesJohn Firebaugh2016-11-081-0/+1
| | | | | | | | | * Extract `ignore` util to separate header. * `Segment` now tracks offset and length of indices, rather than primitives. This is more natural. * Introduce `VertexVector` and `IndexVector` types. These types carry information about the intended draw mode (`Triangles`, `LineStrip`, etc.), and ensure that elements are always appended in a group size appropriate for that draw mode, for both indexed and unindexed rendering. * `Program`, rather than `Drawable`, is now the unifying object for draw calls. `Program` is the best place to type check the draw call, because it is typed to carry information about the intended primitive, vertex type, attributes, and uniforms. * Use the debug shaders for debug tile rendering, like gl-js. * Fix the draw mode for background. It was drawing triangle strips with a triangles array. Surprised this didn’t cause issues. Now it’s type checked.
* [core] Introduce gl::Program templateJohn Firebaugh2016-11-081-0/+65