Lines Matching refs:kH
32 static const int kH = 10; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
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()
157 for (int y = 0; y < kH && !abort; ++y) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()