summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/linesdf_shader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/shader/linesdf_shader.hpp')
-rw-r--r--src/mbgl/shader/linesdf_shader.hpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/mbgl/shader/linesdf_shader.hpp b/src/mbgl/shader/linesdf_shader.hpp
index 9f4fb720ee..4c1fd89635 100644
--- a/src/mbgl/shader/linesdf_shader.hpp
+++ b/src/mbgl/shader/linesdf_shader.hpp
@@ -10,26 +10,26 @@ class LineSDFShader : public Shader {
public:
LineSDFShader(gl::Context&, Defines defines = None);
- void bind(GLbyte *offset) final;
+ void bind(int8_t* offset) final;
- UniformMatrix<4> u_matrix = {"u_matrix", *this};
- Uniform<Color> u_color = {"u_color", *this};
- Uniform<GLfloat> u_opacity = {"u_opacity", *this};
- Uniform<GLfloat> u_linewidth = {"u_linewidth", *this};
- Uniform<GLfloat> u_gapwidth = {"u_gapwidth", *this};
- Uniform<GLfloat> u_antialiasing = {"u_antialiasing", *this};
- Uniform<GLfloat> u_ratio = {"u_ratio", *this};
- Uniform<GLfloat> u_blur = {"u_blur", *this};
- Uniform<std::array<GLfloat, 2>> u_patternscale_a = { "u_patternscale_a", *this};
- Uniform<GLfloat> u_tex_y_a = {"u_tex_y_a", *this};
- Uniform<std::array<GLfloat, 2>> u_patternscale_b = { "u_patternscale_b", *this};
- Uniform<GLfloat> u_tex_y_b = {"u_tex_y_b", *this};
- Uniform<GLint> u_image = {"u_image", *this};
- Uniform<GLfloat> u_sdfgamma = {"u_sdfgamma", *this};
- Uniform<GLfloat> u_mix = {"u_mix", *this};
- Uniform<GLfloat> u_extra = {"u_extra", *this};
- Uniform<GLfloat> u_offset = {"u_offset", *this};
- UniformMatrix<2> u_antialiasingmatrix = {"u_antialiasingmatrix", *this};
+ UniformMatrix<4> u_matrix = {"u_matrix", *this};
+ Uniform<Color> u_color = {"u_color", *this};
+ Uniform<float> u_opacity = {"u_opacity", *this};
+ Uniform<float> u_linewidth = {"u_linewidth", *this};
+ Uniform<float> u_gapwidth = {"u_gapwidth", *this};
+ Uniform<float> u_antialiasing = {"u_antialiasing", *this};
+ Uniform<float> u_ratio = {"u_ratio", *this};
+ Uniform<float> u_blur = {"u_blur", *this};
+ Uniform<std::array<float, 2>> u_patternscale_a = { "u_patternscale_a", *this};
+ Uniform<float> u_tex_y_a = {"u_tex_y_a", *this};
+ Uniform<std::array<float, 2>> u_patternscale_b = { "u_patternscale_b", *this};
+ Uniform<float> u_tex_y_b = {"u_tex_y_b", *this};
+ Uniform<int32_t> u_image = {"u_image", *this};
+ Uniform<float> u_sdfgamma = {"u_sdfgamma", *this};
+ Uniform<float> u_mix = {"u_mix", *this};
+ Uniform<float> u_extra = {"u_extra", *this};
+ Uniform<float> u_offset = {"u_offset", *this};
+ UniformMatrix<2> u_antialiasingmatrix = {"u_antialiasingmatrix", *this};
};