8#ifndef GrGLUniformHandler_DEFINED
9#define GrGLUniformHandler_DEFINED
23 return fUniforms.
item(u.toIndex()).fVariable;
31 return fUniforms.
count();
35 return fUniforms.
item(idx);
38 return fUniforms.
item(idx);
53 const char** outName)
override;
58 const char* samplerVariable(SamplerHandle handle)
const override {
59 return fSamplers.
item(handle.toIndex()).fVariable.c_str();
62 skgpu::Swizzle samplerSwizzle(SamplerHandle handle)
const override {
63 return fSamplerSwizzles[handle.toIndex()];
72 void getUniformLocations(
GrGLuint programID,
const GrGLCaps& caps,
bool force);
79 UniformInfoArray fUniforms;
80 UniformInfoArray fSamplers;
const char * c_str() const
DEF_SWITCHES_START aot vmservice shared library name