/external/skia/tests/ |
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]) { 97 readback, 0); 103 if (0xFF != readback[x][y]) {
|
ResourceCacheTest.cpp | 41 SkBitmap readback; local 42 readback.setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height()); 43 readback.allocPixels(); 47 canvas->readPixels(size, &readback);
|
BlurTest.cpp | 243 // Readback the blurred draw results from the canvas 244 static void readback(SkCanvas* canvas, int* result, int resultCount) { function 245 SkBitmap readback; local 246 readback.setConfig(SkBitmap::kARGB_8888_Config, resultCount, 30); 247 readback.allocPixels(); 251 canvas->readPixels(readBackRect, &readback); 253 readback.lockPixels(); 254 SkPMColor* pixels = (SkPMColor*) readback.getAddr32(0, 15); 272 readback(&canvas, result, resultCount); 297 readback(&canvas, result, resultCount) [all...] |
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
ColorBuffer.cpp | 361 void ColorBuffer::readback(unsigned char* img) function in class:ColorBuffer
|