Home
last modified time | relevance | path

Searched refs:maskRTC (Results 1 – 2 of 2) sorted by relevance

/external/skia/gm/
Dwindowrectangles.cpp208 sk_sp<GrRenderTargetContext> maskRTC( in visualizeAlphaMask() local
214 if (!maskRTC) { in visualizeAlphaMask()
220 this->stencilCheckerboard(maskRTC.get(), true); in visualizeAlphaMask()
221 maskRTC->clear(nullptr, SK_PMColor4fWHITE, GrRenderTargetContext::CanClearFullscreen::kYes); in visualizeAlphaMask()
222 maskRTC->priv().drawAndStencilRect(make_stencil_only_clip(), &GrUserStencilSettings::kUnused, in visualizeAlphaMask()
224 SkRect::MakeIWH(maskRTC->width(), maskRTC->height())); in visualizeAlphaMask()
225 reducedClip.drawAlphaClipMask(maskRTC.get()); in visualizeAlphaMask()
233 AlphaOnlyClip clip(maskRTC->asTextureProxyRef(), x, y); in visualizeAlphaMask()
235 SkRect::Make(SkIRect::MakeXYWH(x, y, maskRTC->width(), maskRTC->height()))); in visualizeAlphaMask()
/external/skqp/gm/
Dwindowrectangles.cpp201 sk_sp<GrRenderTargetContext> maskRTC( in visualizeAlphaMask() local
207 if (!maskRTC) { in visualizeAlphaMask()
213 this->stencilCheckerboard(maskRTC.get(), true); in visualizeAlphaMask()
214 maskRTC->clear(nullptr, SK_PMColor4fWHITE, GrRenderTargetContext::CanClearFullscreen::kYes); in visualizeAlphaMask()
215 maskRTC->priv().drawAndStencilRect(make_stencil_only_clip(), &GrUserStencilSettings::kUnused, in visualizeAlphaMask()
217 SkRect::MakeIWH(maskRTC->width(), maskRTC->height())); in visualizeAlphaMask()
218 reducedClip.drawAlphaClipMask(maskRTC.get()); in visualizeAlphaMask()
226 AlphaOnlyClip clip(maskRTC->asTextureProxyRef(), x, y); in visualizeAlphaMask()
228 SkRect::Make(SkIRect::MakeXYWH(x, y, maskRTC->width(), maskRTC->height()))); in visualizeAlphaMask()