Home
last modified time | relevance | path

Searched refs:ProgramCache (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/experimental/graphite/src/
H A DProgramCache.cpp8 #include "experimental/graphite/src/ProgramCache.h"
13 ProgramCache::ProgramInfo::ProgramInfo(uint32_t uniqueID, Combination c) in ProgramInfo()
18 ProgramCache::ProgramInfo::~ProgramInfo() {} in ~ProgramInfo()
20 std::string ProgramCache::ProgramInfo::getMSL() const { in getMSL()
67 ProgramCache::ProgramCache() { in ProgramCache() function in skgpu::ProgramCache
72 size_t ProgramCache::Hash::operator()(Combination c) const { in operator ()()
78 sk_sp<ProgramCache::ProgramInfo> ProgramCache::findOrCreateProgram(Combination c) { in findOrCreateProgram()
92 sk_sp<ProgramCache
[all...]
H A DRecorder.h18 class ProgramCache;
30 ProgramCache* programCache();
40 std::unique_ptr<ProgramCache> fProgramCache;
H A DProgramCache.h19 class ProgramCache { class
21 ProgramCache();
H A DContext.cpp14 #include "experimental/graphite/src/ProgramCache.h"
58 ProgramCache cache; in preCompile()
66 sk_sp<ProgramCache::ProgramInfo> pi = cache.findOrCreateProgram(c); in preCompile()
H A DRecorder.cpp15 #include "experimental/graphite/src/ProgramCache.h"
24 , fProgramCache(new ProgramCache) in Recorder()
36 ProgramCache* Recorder::programCache() { in programCache()
H A DDrawPass.cpp16 #include "experimental/graphite/src/ProgramCache.h"
192 uint32_t programID = ProgramCache::kInvalidProgramID; in Make()
/third_party/skia/src/gpu/gl/
H A DGrGLGpuProgramCache.cpp20 struct GrGLGpu::ProgramCache::Entry {
31 GrGLGpu::ProgramCache::ProgramCache(int runtimeProgramCacheSize) in ProgramCache() function in GrGLGpu::ProgramCache
35 GrGLGpu::ProgramCache::~ProgramCache() {} in ~ProgramCache()
37 void GrGLGpu::ProgramCache::abandon() { in abandon()
47 void GrGLGpu::ProgramCache::reset() { in reset()
51 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgram(GrDirectContext* dContext, in findOrCreateProgram()
72 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgram(GrDirectContext* dContext, in findOrCreateProgram()
86 sk_sp<GrGLProgram> GrGLGpu::ProgramCache
[all...]
H A DGrGLGpu.h395 class ProgramCache : public GrThreadSafePipelineBuilder { class in final
397 ProgramCache(int runtimeProgramCacheSize);
398 ~ProgramCache() override;
546 sk_sp<ProgramCache> fProgramCache;
H A DGrGLGpu.cpp343 , fProgramCache(new ProgramCache(dContext->priv().options().fRuntimeProgramCacheSize)) in GrGLGpu()
/third_party/skia/tests/graphite/
H A DProgramCacheTest.cpp11 #include "experimental/graphite/src/ProgramCache.h"
24 sk_sp<ProgramCache::ProgramInfo> pi1; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
28 REPORTER_ASSERT(reporter, pi1->id() != ProgramCache::kInvalidProgramID); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
30 sk_sp<ProgramCache::ProgramInfo> lookup = cache->lookup(pi1->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
39 sk_sp<ProgramCache::ProgramInfo> pi2 = cache->findOrCreateProgram(c2); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
40 REPORTER_ASSERT(reporter, pi2->id() != ProgramCache::kInvalidProgramID); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
43 sk_sp<ProgramCache::ProgramInfo> lookup = cache->lookup(pi2->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
55 sk_sp<ProgramCache::ProgramInfo> pi3 = cache->findOrCreateProgram(c3); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
56 REPORTER_ASSERT(reporter, pi3->id() != ProgramCache::kInvalidProgramID); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
59 sk_sp<ProgramCache in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
[all...]
/third_party/rust/crates/regex/src/
H A Dbacktrack.rs19 use crate::exec::ProgramCache;
86 cache: &ProgramCache, in exec()
H A Dpikevm.rs20 use crate::exec::ProgramCache;
90 cache: &ProgramCache, in exec()
H A Dexec.rs46 pool: Box<Pool<ProgramCache>>,
57 cache: PoolGuard<'c, ProgramCache>,
1453 fn new_pool(ro: &Arc<ExecReadOnly>) -> Box<Pool<ProgramCache>> { in new_pool()
1515 /// `ProgramCache` maintains reusable allocations for each matching engine
1521 pub type ProgramCache = AssertUnwindSafe<RefCell<ProgramCacheInner>>; types
H A Ddfa.rs45 use crate::exec::ProgramCache;
449 cache: &ProgramCache, in forward()
479 cache: &ProgramCache, in reverse()
509 cache: &ProgramCache, in forward_many()

Completed in 17 milliseconds