diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-06-27 17:06:49 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-07-02 16:05:09 +0300 |
commit | c1445913220023fdaf8ec5960eb6cba27c348864 (patch) | |
tree | 4958d023e640e630525760d80431606794c10f78 /src/mbgl/style/layers/layer_properties.hpp.ejs | |
parent | 21f75229675a07093689d542f116066c7af59ce4 (diff) | |
download | qtlocation-mapboxgl-c1445913220023fdaf8ec5960eb6cba27c348864.tar.gz |
[core] Introduce LayerProperties::constantsMask()
Constants mask for data-driven paint properties is a reliable
criteria of whether the given updated properties can still be used
with the existing bucket (and the gl program instance).
Diffstat (limited to 'src/mbgl/style/layers/layer_properties.hpp.ejs')
-rw-r--r-- | src/mbgl/style/layers/layer_properties.hpp.ejs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/style/layers/layer_properties.hpp.ejs b/src/mbgl/style/layers/layer_properties.hpp.ejs index 277cfd173b..4513146d6d 100644 --- a/src/mbgl/style/layers/layer_properties.hpp.ejs +++ b/src/mbgl/style/layers/layer_properties.hpp.ejs @@ -72,6 +72,8 @@ public: <%- camelize(type) %>PaintProperties::PossiblyEvaluated); ~<%- camelize(type) %>LayerProperties() override; + unsigned long constantsMask() const override; + const <%- camelize(type) %>Layer::Impl& layerImpl() const; // Data members. <% if (type === 'background' || type === 'fill' || type === 'line' || type === 'fill-extrusion') { -%> |