Lines Matching refs:kW

31     static const int kW = 10;  in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()  local
33 static const size_t kRowBytes = sizeof(uint32_t) * kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
35 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
36 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
40 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
41 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
46 { 0, 0, kW , kH }, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
47 {-1, -1, kW+1, kH+1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
48 { 1, 1, kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
55 { kW/2, kH/4}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
56 { kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
57 { kW , kH }, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
58 { kW+1, kH+2}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
63 SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
64 SkImageInfo::Make(kW, kH, kBGRA_8888_SkColorType, kPremul_SkAlphaType) in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
67 SkAutoTMalloc<uint32_t> read(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
77 context, sRT, kW, kH, ii.colorType(), sOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
80 context, dRT, kW, kH, ii.colorType(), dOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
120 if (!copiedSrcRect.intersect(srcRect, SkIRect::MakeWH(kW, kH))) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
132 !copiedDstRect.intersect(SkIRect::MakeWH(kW, kH))) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
148 sk_memset32(read.get(), 0, kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
158 for (int x = 0; x < kW; ++x) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
159 uint32_t r = read.get()[y * kW + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
163 uint32_t s = srcPixels.get()[sy * kW + sx]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
172 uint32_t d = dstPixels.get()[y * kW + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()