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

  /external/skia/tests/
WritePixelsTest.cpp 21 static const int DEV_W = 100, DEV_H = 100;
22 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
23 static const SkRect DEV_RECT_S = SkRect::MakeWH(DEV_W * SK_Scalar1,
28 SkASSERT(x >= 0 && x < DEV_W);
114 bmp.allocN32Pixels(DEV_W, DEV_H);
116 for (int x = 0; x < DEV_W; ++x) {
206 if (canvasInfo.width() != DEV_W ||
216 for (int cx = 0; cx < DEV_W; ++cx) {
241 const char* pad = reinterpret_cast<const char*>(canvasPixels + DEV_W);
242 for (size_t px = 0; px < canvasRowBytes - 4 * DEV_W; ++px)
    [all...]
FloatingPointTextureTest.cpp 24 static const int DEV_W = 100, DEV_H = 100;
25 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
50 desc.fWidth = DEV_W;
61 fpTexture->readPixels(0, 0, DEV_W, DEV_H, desc.fConfig, readBuffer.begin(), 0));
67 static const int RGBA32F_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 4;
76 static const int RG32F_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 2;
84 static const int HALF_ALPHA_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 1 /*alpha-only*/;
93 static const int HALF_RGBA_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 4 /*RGBA*/;
PackedConfigsTextureTest.cpp 21 static const int DEV_W = 10, DEV_H = 10;
22 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
46 for (int i = 0; i < DEV_W; ++i) {
77 for (int i = 0; i < DEV_W; ++i) {
115 desc.fWidth = DEV_W;
123 fpTexture->readPixels(0, 0, DEV_W, DEV_H, kRGBA_8888_GrPixelConfig, readBuffer.begin(), 0);
133 static const int CONTROL_ARRAY_SIZE = DEV_W * DEV_H;
ReadPixelsTest.cpp 25 static const int DEV_W = 100, DEV_H = 100;
26 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
27 static const SkRect DEV_RECT_S = SkRect::MakeWH(DEV_W * SK_Scalar1,
31 SkASSERT(x >= 0 && x < DEV_W);
103 bmp.allocN32Pixels(DEV_W, DEV_H);
106 for (int x = 0; x < DEV_W; ++x) {
129 texture->writePixels(0, 0, DEV_W, DEV_H, kSkia8888_GrPixelConfig, bmp.getPixels(),
320 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10),
322 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4)
    [all...]

Completed in 392 milliseconds