Home
last modified time | relevance | path

Searched refs:fHWBoundSamplers (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLGpu.cpp268 fHWBoundSamplers.reset(new GrGLuint[fNumTextureUnits]); in SamplerObjectCache()
269 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in SamplerObjectCache()
307 if (fHWBoundSamplers[unitIdx] != fSamplers[index]) { in bindSampler()
309 fHWBoundSamplers[unitIdx] = fSamplers[index]; in bindSampler()
316 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in invalidateBindings()
320 fHWBoundSamplers.reset(); in abandon()
332 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in release()
350 std::unique_ptr<GrGLuint[]> fHWBoundSamplers; member in GrGLGpu::SamplerObjectCache
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp226 fHWBoundSamplers.reset(new GrGLuint[fNumTextureUnits]); in SamplerObjectCache()
227 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in SamplerObjectCache()
259 if (fHWBoundSamplers[unitIdx] != fSamplers[index]) { in bindSampler()
261 fHWBoundSamplers[unitIdx] = fSamplers[index]; in bindSampler()
268 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in invalidateBindings()
272 fHWBoundSamplers.reset(); in abandon()
284 std::fill_n(fHWBoundSamplers.get(), fNumTextureUnits, 0); in release()
302 std::unique_ptr<GrGLuint[]> fHWBoundSamplers; member in GrGLGpu::SamplerObjectCache