Searched refs:kCoverRect (Results 1 – 2 of 2) sorted by relevance
/external/skqp/gm/ |
D | windowrectangles.cpp | 25 constexpr static SkIRect kCoverRect = {50, 50, 550, 550}; variable 99 canvas->drawRect(SkRect::Make(kCoverRect), paint); in onCoverClipStack() 183 const GrReducedClip reducedClip(stack, SkRect::Make(kCoverRect), rtc->caps(), kNumWindows); in onCoverClipStack() 197 const int padRight = (kDeviceRect.right() - kCoverRect.right()) / 2; in visualizeAlphaMask() 198 const int padBottom = (kDeviceRect.bottom() - kCoverRect.bottom()) / 2; in visualizeAlphaMask() 204 kCoverRect.width() + padRight, in visualizeAlphaMask() 205 kCoverRect.height() + padBottom, in visualizeAlphaMask() 220 int x = kCoverRect.x() - kDeviceRect.x(), in visualizeAlphaMask() 221 y = kCoverRect.y() - kDeviceRect.y(); in visualizeAlphaMask() 274 canvas->clipRect(SkRect::Make(kCoverRect)); in fail() [all …]
|
/external/skia/gm/ |
D | windowrectangles.cpp | 25 constexpr static SkIRect kCoverRect = {50, 50, 550, 550}; variable 100 canvas->drawRect(SkRect::Make(kCoverRect), paint); in onCoverClipStack() 189 const GrReducedClip reducedClip(stack, SkRect::Make(kCoverRect), rtc->caps(), kNumWindows); in onCoverClipStack() 204 const int padRight = (kDeviceRect.right() - kCoverRect.right()) / 2; in visualizeAlphaMask() 205 const int padBottom = (kDeviceRect.bottom() - kCoverRect.bottom()) / 2; in visualizeAlphaMask() 211 kCoverRect.width() + padRight, in visualizeAlphaMask() 212 kCoverRect.height() + padBottom, in visualizeAlphaMask() 227 int x = kCoverRect.x() - kDeviceRect.x(), in visualizeAlphaMask() 228 y = kCoverRect.y() - kDeviceRect.y(); in visualizeAlphaMask()
|