Home
last modified time | relevance | path

Searched refs:threadSafeCache (Results 1 – 22 of 22) sorted by relevance

/external/skia/tests/
DGrThreadSafeCacheTest.cpp140 int numCacheEntries() const { return this->threadSafeCache()->numEntries(); } in numCacheEntries()
166 GrThreadSafeCache* threadSafeCache() { return fDContext->priv().threadSafeCache(); } in threadSafeCache() function in TestHelper
167 const GrThreadSafeCache* threadSafeCache() const { return fDContext->priv().threadSafeCache(); } in threadSafeCache() function in TestHelper
183 auto view = AccessCachedView(rContext, this->threadSafeCache(), in addViewAccess()
218 auto threadSafeCache = this->threadSafeCache(); in checkView() local
220 auto [view, xtraData] = threadSafeCache->findWithData(key); in checkView()
304 auto threadSafeCache = this->threadSafeCache(); in checkVert() local
306 auto [vertData, xtraData] = threadSafeCache->findVertsWithData(key); in checkVert()
490 auto threadSafeViewCache = rContext->priv().threadSafeCache(); in findOrCreateVertices()
664 GrThreadSafeCache* threadSafeCache, in AccessCachedView() argument
[all …]
/external/skia/src/gpu/
DGrBlurUtils.cpp105 auto threadSafeCache = rContext->priv().threadSafeCache(); in sw_create_filtered_mask() local
111 std::tie(filteredMaskView, data) = threadSafeCache->findWithData(*key); in sw_create_filtered_mask()
175 std::tie(filteredMaskView, data) = threadSafeCache->addWithData(*key, filteredMaskView); in sw_create_filtered_mask()
384 auto threadSafeCache = dContext->priv().threadSafeCache(); in hw_create_filtered_mask() local
400 auto [cachedView, data] = threadSafeCache->findOrAddWithData(*key, lazyView); in hw_create_filtered_mask()
424 threadSafeCache->remove(*key); in hw_create_filtered_mask()
440 threadSafeCache->remove(*key); in hw_create_filtered_mask()
DGrRecordingContext.cpp147 GrThreadSafeCache* GrRecordingContext::threadSafeCache() { in threadSafeCache() function in GrRecordingContext
148 return fThreadSafeProxy->priv().threadSafeCache(); in threadSafeCache()
151 const GrThreadSafeCache* GrRecordingContext::threadSafeCache() const { in threadSafeCache() function in GrRecordingContext
152 return fThreadSafeProxy->priv().threadSafeCache(); in threadSafeCache()
DGrContextThreadSafeProxyPriv.h40 GrThreadSafeCache* threadSafeCache() { return fProxy->fThreadSafeCache.get(); } in threadSafeCache() function
41 const GrThreadSafeCache* threadSafeCache() const { return fProxy->fThreadSafeCache.get(); } in threadSafeCache() function
DGrRecordingContextPriv.h63 GrThreadSafeCache* threadSafeCache() { return fContext->threadSafeCache(); } in threadSafeCache() function
DGrDirectContextPriv.h62 GrThreadSafeCache* threadSafeCache() { return fContext->threadSafeCache(); } in threadSafeCache() function
DGrOpFlushState.cpp37 GrThreadSafeCache* GrOpFlushState::threadSafeCache() const { in threadSafeCache() function in GrOpFlushState
38 return fGpu->getContext()->priv().threadSafeCache(); in threadSafeCache()
DGrResourceCache.h253 void setThreadSafeCache(GrThreadSafeCache* threadSafeCache) { in setThreadSafeCache() argument
254 fThreadSafeCache = threadSafeCache; in setThreadSafeCache()
DGrOpFlushState.h180 GrThreadSafeCache* threadSafeCache() const final;
DGrDirectContext.cpp211 SkASSERT(this->threadSafeCache()); in init()
218 fResourceCache->setThreadSafeCache(this->threadSafeCache()); in init()
/external/skia/src/gpu/effects/generated/
DGrRectBlurEffect.h38 auto threadSafeCache = rContext->priv().threadSafeCache(); in MakeIntegralFP() local
50 GrSurfaceProxyView view = threadSafeCache->find(key); in MakeIntegralFP()
68 view = threadSafeCache->add(key, view); in MakeIntegralFP()
DGrRRectBlurEffect.cpp252 auto threadSafeCache = rContext->priv().threadSafeCache(); in find_or_create_rrect_blur_mask_fp() local
276 view = threadSafeCache->findOrAdd(key, lazyView); in find_or_create_rrect_blur_mask_fp()
291 threadSafeCache->remove(key); in find_or_create_rrect_blur_mask_fp()
295 view = threadSafeCache->find(key); in find_or_create_rrect_blur_mask_fp()
307 view = threadSafeCache->add(key, view); in find_or_create_rrect_blur_mask_fp()
DGrCircleBlurFragmentProcessor.cpp191 auto threadSafeCache = rContext->priv().threadSafeCache(); in create_profile_effect() local
233 GrSurfaceProxyView profileView = threadSafeCache->find(key); in create_profile_effect()
260 profileView = threadSafeCache->add(key, profileView); in create_profile_effect()
/external/skia/src/gpu/mock/
DGrMockOpTarget.h29 GrThreadSafeCache* threadSafeCache() const override { in threadSafeCache() function
30 return fMockContext->priv().threadSafeCache(); in threadSafeCache()
/external/skia/src/gpu/ops/
DGrTriangulatingPathRenderer.cpp354 auto threadSafeCache = target->threadSafeCache(); in createNonAAMesh() local
363 auto [cachedVerts, data] = threadSafeCache->findVertsWithData(key); in createNonAAMesh()
402 auto [tmpV, tmpD] = threadSafeCache->addVertsWithData(key, fVertexData, is_newer_better); in createNonAAMesh()
511 auto threadSafeViewCache = rContext->priv().threadSafeCache(); in onPrePrepareDraws()
DGrShadowRRectOp.cpp672 auto threadSafeCache = rContext->priv().threadSafeCache(); in create_falloff_texture() local
674 GrSurfaceProxyView view = threadSafeCache->find(key); in create_falloff_texture()
699 view = threadSafeCache->add(key, view); in create_falloff_texture()
DGrMeshDrawOp.h239 virtual GrThreadSafeCache* threadSafeCache() const = 0;
/external/skia/include/gpu/
DGrRecordingContext.h189 GrThreadSafeCache* threadSafeCache();
190 const GrThreadSafeCache* threadSafeCache() const;
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp105 auto threadSafeCache = rContext->priv().threadSafeCache(); in Make() local
110 if (kCacheKernelTexture && (view = threadSafeCache->find(key))) { in Make()
137 view = threadSafeCache->add(key, view); in Make()
DGrRRectBlurEffect.fp255 auto threadSafeCache = rContext->priv().threadSafeCache();
277 view = threadSafeCache->findOrAdd(key, lazyView);
288 threadSafeCache->remove(key);
292 view = threadSafeCache->find(key);
304 view = threadSafeCache->add(key, view);
DGrRectBlurEffect.fp57 auto threadSafeCache = rContext->priv().threadSafeCache();
69 GrSurfaceProxyView view = threadSafeCache->find(key);
87 view = threadSafeCache->add(key, view);
DGrCircleBlurFragmentProcessor.fp208 auto threadSafeCache = rContext->priv().threadSafeCache();
250 GrSurfaceProxyView profileView = threadSafeCache->find(key);
277 profileView = threadSafeCache->add(key, profileView);