Searched defs:readback (Results 1 - 2 of 2) sorted by relevance

/external/skia/tests/
H A DBlurTest.cpp247 static void readback(SkCanvas* canvas, int* result, int resultCount) { function
248 SkBitmap readback; local
249 readback.allocN32Pixels(resultCount, 30);
253 canvas->readPixels(readBackRect, &readback);
255 readback.lockPixels();
256 SkPMColor* pixels = (SkPMColor*) readback.getAddr32(0, 15);
273 readback(&canvas, result, resultCount);
294 readback(&canvas, result, resultCount);
H A DResourceCacheTest.cpp63 SkBitmap readback; local
64 readback.allocN32Pixels(size.width(), size.height());
68 canvas->readPixels(size, &readback);

Completed in 67 milliseconds