/external/skia/tests/ |
H A D | FloatingPointTextureTest.cpp | 25 static const int DEV_W = 100, DEV_H = 100; variable 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*/;
|
H A D | WritePixelsTest.cpp | 26 static const int DEV_W = 100, DEV_H = 100; variable 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 [all...] |
H A D | ReadPixelsTest.cpp | 26 static const int DEV_W = 100, DEV_H = 100; variable 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 / [all...] |
H A D | PackedConfigsTextureTest.cpp | 22 static const int DEV_W = 10, DEV_H = 10; variable 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/ |
H A D | FloatingPointTextureTest.cpp | 25 static const int DEV_W = 100, DEV_H = 100; variable 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*/;
|
H A D | WritePixelsTest.cpp | 26 static const int DEV_W = 100, DEV_H = 100; variable 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; [all...] |
H A D | ReadPixelsTest.cpp | 26 static const int DEV_W = 100, DEV_H = 100; variable 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 / [all...] |
H A D | PackedConfigsTextureTest.cpp | 22 static const int DEV_W = 10, DEV_H = 10; variable 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;
|
H A D | VkHardwareBufferTest.cpp | 42 static const int DEV_W = 16, DEV_H = 16; variable 266 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipMapped::kNo, textureInfo); 294 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipMapped::kNo, textureInfo); 848 REPORTER_ASSERT(reporter, DEV_W <= imageFormatProperties.maxExtent.width); 923 { DEV_W, DEV_H, 1 }, // VkExtent3D 1038 GrBackendTexture backendTex(DEV_W, DEV_H, imageInfo); 1193 GrBackendTexture backendTex(DEV_W, DEV_H, imageInfo); 1211 SkASSERT(x >= 0 && x < DEV_W); 1243 bmp.allocN32Pixels(DEV_W, DEV_H); 1246 for (int x = 0; x < DEV_W; [all...] |