8#ifndef GrUniformDataManager_DEFINED
9#define GrUniformDataManager_DEFINED
27 void set1i(UniformHandle, int32_t)
const override;
28 void set1iv(UniformHandle,
int arrayCount,
const int32_t v[])
const override;
29 void set1f(UniformHandle,
float v0)
const override;
30 void set1fv(UniformHandle,
int arrayCount,
const float v[])
const override;
31 void set2i(UniformHandle, int32_t, int32_t)
const override;
32 void set2iv(UniformHandle,
int arrayCount,
const int32_t v[])
const override;
33 void set2f(UniformHandle,
float,
float)
const override;
34 void set2fv(UniformHandle,
int arrayCount,
const float v[])
const override;
35 void set3i(UniformHandle, int32_t, int32_t, int32_t)
const override;
36 void set3iv(UniformHandle,
int arrayCount,
const int32_t v[])
const override;
37 void set3f(UniformHandle,
float,
float,
float)
const override;
38 void set3fv(UniformHandle,
int arrayCount,
const float v[])
const override;
39 void set4i(UniformHandle, int32_t, int32_t, int32_t, int32_t)
const override;
40 void set4iv(UniformHandle,
int arrayCount,
const int32_t v[])
const override;
41 void set4f(UniformHandle,
float,
float,
float,
float)
const override;
42 void set4fv(UniformHandle,
int arrayCount,
const float v[])
const override;
48 void setMatrix2fv(UniformHandle,
int arrayCount,
const float matrices[])
const override;
49 void setMatrix3fv(UniformHandle,
int arrayCount,
const float matrices[])
const override;
50 void setMatrix4fv(UniformHandle,
int arrayCount,
const float matrices[])
const override;
66 template <
int N, SkSLType kFullType, SkSLType kHalfType>
67 inline void set(UniformHandle u,
const void* v)
const;
68 template <
int N, SkSLType kFullType, SkSLType kHalfType>
69 inline void setv(UniformHandle u,
int arrayCount,
const void* v)
const;
70 template <
int N, SkSLType FullType, SkSLType HalfType>
71 inline void setMatrices(UniformHandle,
int arrayCount,
const float matrices[])
const;
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
unsigned useCenter Optional< SkMatrix > matrix