Home
last modified time | relevance | path

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

/third_party/skia/tests/
DGrThreadSafeCacheTest.cpp143 int numCacheEntries() const { return this->threadSafeCache()->numEntries(); } in numCacheEntries()
169 GrThreadSafeCache* threadSafeCache() { return fDContext->priv().threadSafeCache(); } in threadSafeCache() function in TestHelper
170 const GrThreadSafeCache* threadSafeCache() const { return fDContext->priv().threadSafeCache(); } in threadSafeCache() function in TestHelper
186 auto view = AccessCachedView(rContext, this->threadSafeCache(), in addViewAccess()
221 auto threadSafeCache = this->threadSafeCache(); in checkView() local
223 auto [view, xtraData] = threadSafeCache->findWithData(key); in checkView()
307 auto threadSafeCache = this->threadSafeCache(); in checkVert() local
309 auto [vertData, xtraData] = threadSafeCache->findVertsWithData(key); in checkVert()
495 auto threadSafeViewCache = rContext->priv().threadSafeCache(); in findOrCreateVertices()
672 GrThreadSafeCache* threadSafeCache, in AccessCachedView() argument
[all …]
/third_party/skia/src/gpu/
DGrBlurUtils.cpp108 auto threadSafeCache = rContext->priv().threadSafeCache(); in sw_create_filtered_mask() local
114 std::tie(filteredMaskView, data) = threadSafeCache->findWithData(*key); in sw_create_filtered_mask()
178 std::tie(filteredMaskView, data) = threadSafeCache->addWithData(*key, filteredMaskView); in sw_create_filtered_mask()
392 auto threadSafeCache = dContext->priv().threadSafeCache(); in hw_create_filtered_mask() local
408 auto [cachedView, data] = threadSafeCache->findOrAddWithData(*key, lazyView); in hw_create_filtered_mask()
431 threadSafeCache->remove(*key); in hw_create_filtered_mask()
447 threadSafeCache->remove(*key); in hw_create_filtered_mask()
DGrRecordingContext.cpp155 GrThreadSafeCache* GrRecordingContext::threadSafeCache() { in threadSafeCache() function in GrRecordingContext
156 return fThreadSafeProxy->priv().threadSafeCache(); in threadSafeCache()
159 const GrThreadSafeCache* GrRecordingContext::threadSafeCache() const { in threadSafeCache() function in GrRecordingContext
160 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.h58 GrThreadSafeCache* threadSafeCache() { return this->context()->threadSafeCache(); } in threadSafeCache() function
DGrOpFlushState.cpp37 GrThreadSafeCache* GrOpFlushState::threadSafeCache() const { in threadSafeCache() function in GrOpFlushState
38 return fGpu->getContext()->priv().threadSafeCache(); in threadSafeCache()
DGrResourceCache.h280 void setThreadSafeCache(GrThreadSafeCache* threadSafeCache) { in setThreadSafeCache() argument
281 fThreadSafeCache = threadSafeCache; in setThreadSafeCache()
DGrMeshDrawTarget.h122 virtual GrThreadSafeCache* threadSafeCache() const = 0;
DGrOpFlushState.h179 GrThreadSafeCache* threadSafeCache() const final;
DGrDirectContext.cpp227 SkASSERT(this->threadSafeCache()); in init()
234 fResourceCache->setThreadSafeCache(this->threadSafeCache()); in init()
/third_party/skia/src/core/
DSkBlurMF.cpp756 auto threadSafeCache = rContext->priv().threadSafeCache(); in create_profile_effect() local
798 GrSurfaceProxyView profileView = threadSafeCache->find(key); in create_profile_effect()
825 profileView = threadSafeCache->add(key, profileView); in create_profile_effect()
871 auto threadSafeCache = rContext->priv().threadSafeCache(); in make_rect_integral_fp() local
883 GrSurfaceProxyView view = threadSafeCache->find(key); in make_rect_integral_fp()
901 view = threadSafeCache->add(key, view); in make_rect_integral_fp()
1268 auto threadSafeCache = rContext->priv().threadSafeCache(); in find_or_create_rrect_blur_mask_fp() local
1292 view = threadSafeCache->findOrAdd(key, lazyView); in find_or_create_rrect_blur_mask_fp()
1307 threadSafeCache->remove(key); in find_or_create_rrect_blur_mask_fp()
1311 view = threadSafeCache->find(key); in find_or_create_rrect_blur_mask_fp()
[all …]
/third_party/skia/src/gpu/ops/
DTriangulatingPathRenderer.cpp281 auto threadSafeCache = target->threadSafeCache(); in createNonAAMesh() local
290 auto [cachedVerts, data] = threadSafeCache->findVertsWithData(key); in createNonAAMesh()
329 auto [tmpV, tmpD] = threadSafeCache->addVertsWithData(key, fVertexData, is_newer_better); in createNonAAMesh()
440 auto threadSafeViewCache = rContext->priv().threadSafeCache(); in onPrePrepareDraws()
DShadowRRectOp.cpp674 auto threadSafeCache = rContext->priv().threadSafeCache(); in create_falloff_texture() local
676 GrSurfaceProxyView view = threadSafeCache->find(key); in create_falloff_texture()
701 view = threadSafeCache->add(key, view); in create_falloff_texture()
/third_party/skia/src/gpu/mock/
DGrMockOpTarget.h31 GrThreadSafeCache* threadSafeCache() const override { in threadSafeCache() function
32 return fMockContext->priv().threadSafeCache(); in threadSafeCache()
/third_party/skia/include/gpu/
DGrRecordingContext.h188 GrThreadSafeCache* threadSafeCache();
189 const GrThreadSafeCache* threadSafeCache() const;
/third_party/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp101 auto threadSafeCache = rContext->priv().threadSafeCache(); in Make() local
106 if (kCacheKernelTexture && (view = threadSafeCache->find(key))) { in Make()
133 view = threadSafeCache->add(key, view); in Make()