Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLGpuProgramCache.cpp112 int entryIdx; in getProgram() local
114 entryIdx = this->search(*args.fDesc); in getProgram()
115 if (entryIdx >= 0) { in getProgram()
116 entry = fEntries[entryIdx]; in getProgram()
155 entryIdx = ~entryIdx; in getProgram()
156 if (entryIdx < purgeIdx) { in getProgram()
162 size_t copySize = (purgeIdx - entryIdx) * sizeof(Entry*); in getProgram()
163 memmove(fEntries + entryIdx + 1, fEntries + entryIdx, copySize); in getProgram()
164 fEntries[entryIdx] = entry; in getProgram()
165 } else if (purgeIdx < entryIdx) { in getProgram()
[all …]