Home
last modified time | relevance | path

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

/external/chromium_org/gpu/command_buffer/service/
Dprogram_cache_unittest.cc16 class NoBackendProgramCache : public ProgramCache {
64 ProgramCache::ComputeShaderHash(shader, translator, result); in ComputeShaderHash()
71 ProgramCache::ComputeProgramHash(hashed_shader_0, in ComputeProgramHash()
78 ProgramCache::Evict(program_hash); in Evict()
97 EXPECT_EQ(ProgramCache::LINK_UNKNOWN, in TEST_F()
106 EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, in TEST_F()
117 EXPECT_EQ(ProgramCache::LINK_UNKNOWN, in TEST_F()
127 EXPECT_EQ(ProgramCache::LINK_UNKNOWN, in TEST_F()
135 char a_sha[ProgramCache::kHashLength]; in TEST_F()
136 char b_sha[ProgramCache::kHashLength]; in TEST_F()
[all …]
Dprogram_cache.cc14 ProgramCache::ProgramCache() {} in ProgramCache() function in gpu::gles2::ProgramCache
15 ProgramCache::~ProgramCache() {} in ~ProgramCache()
17 void ProgramCache::Clear() { in Clear()
22 ProgramCache::LinkedProgramStatus ProgramCache::GetLinkedProgramStatus( in GetLinkedProgramStatus()
42 return ProgramCache::LINK_UNKNOWN; in GetLinkedProgramStatus()
48 void ProgramCache::LinkedProgramCacheSuccess( in LinkedProgramCacheSuccess()
68 void ProgramCache::LinkedProgramCacheSuccess(const std::string& program_hash) { in LinkedProgramCacheSuccess()
72 void ProgramCache::ComputeShaderHash( in ComputeShaderHash()
83 void ProgramCache::Evict(const std::string& program_hash) { in Evict()
101 void ProgramCache::ComputeProgramHash( in ComputeProgramHash()
Dmemory_program_cache_unittest.cc203 EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( in TEST_F()
228 EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( in TEST_F()
239 EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( in TEST_F()
280 EXPECT_EQ(ProgramCache::PROGRAM_LOAD_SUCCESS, cache_->LoadLinkedProgram( in TEST_F()
338 EXPECT_EQ(ProgramCache::PROGRAM_LOAD_SUCCESS, cache_->LoadLinkedProgram( in TEST_F()
377 EXPECT_EQ(ProgramCache::PROGRAM_LOAD_FAILURE, cache_->LoadLinkedProgram( in TEST_F()
407 EXPECT_EQ(ProgramCache::PROGRAM_LOAD_FAILURE, cache_->LoadLinkedProgram( in TEST_F()
421 EXPECT_EQ(ProgramCache::PROGRAM_LOAD_FAILURE, cache_->LoadLinkedProgram( in TEST_F()
443 ProgramCache::LocationMap binding_map; in TEST_F()
455 EXPECT_EQ(ProgramCache::PROGRAM_LOAD_FAILURE, cache_->LoadLinkedProgram( in TEST_F()
[all …]
Dprogram_cache.h24 class GPU_EXPORT ProgramCache {
40 ProgramCache();
41 virtual ~ProgramCache();
112 DISALLOW_COPY_AND_ASSIGN(ProgramCache);
Dcontext_group.h29 class ProgramCache; variable
142 void set_program_cache(ProgramCache* program_cache) { in set_program_cache()
197 ProgramCache* program_cache_;
Dprogram_manager.h23 class ProgramCache; variable
359 explicit ProgramManager(ProgramCache* program_cache,
376 ProgramCache* program_cache() const;
425 ProgramCache* program_cache_;
Dprogram_manager.cc565 ProgramCache* cache = manager_->program_cache_; in Link()
569 ProgramCache::LinkedProgramStatus status = cache->GetLinkedProgramStatus( in Link()
576 if (status == ProgramCache::LINK_SUCCEEDED) { in Link()
577 ProgramCache::ProgramLoadResult success = in Link()
585 link = success != ProgramCache::PROGRAM_LOAD_SUCCESS; in Link()
1254 ProgramManager::ProgramManager(ProgramCache* program_cache, in ProgramManager()
1306 ProgramCache* ProgramManager::program_cache() const { in program_cache()
Dmocks.h111 class MockProgramCache : public ProgramCache {
Dmemory_program_cache.h23 class GPU_EXPORT MemoryProgramCache : public ProgramCache {
Dmemory_program_cache.cc85 proto->set_sha(sha, gpu::gles2::ProgramCache::kHashLength); in FillShaderProto()
123 ProgramCache::ProgramLoadResult MemoryProgramCache::LoadLinkedProgram( in LoadLinkedProgram()
Dprogram_manager_unittest.cc1595 void SetExpectationsForProgramLoad(ProgramCache::ProgramLoadResult result) { in SetExpectationsForProgramLoad()
1608 ProgramCache::ProgramLoadResult result) { in SetExpectationsForProgramLoad()
1715 SetExpectationsForProgramLoad(ProgramCache::PROGRAM_LOAD_SUCCESS); in TEST_F()
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGpuGL_program.cpp24 struct GrGpuGL::ProgramCache::Entry {
32 struct GrGpuGL::ProgramCache::ProgDescLess {
44 GrGpuGL::ProgramCache::ProgramCache(GrGpuGL* gpu) in ProgramCache() function in GrGpuGL::ProgramCache
59 GrGpuGL::ProgramCache::~ProgramCache() { in ~ProgramCache()
79 void GrGpuGL::ProgramCache::abandon() { in abandon()
88 int GrGpuGL::ProgramCache::search(const GrGLProgramDesc& desc) const { in search()
93 GrGLProgram* GrGpuGL::ProgramCache::getProgram(const GrGLProgramDesc& desc, in getProgram()
DGrGpuGL.h176 class ProgramCache : public ::SkNoncopyable {
178 ProgramCache(GrGpuGL* gpu);
179 ~ProgramCache();
276 ProgramCache* fProgramCache;
DGrGpuGL.cpp143 fProgramCache = SkNEW_ARGS(ProgramCache, (this)); in GrGpuGL()
/external/skia/src/gpu/gl/
DGrGpuGL_program.cpp23 struct GrGpuGL::ProgramCache::Entry {
31 struct GrGpuGL::ProgramCache::ProgDescLess {
43 GrGpuGL::ProgramCache::ProgramCache(GrGpuGL* gpu) in ProgramCache() function in GrGpuGL::ProgramCache
58 GrGpuGL::ProgramCache::~ProgramCache() { in ~ProgramCache()
78 void GrGpuGL::ProgramCache::abandon() { in abandon()
87 int GrGpuGL::ProgramCache::search(const GrGLProgramDesc& desc) const { in search()
92 GrGLProgram* GrGpuGL::ProgramCache::getProgram(const GrGLProgramDesc& desc, in getProgram()
DGrGpuGL.h199 class ProgramCache : public ::SkNoncopyable {
201 ProgramCache(GrGpuGL* gpu);
202 ~ProgramCache();
296 ProgramCache* fProgramCache;
DGrGpuGL.cpp147 fProgramCache = SkNEW_ARGS(ProgramCache, (this)); in GrGpuGL()
/external/chromium_org/content/common/gpu/
Dgpu_channel_manager.h37 class ProgramCache; variable
88 gpu::gles2::ProgramCache* program_cache();
147 scoped_ptr<gpu::gles2::ProgramCache> program_cache_;
Dgpu_channel_manager.cc110 gpu::gles2::ProgramCache* GpuChannelManager::program_cache() { in program_cache()
/external/chromium_org/tools/lsan/
Dsuppressions.txt38 # Skia leaks GrGpuGL::ProgramCache::Entry. http://crbug.com/262934