summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/paint_property_binder.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [build] Fix clang format and tidy checksJuha Alanen2019-09-181-34/+42
|
* [core] Add feature state support to bucket classesJuha Alanen2019-09-181-10/+109
|
* [core] Remove unused PaintPropertyBinders::constants()Mikhail Pozdnyakov2019-07-021-12/+0
|
* [core] Check if pattern dependencies or pattern positions are missingAlexander Shalamov2019-05-201-8/+18
| | | | | Add check for optional pattern dependencies and don't bind empty vertex buffers if pattern positions are missing.
* [core] add gfx::UploadPass, split startRender into prepare and uploadKonstantin Käfer2019-05-151-13/+14
|
* [core] Pass crossfade parameters by const referenceMikhail Pozdnyakov2019-04-051-7/+7
|
* [core] don't access empty texture pos optionals when buckets are out of syncKonstantin Käfer2019-03-271-1/+1
|
* [core] move ProgramMap to within the gl::Program objectKonstantin Käfer2019-03-201-27/+0
|
* [core] use constexpr string concatenation for uniform/attribute namesKonstantin Käfer2019-03-201-6/+9
|
* [core] remove a_/u_ prefix from attribute/uniform typesKonstantin Käfer2019-03-201-4/+4
|
* Merge pull request #14126 from mapbox/gfx-refactor-4Konstantin Käfer2019-03-151-24/+21
| | | Graphics refactor #4
* [core] Add possibility of overriding paint properties inside format ↵Alexander Shalamov2019-03-131-14/+22
| | | | | | | | | | | | | | | | | | expression #14062 * [core] Add format override expression and formatted section to evaluation context * [core] Add textColor to TaggedString's formatted section * [core] Add FormatSectionOverrides and introduce overridable properties * [core] Populate symbol layer paint properties for text sections * [core] Add benchmark for style that uses text-color override * [core] Add unit test for FormatOverrideExpression * [core] Add unit test for FormatSectionOverrides
* [core] introduce gfx::Context and move Buffer creation/update methods to itKonstantin Käfer2019-03-061-8/+8
|
* [core] move VertexBuffer<> to gfx namespaceKonstantin Käfer2019-03-061-5/+5
|
* [core] unify *Buffer/Vector namingKonstantin Käfer2019-03-061-4/+4
|
* [core] make vertex descriptors constexprKonstantin Käfer2019-03-061-16/+15
|
* [core] move VertexVector/IndexVector to gfx namespaceKonstantin Käfer2019-03-061-5/+5
|
* [core] extract attribute structs and gl::Vertex to separate namespaceKonstantin Käfer2019-03-011-27/+39
|
* [core] rename gl::AttributeType to gl::Attribute to free up the nameKonstantin Käfer2019-03-011-1/+1
|
* [core] extract uniform type lists from gl namespaceKonstantin Käfer2019-03-011-5/+8
|
* [core] remove Tag from gl::UniformKonstantin Käfer2019-03-011-1/+1
|
* [core] prevent crash when expression for pattern evaluates to "" (#12896)Molly Lloyd2018-09-181-2/+11
| | | when a source-expression like `["get", "property"]` evaluates to null and the default pattern value (empty string) is used, make sure attribute buffers get populated to avoid crashing the app
* [core] remove redundant Uniform::Type aliasMolly Lloyd2018-08-311-1/+1
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-311-71/+243
| | | | expressions in `*-pattern` properties
* [core] move PaintProperty::Attribute to TypeList and pass to Binder constructorsKonstantin Käfer2018-08-311-3/+16
|
* [core] allow passing multiple AttributeTypes to a PaintPropertyBinderKonstantin Käfer2018-08-311-9/+9
|
* [core] rename gl::Attribute to gl::Attribute to remove overloaded namingKonstantin Käfer2018-08-311-7/+7
|
* [core] simplify attribute/location typesKonstantin Käfer2018-08-311-13/+4
|
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-201-16/+17
|
* Implement Expressions (#9439)Anand Thakker2017-11-081-6/+5
| | | Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)
* [core] Rework attribute binding (again)John Firebaugh2017-07-121-7/+8
| | | | | | | | | | 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] Enable property functions for line-width (#9250)Lauren Budorick2017-06-191-1/+5
|
* [core] Fix composite function approximation for non-integer stopsJohn Firebaugh2017-06-161-5/+5
|
* [core] Eliminate constant attribute bindingsJohn Firebaugh2017-06-141-15/+6
| | | | Rather than binding constant attributes that will never be used, just disable the attribute.
* [core] Dynamic program compilation for data-driven propertiesJohn Firebaugh2017-06-131-17/+43
|
* [core] add constant DDS values as uniformsKonstantin Käfer2017-06-131-2/+21
|
* [core] Unify {Paint,Layout,Light}PropertiesJohn Firebaugh2017-05-151-0/+1
|
* [core] Move render-related sources out of style directory/namespaceJohn Firebaugh2017-05-031-0/+330
Moves the following to the renderer directory and out of the style namespace: * CascadeParameters * PropertyEvaluationParameters * UpdateParameters * PropertyEvaluator * DataDrivenPropertyEvaluator * CrossFadedPropertyEvaluator * PaintPropertyBinder * PaintProperyStatistics * PossiblyEvaluatedPropertyValue * TransitioningLight * EvaluatedLight