8#ifndef GrGLSLProgramDataManager_DEFINED
9#define GrGLSLProgramDataManager_DEFINED
35 virtual void set1i(UniformHandle, int32_t)
const = 0;
36 virtual void set1iv(UniformHandle,
int arrayCount,
const int v[])
const = 0;
37 virtual void set1f(UniformHandle,
float v0)
const = 0;
38 virtual void set1fv(UniformHandle,
int arrayCount,
const float v[])
const = 0;
39 virtual void set2i(UniformHandle, int32_t, int32_t)
const = 0;
40 virtual void set2iv(UniformHandle,
int arrayCount,
const int v[])
const = 0;
41 virtual void set2f(UniformHandle,
float,
float)
const = 0;
42 virtual void set2fv(UniformHandle,
int arrayCount,
const float v[])
const = 0;
43 virtual void set3i(UniformHandle, int32_t, int32_t, int32_t)
const = 0;
44 virtual void set3iv(UniformHandle,
int arrayCount,
const int v[])
const = 0;
45 virtual void set3f(UniformHandle,
float,
float,
float)
const = 0;
46 virtual void set3fv(UniformHandle,
int arrayCount,
const float v[])
const = 0;
47 virtual void set4i(UniformHandle, int32_t, int32_t, int32_t, int32_t)
const = 0;
48 virtual void set4iv(UniformHandle,
int arrayCount,
const int v[])
const = 0;
49 virtual void set4f(UniformHandle,
float,
float,
float,
float)
const = 0;
50 virtual void set4fv(UniformHandle,
int arrayCount,
const float v[])
const = 0;
56 virtual void setMatrix2fv(UniformHandle,
int arrayCount,
const float matrices[])
const = 0;
57 virtual void setMatrix3fv(UniformHandle,
int arrayCount,
const float matrices[])
const = 0;
58 virtual void setMatrix4fv(UniformHandle,
int arrayCount,
const float matrices[])
const = 0;
77 const void*
src)
const;
81 const void*
src)
const {
#define GR_DEFINE_RESOURCE_HANDLE_CLASS(name)
@ kYes
Do pre-clip the geometry before applying the (perspective) matrix.
@ kNo
Don't pre-clip the geometry before applying the (perspective) matrix.
void setRuntimeEffectUniforms(SkSpan< const SkRuntimeEffect::Uniform >, SkSpan< const UniformHandle >, SkSpan< const Specialized >, const void *src) const
virtual void set4fv(UniformHandle, int arrayCount, const float v[]) const =0
virtual void set3fv(UniformHandle, int arrayCount, const float v[]) const =0
void setSkMatrix(UniformHandle, const SkMatrix &) const
virtual void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const =0
virtual void set2f(UniformHandle, float, float) const =0
virtual void setMatrix3f(UniformHandle, const float matrix[]) const =0
GrGLSLProgramDataManager()
virtual void set3i(UniformHandle, int32_t, int32_t, int32_t) const =0
virtual void set1fv(UniformHandle, int arrayCount, const float v[]) const =0
virtual void set2i(UniformHandle, int32_t, int32_t) const =0
virtual void set4iv(UniformHandle, int arrayCount, const int v[]) const =0
virtual void set1i(UniformHandle, int32_t) const =0
virtual void set1iv(UniformHandle, int arrayCount, const int v[]) const =0
virtual void set2fv(UniformHandle, int arrayCount, const float v[]) const =0
virtual void set4i(UniformHandle, int32_t, int32_t, int32_t, int32_t) const =0
virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const =0
virtual void set3iv(UniformHandle, int arrayCount, const int v[]) const =0
virtual void setMatrix2f(UniformHandle, const float matrix[]) const =0
virtual void set4f(UniformHandle, float, float, float, float) const =0
void setSkM44(UniformHandle, const SkM44 &) const
virtual void set3f(UniformHandle, float, float, float) const =0
virtual void set2iv(UniformHandle, int arrayCount, const int v[]) const =0
virtual void setMatrix4f(UniformHandle, const float matrix[]) const =0
virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const =0
void setRuntimeEffectUniforms(SkSpan< const SkRuntimeEffect::Uniform > uniforms, SkSpan< const UniformHandle > handles, const void *src) const
virtual void set1f(UniformHandle, float v0) const =0
unsigned useCenter Optional< SkMatrix > matrix