Searched defs:readback (Results 1 - 3 of 3) sorted by relevance
/external/skia/tests/ |
H A D | ReadWriteAlphaTest.cpp | 62 unsigned char readback[X_SIZE][Y_SIZE]; local 64 // clear readback to something non-zero so we can detect readback failures 65 memset(readback, 0x1, X_SIZE * Y_SIZE); 69 readback, 0); 76 if (textureData[x][y] != readback[x][y]) { 98 readback, 0); 104 if (0xFF != readback[x][y]) {
|
H A D | ResourceCacheTest.cpp | 51 SkBitmap readback; local 52 readback.allocN32Pixels(size.width(), size.height()); 56 canvas->readPixels(size, &readback);
|
H A D | BlurTest.cpp | 246 static void readback(SkCanvas* canvas, int* result, int resultCount) { function 247 SkBitmap readback; local 248 readback.allocN32Pixels(resultCount, 30); 252 canvas->readPixels(readBackRect, &readback); 254 readback.lockPixels(); 255 SkPMColor* pixels = (SkPMColor*) readback.getAddr32(0, 15); 272 readback(&canvas, result, resultCount); 299 readback(&canvas, result, resultCount);
|
Completed in 475 milliseconds