Searched refs:DEV_W (Results 1 - 9 of 9) sorted by relevance

/external/skia/tests/
H A DFloatingPointTextureTest.cpp25 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 DWritePixelsTest.cpp26 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 DReadPixelsTest.cpp26 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 DPackedConfigsTextureTest.cpp22 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 DFloatingPointTextureTest.cpp25 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 DWritePixelsTest.cpp26 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 DReadPixelsTest.cpp26 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 DPackedConfigsTextureTest.cpp22 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 DVkHardwareBufferTest.cpp42 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...]

Completed in 224 milliseconds