Lines Matching defs:UniformHandle
25 class UniformHandle {
27 static UniformHandle CreateFromUniformIndex(int i);
31 bool operator==(const UniformHandle& other) const { return other.fValue == fValue; }
33 UniformHandle()
38 UniformHandle(int value)
51 UniformHandle appendUniform(GrSLType type, int arrayCount = GrGLShaderVar::kNonArray);
56 void setSampler(UniformHandle, GrGLint texUnit) const;
57 void set1f(UniformHandle, GrGLfloat v0) const;
58 void set1fv(UniformHandle, int arrayCount, const GrGLfloat v[]) const;
59 void set2f(UniformHandle, GrGLfloat, GrGLfloat) const;
60 void set2fv(UniformHandle, int arrayCount, const GrGLfloat v[]) const;
61 void set3f(UniformHandle, GrGLfloat, GrGLfloat, GrGLfloat) const;
62 void set3fv(UniformHandle, int arrayCount, const GrGLfloat v[]) const;
63 void set4f(UniformHandle, GrGLfloat, GrGLfloat, GrGLfloat, GrGLfloat) const;
64 void set4fv(UniformHandle, int arrayCount, const GrGLfloat v[]) const;
67 void setMatrix3f(UniformHandle, const GrGLfloat matrix[]) const;
68 void setMatrix4f(UniformHandle, const GrGLfloat matrix[]) const;
69 void setMatrix3fv(UniformHandle, int arrayCount, const GrGLfloat matrices[]) const;
70 void setMatrix4fv(UniformHandle, int arrayCount, const GrGLfloat matrices[]) const;
73 void setSkMatrix(UniformHandle, const SkMatrix&) const;
99 const BuilderUniform& getBuilderUniform(const BuilderUniformArray&, GrGLUniformManager::UniformHandle) const;