Lines Matching refs:kScreenSize
34 static constexpr int kScreenSize = 6; variable
36 static constexpr int kScreenSplitX = kScreenSize/2;
37 static constexpr int kScreenSplitY = kScreenSize/2;
41 SkIRect::MakeLTRB(0, kScreenSplitY, kScreenSplitX, kScreenSize),
42 SkIRect::MakeLTRB(kScreenSplitX, 0, kScreenSize, kScreenSplitY),
43 SkIRect::MakeLTRB(kScreenSplitX, kScreenSplitY, kScreenSize, kScreenSize),
131 this->setBounds(SkRect::MakeIWH(kScreenSize, kScreenSize), in GrPipelineDynamicStateTestOp()
154 SkRect::MakeIWH(kScreenSize, kScreenSize)); in onExecute()
171 format, SkBackingFit::kExact, kScreenSize, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
172 kScreenSize, kRGBA_8888_GrPixelConfig, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
178 constexpr float d = (float) kScreenSize; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
208 uint32_t resultPx[kScreenSize * kScreenSize]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
215 rtc->readPixels(SkImageInfo::Make(kScreenSize, kScreenSize, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
217 resultPx, 4 * kScreenSize, 0, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
218 for (int y = 0; y < kScreenSize; ++y) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
219 for (int x = 0; x < kScreenSize; ++x) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
227 uint32_t actual = resultPx[y * kScreenSize + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()