Lines Matching refs:kScreenSize
31 static constexpr int kScreenSize = 6; variable
33 static constexpr int kScreenSplitX = kScreenSize/2;
34 static constexpr int kScreenSplitY = kScreenSize/2;
38 SkIRect::MakeLTRB(0, kScreenSplitY, kScreenSplitX, kScreenSize),
39 SkIRect::MakeLTRB(kScreenSplitX, 0, kScreenSize, kScreenSplitY),
40 SkIRect::MakeLTRB(kScreenSplitX, kScreenSplitY, kScreenSize, kScreenSize),
128 this->setBounds(SkRect::MakeIWH(kScreenSize, kScreenSize), in GrPipelineDynamicStateTestOp()
150 SkRect::MakeIWH(kScreenSize, kScreenSize)); in onExecute()
167 format, SkBackingFit::kExact, kScreenSize, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
168 kScreenSize, kRGBA_8888_GrPixelConfig, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
174 constexpr float d = (float) kScreenSize; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
206 uint32_t resultPx[kScreenSize * kScreenSize]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
213 rtc->readPixels(SkImageInfo::Make(kScreenSize, kScreenSize, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
215 resultPx, 4 * kScreenSize, 0, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
216 for (int y = 0; y < kScreenSize; ++y) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
217 for (int x = 0; x < kScreenSize; ++x) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
225 uint32_t actual = resultPx[y * kScreenSize + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()