Home
last modified time | relevance | path

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

/external/skia/src/gpu/ganesh/
DGrThreadSafeCache.cpp19 GrThreadSafeCache::VertexData::~VertexData () { in ~VertexData()
23 GrThreadSafeCache::GrThreadSafeCache() in GrThreadSafeCache() function in GrThreadSafeCache
27 GrThreadSafeCache::~GrThreadSafeCache() { in ~GrThreadSafeCache()
32 int GrThreadSafeCache::numEntries() const { in numEntries()
38 size_t GrThreadSafeCache::approxBytesUsedForHash() const { in approxBytesUsedForHash()
45 void GrThreadSafeCache::dropAllRefs() { in dropAllRefs()
58 void GrThreadSafeCache::dropUniqueRefs(GrResourceCache* resourceCache) { in dropUniqueRefs()
81 void GrThreadSafeCache::dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) { in dropUniqueRefsOlderThan()
105 void GrThreadSafeCache::makeExistingEntryMRU(Entry* entry) { in makeExistingEntryMRU()
113 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> GrThreadSafeCache::internalFind( in internalFind()
[all …]
DGrEagerVertexAllocator.cpp53 fVertexData = GrThreadSafeCache::MakeVertexData(fVertices, actualCount, fLockStride); in unlock()
59 sk_sp<GrThreadSafeCache::VertexData> GrCpuVertexAllocator::detachVertexData() { in detachVertexData()
DGrEagerVertexAllocator.h85 sk_sp<GrThreadSafeCache::VertexData> detachVertexData();
88 sk_sp<GrThreadSafeCache::VertexData> fVertexData;
DGrContextThreadSafeProxyPriv.h44 GrThreadSafeCache* threadSafeCache() { return fProxy->fThreadSafeCache.get(); } in threadSafeCache()
45 const GrThreadSafeCache* threadSafeCache() const { return fProxy->fThreadSafeCache.get(); } in threadSafeCache()
DGrThreadSafeCache.h66 class GrThreadSafeCache {
68 GrThreadSafeCache();
69 ~GrThreadSafeCache();
135 friend class GrThreadSafeCache; // for access to ctor
DGrMeshDrawTarget.h16 class GrThreadSafeCache; variable
142 virtual GrThreadSafeCache* threadSafeCache() const = 0;
DGrResourceCache.h30 class GrThreadSafeCache; variable
262 void setThreadSafeCache(GrThreadSafeCache* threadSafeCache) { in setThreadSafeCache()
358 GrThreadSafeCache* fThreadSafeCache = nullptr;
DGrRecordingContext.cpp144 GrThreadSafeCache* GrRecordingContext::threadSafeCache() { in threadSafeCache()
148 const GrThreadSafeCache* GrRecordingContext::threadSafeCache() const { in threadSafeCache()
DBUILD.bazel213 "GrThreadSafeCache.cpp",
214 "GrThreadSafeCache.h",
DGrContextThreadSafeProxy.cpp46 fThreadSafeCache = std::make_unique<GrThreadSafeCache>(); in init()
DGrRecordingContextPriv.h64 GrThreadSafeCache* threadSafeCache() { return this->context()->threadSafeCache(); } in threadSafeCache()
DGrBlurUtils.cpp398 sk_sp<GrThreadSafeCache::Trampoline> trampoline; in hw_create_filtered_mask()
403 std::tie(lazyView, trampoline) = GrThreadSafeCache::CreateLazyView( in hw_create_filtered_mask()
DGrOpFlushState.cpp38 GrThreadSafeCache* GrOpFlushState::threadSafeCache() const { in threadSafeCache()
DGrOpFlushState.h179 GrThreadSafeCache* threadSafeCache() const final;
/external/skia/include/gpu/
DGrRecordingContext.h31 class GrThreadSafeCache; variable
199 GrThreadSafeCache* threadSafeCache();
200 const GrThreadSafeCache* threadSafeCache() const;
DGrContextThreadSafeProxy.h24 class GrThreadSafeCache; variable
158 std::unique_ptr<GrThreadSafeCache> fThreadSafeCache;
/external/skia/tests/
DGrThreadSafeCacheTest.cpp173 GrThreadSafeCache::IsNewerBetter isNewerBetter = default_is_newer_better) in TestHelper()
224 GrThreadSafeCache* threadSafeCache() { return fDContext->priv().threadSafeCache(); } in threadSafeCache()
225 const GrThreadSafeCache* threadSafeCache() const { return fDContext->priv().threadSafeCache(); } in threadSafeCache()
452 GrThreadSafeCache*,
459 sk_sp<GrThreadSafeCache::Trampoline>);
463 GrThreadSafeCache::IsNewerBetter fIsNewerBetter;
476 GrThreadSafeCache::IsNewerBetter isNewerBetter) { in Make()
482 const GrThreadSafeCache::VertexData* vertexData() const { return fVertexData.get(); } in vertexData()
489 GrThreadSafeCache::IsNewerBetter isNewerBetter) in GrThreadSafeVertexTestOp()
580 fVertexData = GrThreadSafeCache::MakeVertexData(verts, 4, kVertSize); in findOrCreateVertices()
[all …]
/external/skia/src/gpu/ganesh/ops/
DTriangulatingPathRenderer.cpp149 fVertexData = GrThreadSafeCache::MakeVertexData(std::move(fVertexBuffer), in unlock()
156 sk_sp<GrThreadSafeCache::VertexData> detachVertexData() { in detachVertexData()
163 sk_sp<GrThreadSafeCache::VertexData> fVertexData;
545 sk_sp<GrThreadSafeCache::VertexData> fVertexData;
/external/skia/src/gpu/ganesh/mock/
DGrMockOpTarget.h31 GrThreadSafeCache* threadSafeCache() const override { in threadSafeCache()
/external/skia/src/core/
DSkBlurMF.cpp1076 sk_sp<GrThreadSafeCache::Trampoline> trampoline, in fillin_view_on_gpu()
1292 auto [lazyView, trampoline] = GrThreadSafeCache::CreateLazyView(dContext, in find_or_create_rrect_blur_mask_fp()
/external/skia/gn/
Dgpu.gni308 "$_src/gpu/ganesh/GrThreadSafeCache.cpp",
309 "$_src/gpu/ganesh/GrThreadSafeCache.h",
/external/skia/
Dpublic.bzl990 "src/gpu/ganesh/GrThreadSafeCache.cpp",
991 "src/gpu/ganesh/GrThreadSafeCache.h",
DAndroid.bp542 "src/gpu/ganesh/GrThreadSafeCache.cpp",
1597 "src/gpu/ganesh/GrThreadSafeCache.cpp",
4121 "src/gpu/ganesh/GrThreadSafeCache.cpp",