[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:
@@ -32,7 +32,7 @@ MBGL_DEFINE_UNIFORM_VECTOR(float, 2, u_gl_units_to_pixels);
|
||||
|
||||
struct LineLayoutAttributes : gl::Attributes<
|
||||
attributes::a_pos,
|
||||
attributes::a_data<4>>
|
||||
attributes::a_data<uint8_t, 4>>
|
||||
{};
|
||||
|
||||
class LineProgram : public Program<
|
||||
|
||||
Reference in New Issue
Block a user