[core] Introduce SegmentVector

This commit is contained in:
John Firebaugh
2016-11-14 11:57:02 -08:00
parent 58877d1b3d
commit 377d0fb0d2
18 changed files with 86 additions and 36 deletions

View File

@@ -23,12 +23,14 @@ MBGL_DEFINE_UNIFORM_VECTOR(float, 3, u_spin_weights);
MBGL_DEFINE_UNIFORM_VECTOR(float, 2, u_tl_parent);
} // namespace uniforms
using RasterAttributes = gl::Attributes<
attributes::a_pos,
attributes::a_texture_pos>;
class RasterProgram : public Program<
shaders::raster,
gl::Triangle,
gl::Attributes<
attributes::a_pos,
attributes::a_texture_pos>,
RasterAttributes,
gl::Uniforms<
uniforms::u_matrix,
uniforms::u_image0,