Home | History | Annotate | Download | only in mtl

Lines Matching refs:Entry

55 struct GrMtlResourceProvider::PipelineStateCache::Entry {
56 Entry(GrMtlGpu* gpu, GrMtlPipelineState* pipelineState)
108 std::unique_ptr<Entry>* entry = fMap.find(desc);
109 if (!entry) {
112 entry = fMap.find(desc);
114 if (!entry) {
123 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState)));
124 return (*entry)->fPipelineState.get();
126 return (*entry)->fPipelineState.get();