Lines Matching refs:kImagesToDraw
77 float imagesOverBudget = float(kImagesToDraw) / budgetSize; in ImageCacheBudgetBench()
96 make_images(fImages, kImagesToDraw); in onPerCanvasPreDraw()
99 fIndices.reset(new int[kSimulatedFrames * kImagesToDraw]); in onPerCanvasPreDraw()
101 int* base = fIndices.get() + frame * kImagesToDraw; in onPerCanvasPreDraw()
102 for (int i = 0; i < kImagesToDraw; ++i) { in onPerCanvasPreDraw()
105 for (int i = 0; i < kImagesToDraw - 1; ++i) { in onPerCanvasPreDraw()
106 int other = random.nextULessThan(kImagesToDraw - i) + i; in onPerCanvasPreDraw()
118 for (int i = 0; i < kImagesToDraw; ++i) { in onPerCanvasPostDraw()
127 for (int j = 0; j < kImagesToDraw; ++j) { in onDraw()
130 idx = fIndices[frame * kImagesToDraw + j]; in onDraw()
143 static constexpr int kImagesToDraw = 100; member in ImageCacheBudgetBench
149 sk_sp<SkImage> fImages[kImagesToDraw];