Home
last modified time | relevance | path

Searched refs:ProgramCache (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/experimental/graphite/src/
DProgramCache.cpp13 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::ProgramInfo> ProgramCache::lookup(uint32_t uniqueID) { in lookup()
DRecorder.h18 class ProgramCache; variable
30 ProgramCache* programCache();
40 std::unique_ptr<ProgramCache> fProgramCache;
DProgramCache.h19 class ProgramCache {
21 ProgramCache();
DRecorder.cpp24 , fProgramCache(new ProgramCache) in Recorder()
36 ProgramCache* Recorder::programCache() { in programCache()
DContext.cpp58 ProgramCache cache; in preCompile()
66 sk_sp<ProgramCache::ProgramInfo> pi = cache.findOrCreateProgram(c); in preCompile()
DDrawPass.cpp192 uint32_t programID = ProgramCache::kInvalidProgramID; in Make()
/third_party/skia/src/gpu/gl/
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::findOrCreateProgramImpl(GrDirectContext* dContext, in findOrCreateProgramImpl()
121 bool GrGLGpu::ProgramCache::precompileShader(GrDirectContext* dContext, in precompileShader()
DGrGLGpu.h388 class ProgramCache : public GrThreadSafePipelineBuilder {
390 ProgramCache(int runtimeProgramCacheSize);
391 ~ProgramCache() override;
539 sk_sp<ProgramCache> fProgramCache;
DGrGLGpu.cpp343 , fProgramCache(new ProgramCache(dContext->priv().options().fRuntimeProgramCacheSize)) in GrGLGpu()
/third_party/skia/tests/graphite/
DProgramCacheTest.cpp24 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::ProgramInfo> lookup = cache->lookup(pi3->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/rust/crates/regex/src/
Dpool.rs287 use crate::exec::ProgramCache; in oibits()
290 has_oibits::<Pool<ProgramCache>>(); in oibits()
Dbacktrack.rs19 use crate::exec::ProgramCache;
86 cache: &ProgramCache, in exec() argument
Dpikevm.rs20 use crate::exec::ProgramCache;
90 cache: &ProgramCache, in exec() argument
Ddfa.rs45 use crate::exec::ProgramCache;
449 cache: &ProgramCache, in forward() argument
479 cache: &ProgramCache, in reverse() argument
509 cache: &ProgramCache, in forward_many() argument
Dexec.rs46 pool: Box<Pool<ProgramCache>>,
57 cache: PoolGuard<'c, ProgramCache>,
1453 fn new_pool(ro: &Arc<ExecReadOnly>) -> Box<Pool<ProgramCache>> { in new_pool() argument
1521 pub type ProgramCache = AssertUnwindSafe<RefCell<ProgramCacheInner>>; typedef
/third_party/skia/gn/
Dgraphite.gni56 "$_src/ProgramCache.cpp",
57 "$_src/ProgramCache.h",