Searched refs:rtContext (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/tests/ |
D | ClearTest.cpp | 75 sk_sp<GrRenderTargetContext> rtContext; in clear_op_test() local 101 rtContext = newRTC(context, kW, kH); in clear_op_test() 102 SkASSERT(rtContext); in clear_op_test() 105 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test() 106 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test() 111 rtContext = newRTC(context, kW, kH); in clear_op_test() 112 SkASSERT(rtContext); in clear_op_test() 115 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test() 116 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test() 117 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test() [all …]
|
D | RectangleTextureTest.cpp | 29 sk_sp<GrRenderTargetContext> rtContext(context->priv().makeDeferredRenderTargetContext( in test_basic_draw_as_src() local 34 rtContext->clear(nullptr, SkPMColor4f::FromBytes_RGBA(0xDDCCBBAA), in test_basic_draw_as_src() 40 rtContext->drawPaint(GrNoClip(), std::move(paint), SkMatrix::I()); in test_basic_draw_as_src() 41 test_read_pixels(reporter, rtContext.get(), expectedPixelValues, in test_basic_draw_as_src()
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkAlphaThresholdFilter.cpp | 106 sk_sp<GrRenderTargetContext> rtContext( in createMaskTexture() local 110 if (!rtContext) { in createMaskTexture() 115 rtContext->clear(nullptr, SK_PMColor4fTRANSPARENT, in createMaskTexture() 125 rtContext->drawRect(clip, std::move(paint), GrAA::kNo, inMatrix, rect); in createMaskTexture() 130 return rtContext->asTextureProxyRef(); in createMaskTexture()
|
/third_party/flutter/skia/src/gpu/ |
D | GrBlurUtils.cpp | 177 sk_sp<GrRenderTargetContext> rtContext( in create_mask_GPU() local 182 if (!rtContext) { in create_mask_GPU() 186 rtContext->priv().absClear(nullptr, SK_PMColor4fTRANSPARENT); in create_mask_GPU() 199 rtContext->drawShape(clip, std::move(maskPaint), GrAA::kYes, viewMatrix, shape); in create_mask_GPU() 200 return rtContext->asTextureProxyRef(); in create_mask_GPU()
|