Home | History | Annotate | Download | only in gl

Lines Matching refs:Entry

25 struct GrGLGpu::ProgramCache::Entry {
26 Entry(sk_sp<GrGLProgram> program) : fProgram(std::move(program)) {}
65 fMap.foreach([](std::unique_ptr<Entry>* e) {
88 std::unique_ptr<Entry>* entry = fMap.find(desc);
89 if (!entry) {
92 entry = fMap.find(desc);
94 if (!entry) {
105 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(sk_sp<GrGLProgram>(program))));
108 return SkRef((*entry)->fProgram.get());