Lines Matching refs:cache_
85 cache_(new NoBackendProgramCache()) { }
88 scoped_ptr<NoBackendProgramCache> cache_;
98 cache_->GetLinkedProgramStatus(
100 cache_->SaySuccessfullyCached(shader_a, NULL, shader_b, NULL, NULL);
107 cache_->GetLinkedProgramStatus(
114 cache_->SaySuccessfullyCached(shader1, NULL, shader2, NULL, NULL);
118 cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL));
124 cache_->SaySuccessfullyCached(shader1, NULL, shader2, NULL, NULL);
128 cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL));
134 cache_->SaySuccessfullyCached(shader1, NULL, shader2, NULL, NULL);
137 cache_->ComputeShaderHash(shader1, NULL, a_sha);
138 cache_->ComputeShaderHash(shader2, NULL, b_sha);
141 cache_->ComputeProgramHash(a_sha,
145 cache_->Evict(std::string(sha, ProgramCache::kHashLength));
147 cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL));
154 cache_->SaySuccessfullyCached(shader1, NULL, shader2, NULL, NULL);
155 cache_->SaySuccessfullyCached(shader1, NULL, shader3, NULL, NULL);
160 cache_->ComputeShaderHash(shader1, NULL, a_sha);
161 cache_->ComputeShaderHash(shader2, NULL, b_sha);
162 cache_->ComputeShaderHash(shader3, NULL, c_sha);
165 cache_->ComputeProgramHash(a_sha,
169 cache_->Evict(std::string(sha, ProgramCache::kHashLength));
171 cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL));
173 cache_->GetLinkedProgramStatus(shader1, NULL, shader3, NULL, NULL));
176 cache_->ComputeProgramHash(a_sha,
180 cache_->Evict(std::string(sha, ProgramCache::kHashLength));
182 cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL));
184 cache_->GetLinkedProgramStatus(shader1, NULL, shader3, NULL, NULL));
191 cache_->SaySuccessfullyCached(shader1, NULL, shader2, NULL, NULL);
192 cache_->SaySuccessfullyCached(shader1, NULL, shader3, NULL, NULL);
193 cache_->Clear();
195 cache_->GetLinkedProgramStatus(shader1, NULL, shader2, NULL, NULL));
197 cache_->GetLinkedProgramStatus(shader1, NULL, shader3, NULL, NULL));