/external/skia/tests/ |
D | GrThreadSafeCacheTest.cpp | 140 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/ |
D | GrBlurUtils.cpp | 105 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()
|
D | GrRecordingContext.cpp | 147 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()
|
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 | 63 GrThreadSafeCache* threadSafeCache() { return fContext->threadSafeCache(); } in threadSafeCache() function
|
D | GrDirectContextPriv.h | 62 GrThreadSafeCache* threadSafeCache() { return fContext->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 | 253 void setThreadSafeCache(GrThreadSafeCache* threadSafeCache) { in setThreadSafeCache() argument 254 fThreadSafeCache = threadSafeCache; in setThreadSafeCache()
|
D | GrOpFlushState.h | 180 GrThreadSafeCache* threadSafeCache() const final;
|
D | GrDirectContext.cpp | 211 SkASSERT(this->threadSafeCache()); in init() 218 fResourceCache->setThreadSafeCache(this->threadSafeCache()); in init()
|
/external/skia/src/gpu/effects/generated/ |
D | GrRectBlurEffect.h | 38 auto threadSafeCache = rContext->priv().threadSafeCache(); in MakeIntegralFP() local 50 GrSurfaceProxyView view = threadSafeCache->find(key); in MakeIntegralFP() 68 view = threadSafeCache->add(key, view); in MakeIntegralFP()
|
D | GrRRectBlurEffect.cpp | 252 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()
|
D | GrCircleBlurFragmentProcessor.cpp | 191 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/ |
D | GrMockOpTarget.h | 29 GrThreadSafeCache* threadSafeCache() const override { in threadSafeCache() function 30 return fMockContext->priv().threadSafeCache(); in threadSafeCache()
|
/external/skia/src/gpu/ops/ |
D | GrTriangulatingPathRenderer.cpp | 354 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()
|
D | GrShadowRRectOp.cpp | 672 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()
|
D | GrMeshDrawOp.h | 239 virtual GrThreadSafeCache* threadSafeCache() const = 0;
|
/external/skia/include/gpu/ |
D | GrRecordingContext.h | 189 GrThreadSafeCache* threadSafeCache(); 190 const GrThreadSafeCache* threadSafeCache() const;
|
/external/skia/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.cpp | 105 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()
|
D | GrRRectBlurEffect.fp | 255 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);
|
D | GrRectBlurEffect.fp | 57 auto threadSafeCache = rContext->priv().threadSafeCache(); 69 GrSurfaceProxyView view = threadSafeCache->find(key); 87 view = threadSafeCache->add(key, view);
|
D | GrCircleBlurFragmentProcessor.fp | 208 auto threadSafeCache = rContext->priv().threadSafeCache(); 250 GrSurfaceProxyView profileView = threadSafeCache->find(key); 277 profileView = threadSafeCache->add(key, profileView);
|