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

  /external/skia/tests/
FloatingPointTextureTest.cpp 25 static const int DEV_W = 100, DEV_H = 100;
52 desc.fWidth = DEV_W;
68 sContext.get(), 0, 0, DEV_W, DEV_H, colorType, nullptr, readBuffer.begin(), 0);
75 static const int RGBA32F_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 4;
84 static const int RG32F_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 2;
92 static const int HALF_ALPHA_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 1 /*alpha-only*/;
101 static const int HALF_RGBA_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 4 /*RGBA*/;
WritePixelsTest.cpp 26 static const int DEV_W = 100, DEV_H = 100;
27 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
31 SkASSERT(x >= 0 && x < DEV_W);
116 bmp.allocN32Pixels(DEV_W, DEV_H);
118 for (int x = 0; x < DEV_W; ++x) {
200 if (surf->width() != DEV_W || surf->height() != DEV_H) {
208 for (int cx = 0; cx < DEV_W; ++cx) {
233 const char* pad = reinterpret_cast<const char*>(canvasPixels + DEV_W);
234 for (size_t px = 0; px < canvasRowBytes - 4 * DEV_W; ++px) {
301 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10)
    [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;
46 for (int i = 0; i < DEV_W; ++i) {
77 for (int i = 0; i < DEV_W; ++i) {
112 const SkImageInfo dstInfo = SkImageInfo::Make(DEV_W, DEV_H,
118 desc.fWidth = DEV_W;
141 static const int CONTROL_ARRAY_SIZE = DEV_W * DEV_H;
  /external/skqp/tests/
FloatingPointTextureTest.cpp 25 static const int DEV_W = 100, DEV_H = 100;
52 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 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,
33 SkASSERT(x >= 0 && x < DEV_W);
119 bmp.allocN32Pixels(DEV_W, DEV_H);
121 for (int x = 0; x < DEV_W; ++x) {
210 if (surf->width() != DEV_W || surf->height() != DEV_H) {
218 for (int cx = 0; cx < DEV_W; ++cx) {
243 const char* pad = reinterpret_cast<const char*>(canvasPixels + DEV_W);
244 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;
46 for (int i = 0; i < DEV_W; ++i) {
77 for (int i = 0; i < DEV_W; ++i) {
112 const SkImageInfo dstInfo = SkImageInfo::Make(DEV_W, DEV_H,
118 desc.fWidth = DEV_W;
141 static const int CONTROL_ARRAY_SIZE = DEV_W * DEV_H;
VkHardwareBufferTest.cpp 42 static const int DEV_W = 16, DEV_H = 16;
266 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipMapped::kNo, textureInfo);
294 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipMapped::kNo, textureInfo);
    [all...]

Completed in 922 milliseconds