Lines Matching refs:kWidth
42 static const int kWidth = 100;
45 SkImageInfo ii = SkImageInfo::MakeN32Premul(2*kWidth, 2*kHeight);
50 bm.tryAllocN32Pixels(kWidth, kHeight);
55 SkASSERT(kWidth == special->width());
58 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
64 SkASSERT(kWidth == special->width());
67 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset());
72 SkASSERT(2*kWidth == special->width());
74 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
82 static const int kWidth = 100; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
85 SkImageInfo ii = SkImageInfo::MakeN32Premul(2*kWidth, 2*kHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 SkAssertResult(bm.tryAllocN32Pixels(kWidth, kHeight)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
98 SkASSERT(kWidth == special->width()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
107 SkASSERT(kWidth == special->width()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
118 SkASSERT(kWidth == special->width()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
121 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
126 SkASSERT(2*kWidth == special->width()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
128 SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()