[core] Add DDS support for {text,icon}-size (#8593)
* Update gl-js and generate style code
* Factor out packUint8Pair() helper function
* Draft implementation of DDS for {text,icon}-size
Ports https://github.com/mapbox/mapbox-gl-js/pull/4455
* Fix text-size/composite-function-line-placement test
* Refactor to PaintPropertyBinders-like strategy
* Dedupe gl::Program construction
* Use exponential function base for interpolation
* Dedupe coveringZoomStops method
* Fixup tests
* Fix CI errors (hidden within #if block)
This commit is contained in:
@@ -28,7 +28,7 @@ public:
|
||||
return s.evaluate(Value(double(zoom))).value_or(T());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
friend bool operator==(const CameraFunction& lhs,
|
||||
const CameraFunction& rhs) {
|
||||
return lhs.stops == rhs.stops;
|
||||
|
||||
Reference in New Issue
Block a user