Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLGpu.h152 return fProgramCache->precompileShader(this->getContext(), key, data); in precompileShader()
166 void resetShaderCacheForTesting() const override { fProgramCache->reset(); } in resetShaderCacheForTesting()
515 sk_sp<ProgramCache> fProgramCache; variable
DGrGLGpu.cpp342 , fProgramCache(new ProgramCache(dContext->priv().options().fRuntimeProgramCacheSize)) in GrGLGpu()
385 if (fProgramCache) { in ~GrGLGpu()
386 fProgramCache->reset(); in ~GrGLGpu()
453 if (fProgramCache) { in disconnect()
454 fProgramCache->abandon(); in disconnect()
462 fProgramCache->reset(); in disconnect()
463 fProgramCache.reset(); in disconnect()
482 return fProgramCache.get(); in pipelineBuilder()
486 return fProgramCache; in refPipelineBuilder()
1835 sk_sp<GrGLProgram> program = fProgramCache->findOrCreateProgram(this->getContext(), in flushGLState()
[all …]
/external/skqp/src/gpu/gl/
DGrGLGpu.h152 void resetShaderCacheForTesting() const override { fProgramCache->abandon(); } in resetShaderCacheForTesting()
421 ProgramCache* fProgramCache; variable
DGrGLGpu.cpp335 , fProgramCache(new ProgramCache(this)) in GrGLGpu()
409 delete fProgramCache; in ~GrGLGpu()
443 if (fProgramCache) { in disconnect()
444 fProgramCache->abandon(); in disconnect()
452 delete fProgramCache; in disconnect()
453 fProgramCache = nullptr; in disconnect()
1986 sk_sp<GrGLProgram> program(fProgramCache->refProgram(this, renderTarget, origin, primProc, in flushGLState()