Searched refs:fNumTextureUnits (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 267 fNumTextureUnits = fGpu->glCaps().shaderCaps()->maxFragmentSamplers(); in SamplerObjectCache() 268 fHWBoundSamplers.reset(new GrGLuint[fNumTextureUnits]); in SamplerObjectCache() 269 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in SamplerObjectCache() 274 if (!fNumTextureUnits) { in ~SamplerObjectCache() 316 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in invalidateBindings() 321 fNumTextureUnits = 0; in abandon() 325 if (!fNumTextureUnits) { in release() 332 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in release() 352 int fNumTextureUnits; member in GrGLGpu::SamplerObjectCache
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 225 fNumTextureUnits = fGpu->glCaps().shaderCaps()->maxFragmentSamplers(); in SamplerObjectCache() 226 fHWBoundSamplers.reset(new GrGLuint[fNumTextureUnits]); in SamplerObjectCache() 227 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in SamplerObjectCache() 232 if (!fNumTextureUnits) { in ~SamplerObjectCache() 268 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in invalidateBindings() 273 fNumTextureUnits = 0; in abandon() 277 if (!fNumTextureUnits) { in release() 284 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in release() 304 int fNumTextureUnits; member in GrGLGpu::SamplerObjectCache
|