Home
last modified time | relevance | path

Searched refs:GrThreadSafeCache (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/gpu/
DGrThreadSafeCache.cpp16 GrThreadSafeCache::VertexData::~VertexData () { in ~VertexData()
20 GrThreadSafeCache::GrThreadSafeCache() in GrThreadSafeCache() function in GrThreadSafeCache
24 GrThreadSafeCache::~GrThreadSafeCache() { in ~GrThreadSafeCache()
29 int GrThreadSafeCache::numEntries() const { in numEntries()
35 size_t GrThreadSafeCache::approxBytesUsedForHash() const { in approxBytesUsedForHash()
42 void GrThreadSafeCache::dropAllRefs() { in dropAllRefs()
55 void GrThreadSafeCache::dropUniqueRefs(GrResourceCache* resourceCache) { in dropUniqueRefs()
78 void GrThreadSafeCache::dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) { in dropUniqueRefsOlderThan()
102 void GrThreadSafeCache::makeExistingEntryMRU(Entry* entry) { in makeExistingEntryMRU()
110 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> GrThreadSafeCache::internalFind( in internalFind()
[all …]
DGrContextThreadSafeProxyPriv.h40 GrThreadSafeCache* threadSafeCache() { return fProxy->fThreadSafeCache.get(); } in threadSafeCache()
41 const GrThreadSafeCache* threadSafeCache() const { return fProxy->fThreadSafeCache.get(); } in threadSafeCache()
DGrThreadSafeCache.h66 class GrThreadSafeCache {
68 GrThreadSafeCache();
69 ~GrThreadSafeCache();
134 friend class GrThreadSafeCache; // for access to ctor
DGrEagerVertexAllocator.h104 sk_sp<GrThreadSafeCache::VertexData> detachVertexData();
107 sk_sp<GrThreadSafeCache::VertexData> fVertexData;
DGrResourceCache.h30 class GrThreadSafeCache; variable
253 void setThreadSafeCache(GrThreadSafeCache* threadSafeCache) { in setThreadSafeCache()
346 GrThreadSafeCache* fThreadSafeCache = nullptr;
DGrRecordingContext.cpp147 GrThreadSafeCache* GrRecordingContext::threadSafeCache() { in threadSafeCache()
151 const GrThreadSafeCache* GrRecordingContext::threadSafeCache() const { in threadSafeCache()
DGrRecordingContextPriv.h63 GrThreadSafeCache* threadSafeCache() { return fContext->threadSafeCache(); } in threadSafeCache()
DGrContextThreadSafeProxy.cpp45 fThreadSafeCache = std::make_unique<GrThreadSafeCache>(); in init()
DGrDirectContextPriv.h62 GrThreadSafeCache* threadSafeCache() { return fContext->threadSafeCache(); } in threadSafeCache()
DGrBlurUtils.cpp387 sk_sp<GrThreadSafeCache::Trampoline> trampoline; in hw_create_filtered_mask()
392 std::tie(lazyView, trampoline) = GrThreadSafeCache::CreateLazyView( in hw_create_filtered_mask()
DGrOpFlushState.cpp37 GrThreadSafeCache* GrOpFlushState::threadSafeCache() const { in threadSafeCache()
DGrOpFlushState.h180 GrThreadSafeCache* threadSafeCache() const final;
/external/skia/include/gpu/
DGrContextThreadSafeProxy.h25 class GrThreadSafeCache; variable
141 std::unique_ptr<GrThreadSafeCache> fThreadSafeCache;
DGrRecordingContext.h33 class GrThreadSafeCache; variable
189 GrThreadSafeCache* threadSafeCache();
190 const GrThreadSafeCache* threadSafeCache() const;
/external/skia/src/gpu/ops/
DGrTriangulatingPathRenderer.cpp139 fVertexData = GrThreadSafeCache::MakeVertexData(std::move(fVertexBuffer), in unlock()
146 sk_sp<GrThreadSafeCache::VertexData> detachVertexData() { in detachVertexData()
153 sk_sp<GrThreadSafeCache::VertexData> fVertexData;
179 fVertexData = GrThreadSafeCache::MakeVertexData(fVertices, actualCount, fLockStride); in unlock()
185 sk_sp<GrThreadSafeCache::VertexData> GrCpuVertexAllocator::detachVertexData() { in detachVertexData()
604 sk_sp<GrThreadSafeCache::VertexData> fVertexData;
DGrMeshDrawOp.h239 virtual GrThreadSafeCache* threadSafeCache() const = 0;
/external/skia/tests/
DGrThreadSafeCacheTest.cpp114 GrThreadSafeCache::IsNewerBetter isNewerBetter = default_is_newer_better) in TestHelper()
166 GrThreadSafeCache* threadSafeCache() { return fDContext->priv().threadSafeCache(); } in threadSafeCache()
167 const GrThreadSafeCache* threadSafeCache() const { return fDContext->priv().threadSafeCache(); } in threadSafeCache()
396 GrThreadSafeCache*,
403 sk_sp<GrThreadSafeCache::Trampoline>);
407 GrThreadSafeCache::IsNewerBetter fIsNewerBetter;
420 GrThreadSafeCache::IsNewerBetter isNewerBetter) { in Make()
426 const GrThreadSafeCache::VertexData* vertexData() const { return fVertexData.get(); } in vertexData()
433 GrThreadSafeCache::IsNewerBetter isNewerBetter) in GrThreadSafeVertexTestOp()
522 fVertexData = GrThreadSafeCache::MakeVertexData(verts, 4, kVertSize); in findOrCreateVertices()
[all …]
/external/skia/src/gpu/mock/
DGrMockOpTarget.h29 GrThreadSafeCache* threadSafeCache() const override { in threadSafeCache()
/external/skia/src/gpu/effects/generated/
DGrRRectBlurEffect.cpp55 sk_sp<GrThreadSafeCache::Trampoline> trampoline, in fillin_view_on_gpu()
267 auto[lazyView, trampoline] = GrThreadSafeCache::CreateLazyView(dContext, in find_or_create_rrect_blur_mask_fp()
/external/skia/src/gpu/effects/
DGrRRectBlurEffect.fp48 #include "src/gpu/GrThreadSafeCache.h"
78 sk_sp<GrThreadSafeCache::Trampoline> trampoline,
270 auto[lazyView, trampoline] = GrThreadSafeCache::CreateLazyView(
DGrRectBlurEffect.fp19 #include "src/gpu/GrThreadSafeCache.h"
DGrCircleBlurFragmentProcessor.fp44 #include "src/gpu/GrThreadSafeCache.h"
/external/skia/gn/
Dgpu.gni254 "$_src/gpu/GrThreadSafeCache.cpp",
255 "$_src/gpu/GrThreadSafeCache.h",
/external/skia/
DAndroid.bp521 "src/gpu/GrThreadSafeCache.cpp",
1505 "src/gpu/GrThreadSafeCache.cpp",