Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLGpuProgramCache.cpp61 SkDELETE(fEntries[i]); in ~ProgramCache()
81 SkASSERT(fEntries[i]->fProgram.get()); in abandon()
82 fEntries[i]->fProgram->abandon(); in abandon()
83 SkDELETE(fEntries[i]); in abandon()
90 return SkTSearch(fEntries, fCount, desc, sizeof(Entry*), less); in search()
116 entry = fEntries[entryIdx]; in getProgram()
136 fEntries[purgeIdx] = entry; in getProgram()
141 if (fEntries[i]->fLRUStamp < fEntries[purgeIdx]->fLRUStamp) { in getProgram()
145 entry = fEntries[purgeIdx]; in getProgram()
151 SkASSERT(fEntries[purgeIdx] == entry); in getProgram()
[all …]
DGrGLGpu.h215 Entry* fEntries[kMaxEntries]; variable
/external/skia/tests/
DRecordDrawTest.cpp127 fEntries.setCount(N); in insert()
130 fEntries[i] = e; in insert()
142 SkTDArray<Entry> fEntries; member
167 REPORTER_ASSERT(r, bbh.fEntries.count() == 5); in DEF_TEST()
168 for (int i = 0; i < bbh.fEntries.count(); i++) { in DEF_TEST()
169 REPORTER_ASSERT(r, bbh.fEntries[i].opIndex == (unsigned)i); in DEF_TEST()
171 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bbh.fEntries[i].bounds)); in DEF_TEST()
192 REPORTER_ASSERT(r, bbh.fEntries.count() == 2); in DEF_TEST()
197 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[0].bounds, SkRect::MakeLTRB(0, 0, 140, 60))); in DEF_TEST()
198 REPORTER_ASSERT(r, sloppy_rect_eq(bbh.fEntries[1].bounds, SkRect::MakeLTRB(0, 20, 180, 100))); in DEF_TEST()
[all …]
/external/skia/src/pdf/
DSkPDFDevice.cpp241 fEntries[0].fClipStack = existingClipStack; in GraphicStackState()
242 fEntries[0].fClipRegion = existingClipRegion; in GraphicStackState()
255 GraphicStateEntry* currentEntry() { return &fEntries[fStackDepth]; } in currentEntry()
259 GraphicStateEntry fEntries[kMaxStackDepth + 1]; member in GraphicStackState
274 fEntries[fStackDepth] = fEntries[fStackDepth - 1]; in push()
465 skip_clip_stack_prefix(fEntries[0].fClipStack, clipStack, &iter); in updateClip()
484 skip_clip_stack_prefix(fEntries[0].fClipStack, clipStack, &iter); in updateClip()
514 SkASSERT(fEntries[fStackDepth].fClipStack == in updateMatrix()
515 fEntries[fStackDepth -1].fClipStack); in updateMatrix()