Home
last modified time | relevance | path

Searched refs:unitIdx (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLGpu.cpp284 void bindSampler(int unitIdx, const GrSamplerState& state) { in bindSampler() argument
304 if (fHWBoundSamplers[unitIdx] != fSamplers[index]) { in bindSampler()
305 GR_GL_CALL(fGpu->glInterface(), BindSampler(unitIdx, fSamplers[index])); in bindSampler()
306 fHWBoundSamplers[unitIdx] = fSamplers[index]; in bindSampler()
2949 void GrGLGpu::bindTexture(int unitIdx, GrSamplerState samplerState, GrGLTexture* texture) { in bindTexture() argument
2972 if (fHWTextureUnitBindings[unitIdx].boundID(target) != textureID) { in bindTexture()
2973 this->setTextureUnit(unitIdx); in bindTexture()
2975 fHWTextureUnitBindings[unitIdx].setBoundID(target, textureID); in bindTexture()
2998 fSamplerObjectCache->bindSampler(unitIdx, samplerState); in bindTexture()
3014 this->setTextureUnit(unitIdx); in bindTexture()
[all …]
DGrGLGpu.h59 void bindTexture(int unitIdx, GrSamplerState samplerState, GrGLTexture* texture);
257 void setTextureUnit(int unitIdx);
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp239 void bindSampler(int unitIdx, const GrSamplerState& state) { in bindSampler() argument
259 if (fHWBoundSamplers[unitIdx] != fSamplers[index]) { in bindSampler()
260 GR_GL_CALL(fGpu->glInterface(), BindSampler(unitIdx, fSamplers[index])); in bindSampler()
261 fHWBoundSamplers[unitIdx] = fSamplers[index]; in bindSampler()
2936 void GrGLGpu::bindTexture(int unitIdx, GrSamplerState samplerState, GrGLTexture* texture) { in bindTexture() argument
2959 if (fHWBoundTextureUniqueIDs[unitIdx] != textureID) { in bindTexture()
2960 this->setTextureUnit(unitIdx); in bindTexture()
2962 fHWBoundTextureUniqueIDs[unitIdx] = textureID; in bindTexture()
2985 fSamplerObjectCache->bindSampler(unitIdx, samplerState); in bindTexture()
3001 this->setTextureUnit(unitIdx); in bindTexture()
[all …]
DGrGLGpu.h59 void bindTexture(int unitIdx, GrSamplerState samplerState, GrGLTexture* texture);
252 void setTextureUnit(int unitIdx);