Searched refs:DEV_W (Results 1 - 3 of 3) sorted by relevance
/external/skia/tests/ |
H A D | FloatingPointTextureTest.cpp | 23 static const int DEV_W = 100, DEV_H = 100; variable 24 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H); 43 desc.fWidth = DEV_W; 54 fpTexture->readPixels(0, 0, DEV_W, DEV_H, desc.fConfig, readBuffer.begin(), 0); 60 static const int FP_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 4/*RGBA*/; 69 static const int HALF_ALPHA_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 1 /*alpha-only*/; 78 static const int HALF_RGBA_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 4 /*RGBA*/;
|
H A D | WritePixelsTest.cpp | 22 static const int DEV_W = 100, DEV_H = 100; variable 23 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H); 24 static const SkRect DEV_RECT_S = SkRect::MakeWH(DEV_W * SK_Scalar1, 29 SkASSERT(x >= 0 && x < DEV_W); 115 bmp.allocN32Pixels(DEV_W, DEV_H); 117 for (int x = 0; x < DEV_W; ++x) { 205 if (canvasInfo.width() != DEV_W || 215 for (int cx = 0; cx < DEV_W; ++cx) { 240 const char* pad = reinterpret_cast<const char*>(canvasPixels + DEV_W); 241 for (size_t px = 0; px < canvasRowBytes - 4 * DEV_W; [all...] |
H A D | ReadPixelsTest.cpp | 22 static const int DEV_W = 100, DEV_H = 100; variable 23 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H); 24 static const SkRect DEV_RECT_S = SkRect::MakeWH(DEV_W * SK_Scalar1, 28 SkASSERT(x >= 0 && x < DEV_W); 100 bmp.allocN32Pixels(DEV_W, DEV_H); 103 for (int x = 0; x < DEV_W; ++x) { 126 texture->writePixels(0, 0, DEV_W, DEV_H, kSkia8888_GrPixelConfig, bmp.getPixels(), 284 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10), 286 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / [all...] |
Completed in 290 milliseconds