/third_party/skia/tests/ |
D | GrThreadSafeCacheTest.cpp | 143 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/ |
D | GrBlurUtils.cpp | 108 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()
|
D | GrRecordingContext.cpp | 155 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()
|
D | GrContextThreadSafeProxyPriv.h | 40 GrThreadSafeCache* threadSafeCache() { return fProxy->fThreadSafeCache.get(); } in threadSafeCache() function 41 const GrThreadSafeCache* threadSafeCache() const { return fProxy->fThreadSafeCache.get(); } in threadSafeCache() function
|
D | GrRecordingContextPriv.h | 58 GrThreadSafeCache* threadSafeCache() { return this->context()->threadSafeCache(); } in threadSafeCache() function
|
D | GrOpFlushState.cpp | 37 GrThreadSafeCache* GrOpFlushState::threadSafeCache() const { in threadSafeCache() function in GrOpFlushState 38 return fGpu->getContext()->priv().threadSafeCache(); in threadSafeCache()
|
D | GrResourceCache.h | 280 void setThreadSafeCache(GrThreadSafeCache* threadSafeCache) { in setThreadSafeCache() argument 281 fThreadSafeCache = threadSafeCache; in setThreadSafeCache()
|
D | GrMeshDrawTarget.h | 122 virtual GrThreadSafeCache* threadSafeCache() const = 0;
|
D | GrOpFlushState.h | 179 GrThreadSafeCache* threadSafeCache() const final;
|
D | GrDirectContext.cpp | 227 SkASSERT(this->threadSafeCache()); in init() 234 fResourceCache->setThreadSafeCache(this->threadSafeCache()); in init()
|
/third_party/skia/src/core/ |
D | SkBlurMF.cpp | 756 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/ |
D | TriangulatingPathRenderer.cpp | 281 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()
|
D | ShadowRRectOp.cpp | 674 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/ |
D | GrMockOpTarget.h | 31 GrThreadSafeCache* threadSafeCache() const override { in threadSafeCache() function 32 return fMockContext->priv().threadSafeCache(); in threadSafeCache()
|
/third_party/skia/include/gpu/ |
D | GrRecordingContext.h | 188 GrThreadSafeCache* threadSafeCache(); 189 const GrThreadSafeCache* threadSafeCache() const;
|
/third_party/skia/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.cpp | 101 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()
|