HomeSort by relevance Sort by last modified time
    Searched refs:DEV_W (Results 1 - 4 of 4) sorted by null

  /external/skia/tests/
FloatingPointTextureTest.cpp 25 static const int DEV_W = 100, DEV_H = 100;
26 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
51 desc.fWidth = DEV_W;
68 0, 0, DEV_W, DEV_H,
77 static const int RGBA32F_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 4;
86 static const int RG32F_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 2;
94 static const int HALF_ALPHA_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 1 /*alpha-only*/;
103 static const int HALF_RGBA_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 4 /*RGBA*/;
WritePixelsTest.cpp 22 static const int DEV_W = 100, DEV_H = 100;
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) {
207 if (canvasInfo.width() != DEV_W ||
217 for (int cx = 0; cx < DEV_W; ++cx) {
242 const char* pad = reinterpret_cast<const char*>(canvasPixels + DEV_W);
243 for (size_t px = 0; px < canvasRowBytes - 4 * DEV_W; ++px)
    [all...]
ReadPixelsTest.cpp 26 static const int DEV_W = 100, DEV_H = 100;
27 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
28 static const SkRect DEV_RECT_S = SkRect::MakeWH(DEV_W * SK_Scalar1,
32 SkASSERT(x >= 0 && x < DEV_W);
104 bmp.allocN32Pixels(DEV_W, DEV_H);
107 for (int x = 0; x < DEV_W; ++x) {
300 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10),
302 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4),
308 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4)
    [all...]
PackedConfigsTextureTest.cpp 22 static const int DEV_W = 10, DEV_H = 10;
23 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
47 for (int i = 0; i < DEV_W; ++i) {
78 for (int i = 0; i < DEV_W; ++i) {
112 const SkImageInfo dstInfo = SkImageInfo::Make(DEV_W, DEV_H,
118 desc.fWidth = DEV_W;
142 static const int CONTROL_ARRAY_SIZE = DEV_W * DEV_H;

Completed in 88 milliseconds