Lines Matching refs:kH
35 static const int kH = 10; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
38 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
39 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
43 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
44 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
49 { 0, 0, kW , kH }, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
50 {-1, -1, kW+1, kH+1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
51 { 1, 1, kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
58 { kW/2, kH/4}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
59 { kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
60 { kW , kH }, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
61 { kW+1, kH+2}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
66 SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
67 SkImageInfo::Make(kW, kH, kBGRA_8888_SkColorType, kPremul_SkAlphaType) in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
70 SkAutoTMalloc<uint32_t> read(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
80 context, sRenderable, kW, kH, ii.colorType(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
83 context, dRenderable, kW, kH, ii.colorType(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
130 if (!copiedSrcRect.intersect(srcRect, SkIRect::MakeWH(kW, kH))) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 !copiedDstRect.intersect(SkIRect::MakeWH(kW, kH))) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
162 sk_memset32(read.get(), 0, kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
171 for (int y = 0; y < kH && !abort; ++y) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()