/third_party/flutter/skia/src/gpu/ |
D | GrClipStackClip.cpp | 94 const GrRenderTargetContext* renderTargetContext, in PathNeedsSWRenderer() argument 118 SkASSERT(renderTargetContext->numSamples() <= 1); in PathNeedsSWRenderer() 128 canDrawArgs.fProxy = renderTargetContext->proxy(); in PathNeedsSWRenderer() 133 SkASSERT(!renderTargetContext->wrapsVkSecondaryCB()); in PathNeedsSWRenderer() 154 const GrRenderTargetContext* renderTargetContext, in UseSWOnlyPath() argument 167 renderTargetContext->wrapsVkSecondaryCB()) { in UseSWOnlyPath() 185 renderTargetContext, translate, element, nullptr, needsStencil)) { in UseSWOnlyPath() 195 bool GrClipStackClip::apply(GrRecordingContext* context, GrRenderTargetContext* renderTargetContext, in apply() argument 198 SkRect devBounds = SkRect::MakeIWH(renderTargetContext->width(), renderTargetContext->height()); in apply() 215 int maxWindowRectangles = renderTargetContext->priv().maxWindowRectangles(); in apply() [all …]
|
D | GrBlurUtils.cpp | 36 static bool draw_mask(GrRenderTargetContext* renderTargetContext, in draw_mask() argument 52 renderTargetContext->fillRectWithLocalMatrix(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), in draw_mask() 62 GrRenderTargetContext* renderTargetContext, in sw_draw_with_mask_filter() argument 167 return draw_mask(renderTargetContext, clipData, viewMatrix, drawRect, in sw_draw_with_mask_filter() 230 static bool get_shape_and_clip_bounds(GrRenderTargetContext* renderTargetContext, in get_shape_and_clip_bounds() argument 237 clip.getConservativeBounds(renderTargetContext->width(), in get_shape_and_clip_bounds() 238 renderTargetContext->height(), in get_shape_and_clip_bounds() 250 GrRenderTargetContext* renderTargetContext, in draw_shape_with_mask_filter() argument 276 renderTargetContext, in draw_shape_with_mask_filter() 293 if (!get_shape_and_clip_bounds(renderTargetContext, clip, *shape, viewMatrix, in draw_shape_with_mask_filter() [all …]
|
D | GrSoftwarePathRenderer.cpp | 70 bool GrSoftwarePathRenderer::GetShapeAndClipBounds(GrRenderTargetContext* renderTargetContext, in GetShapeAndClipBounds() argument 78 clip.getConservativeBounds(renderTargetContext->width(), in GetShapeAndClipBounds() 79 renderTargetContext->height(), in GetShapeAndClipBounds() 96 void GrSoftwarePathRenderer::DrawNonAARect(GrRenderTargetContext* renderTargetContext, in DrawNonAARect() argument 103 renderTargetContext->priv().stencilRect(clip, &userStencilSettings, std::move(paint), GrAA::kNo, in DrawNonAARect() 107 void GrSoftwarePathRenderer::DrawAroundInvPath(GrRenderTargetContext* renderTargetContext, in DrawAroundInvPath() argument 123 DrawNonAARect(renderTargetContext, GrPaint::Clone(paint), userStencilSettings, clip, in DrawAroundInvPath() 129 DrawNonAARect(renderTargetContext, GrPaint::Clone(paint), userStencilSettings, clip, in DrawAroundInvPath() 135 DrawNonAARect(renderTargetContext, GrPaint::Clone(paint), userStencilSettings, clip, in DrawAroundInvPath() 141 DrawNonAARect(renderTargetContext, std::move(paint), userStencilSettings, clip, in DrawAroundInvPath() [all …]
|
D | GrOnFlushResourceProvider.cpp | 30 sk_sp<GrRenderTargetContext> renderTargetContext(fDrawingMgr->makeRenderTargetContext( in makeRenderTargetContext() local 33 if (!renderTargetContext) { in makeRenderTargetContext() 37 renderTargetContext->discard(); in makeRenderTargetContext() 39 return renderTargetContext; in makeRenderTargetContext()
|
D | GrSoftwarePathRenderer.h | 36 static void DrawNonAARect(GrRenderTargetContext* renderTargetContext, 43 static void DrawAroundInvPath(GrRenderTargetContext* renderTargetContext, 55 GrRenderTargetContext* renderTargetContext,
|
D | GrReducedClip.cpp | 824 GrRenderTargetContext* renderTargetContext) const { in drawStencilClipMask() 834 renderTargetContext->priv().clearStencilClip(stencilClip.fixedClip(), initialState); in drawStencilClipMask() 840 bool doStencilMSAA = element->isAA() && renderTargetContext->numSamples() > 1; in drawStencilClipMask() 867 canDrawArgs.fProxy = renderTargetContext->proxy(); in drawStencilClipMask() 873 canDrawArgs.fTargetIsWrappedVkSecondaryCB = renderTargetContext->wrapsVkSecondaryCB(); in drawStencilClipMask() 905 stencil_device_rect(renderTargetContext, stencilClip.fixedClip(), &kDrawToStencil, in drawStencilClipMask() 917 renderTargetContext, in drawStencilClipMask() 928 args.fRenderTargetContext = renderTargetContext; in drawStencilClipMask() 945 stencil_device_rect(renderTargetContext, stencilClip, *pass, in drawStencilClipMask() 954 renderTargetContext, in drawStencilClipMask() [all …]
|
D | GrYUVProvider.cpp | 161 sk_sp<GrRenderTargetContext> renderTargetContext(ctx->priv().makeDeferredRenderTargetContext( in refAsTextureProxy() local 164 if (!renderTargetContext) { in refAsTextureProxy() 187 renderTargetContext->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, m, r); in refAsTextureProxy() 189 return renderTargetContext->asTextureProxyRef(); in refAsTextureProxy()
|
D | GrRecordingContext.cpp | 256 sk_sp<GrRenderTargetContext> renderTargetContext = drawingManager->makeRenderTargetContext( in makeDeferredRenderTargetContext() local 258 if (!renderTargetContext) { in makeDeferredRenderTargetContext() 262 renderTargetContext->discard(); in makeDeferredRenderTargetContext() 264 return renderTargetContext; in makeDeferredRenderTargetContext()
|
D | GrRenderTargetContextPriv.h | 119 explicit GrRenderTargetContextPriv(GrRenderTargetContext* renderTargetContext) in GrRenderTargetContextPriv() argument 120 : fRenderTargetContext(renderTargetContext) {} in GrRenderTargetContextPriv()
|
/third_party/flutter/skia/tests/ |
D | GLProgramsTest.cpp | 158 sk_sp<GrRenderTargetContext> renderTargetContext( in random_render_target_context() local 167 return renderTargetContext; in random_render_target_context() 308 sk_sp<GrRenderTargetContext> renderTargetContext( in ProgramUnitTest() local 310 if (!renderTargetContext) { in ProgramUnitTest() 316 GrProcessorTestData ptd(&random, context, renderTargetContext.get(), proxies); in ProgramUnitTest() 319 GrDrawRandomOp(&random, renderTargetContext.get(), std::move(paint)); in ProgramUnitTest() 326 sk_sp<GrRenderTargetContext> renderTargetContext( in ProgramUnitTest() local 332 if (!renderTargetContext) { in ProgramUnitTest() 341 GrProcessorTestData ptd(&random, context, renderTargetContext.get(), proxies); in ProgramUnitTest() 348 GrDrawRandomOp(&random, renderTargetContext.get(), std::move(paint)); in ProgramUnitTest()
|
D | PrimitiveProcessorTest.cpp | 135 sk_sp<GrRenderTargetContext> renderTargetContext( in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 138 if (!renderTargetContext) { in DEF_GPUTEST_FOR_ALL_CONTEXTS() 154 renderTargetContext->discard(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 158 renderTargetContext->priv().testingOnly_addDrawOp(Op::Make(context, attribCnt)); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 165 renderTargetContext->priv().testingOnly_addDrawOp(Op::Make(context, attribCnt + 1)); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
D | PathRendererCacheTests.cpp | 32 GrRenderTargetContext* renderTargetContext, in draw_path() argument 41 SkIRect clipConservativeBounds = SkIRect::MakeWH(renderTargetContext->width(), in draw_path() 42 renderTargetContext->height()); in draw_path() 51 renderTargetContext, in draw_path()
|
/third_party/flutter/skia/src/core/ |
D | SkSpecialSurface.cpp | 128 sk_sp<GrRenderTargetContext> renderTargetContext, in SkSpecialSurface_Gpu() argument 130 : INHERITED(subset, &renderTargetContext->surfaceProps()) in SkSpecialSurface_Gpu() 131 , fRenderTargetContext(std::move(renderTargetContext)) { in SkSpecialSurface_Gpu() 179 sk_sp<GrRenderTargetContext> renderTargetContext( in MakeRenderTarget() local 183 if (!renderTargetContext) { in MakeRenderTarget() 189 return sk_make_sp<SkSpecialSurface_Gpu>(context, std::move(renderTargetContext), in MakeRenderTarget()
|
D | SkBlurMF.cpp | 59 GrRenderTargetContext* renderTargetContext, 720 GrRenderTargetContext* renderTargetContext, in directFilterMaskGPU() argument 725 SkASSERT(renderTargetContext); in directFilterMaskGPU() 788 renderTargetContext->drawRect(clip, std::move(paint), GrAA::kNo, viewMatrix, srcProxyRect); in directFilterMaskGPU() 809 renderTargetContext->drawVertices(clip, std::move(paint), viewMatrix, std::move(vertices), in directFilterMaskGPU() 822 renderTargetContext->fillRectWithLocalMatrix(clip, std::move(paint), GrAA::kNo, in directFilterMaskGPU() 881 sk_sp<GrRenderTargetContext> renderTargetContext( in filterMaskGPU() local 892 if (!renderTargetContext) { in filterMaskGPU() 916 renderTargetContext->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, SkMatrix::I(), in filterMaskGPU() 920 return renderTargetContext->asTextureProxyRef(); in filterMaskGPU()
|
D | SkGpuBlurUtils.cpp | 74 static void convolve_gaussian_1d(GrRenderTargetContext* renderTargetContext, in convolve_gaussian_1d() argument 91 renderTargetContext->fillRectWithLocalMatrix(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), in convolve_gaussian_1d() 124 sk_sp<GrRenderTargetContext> renderTargetContext; in convolve_gaussian_2d() local 125 renderTargetContext = context->priv().makeDeferredRenderTargetContext( in convolve_gaussian_2d() 137 if (!renderTargetContext) { in convolve_gaussian_2d() 152 renderTargetContext->fillRectWithLocalMatrix(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), in convolve_gaussian_2d() 155 return renderTargetContext; in convolve_gaussian_2d()
|
/third_party/flutter/skia/src/image/ |
D | SkImage_Gpu.cpp | 89 sk_sp<GrRenderTargetContext> renderTargetContext( in onMakeColorTypeAndColorSpace() local 93 if (!renderTargetContext) { in onMakeColorTypeAndColorSpace() 104 renderTargetContext->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, SkMatrix::I(), in onMakeColorTypeAndColorSpace() 106 if (!renderTargetContext->asTextureProxy()) { in onMakeColorTypeAndColorSpace() 112 renderTargetContext->asTextureProxyRef(), std::move(targetCS)); in onMakeColorTypeAndColorSpace() 210 GrRenderTargetContext* renderTargetContext) { in ConvertYUVATexturesToRGB() argument 211 SkASSERT(renderTargetContext); in ConvertYUVATexturesToRGB() 225 if (!RenderYUVAToRGBA(ctx, renderTargetContext, rect, yuvColorSpace, nullptr, in ConvertYUVATexturesToRGB() 233 renderTargetContext->asTextureProxyRef(), in ConvertYUVATexturesToRGB() 234 renderTargetContext->colorSpaceInfo().refColorSpace()); in ConvertYUVATexturesToRGB() [all …]
|
/third_party/flutter/skia/gm/ |
D | beziereffects.cpp | 181 void onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw() argument 194 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols; in onDraw() 195 SkScalar h = SkIntToScalar(renderTargetContext->height()) / numRows; in onDraw() 262 renderTargetContext->priv().testingOnly_addDrawOp(std::move(op)); in onDraw() 386 void onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw() argument 398 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols; in onDraw() 399 SkScalar h = SkIntToScalar(renderTargetContext->height()) / numRows; in onDraw() 467 renderTargetContext->priv().testingOnly_addDrawOp(std::move(op)); in onDraw()
|
D | rrects.cpp | 83 GrRenderTargetContext* renderTargetContext = in onDraw() local 86 if (kEffect_Type == fType && (!renderTargetContext || !context)) { in onDraw() 122 const auto& caps = *renderTargetContext->caps()->shaderCaps(); in onDraw() 133 renderTargetContext->priv().testingOnly_addDrawOp( in onDraw()
|
D | yuvtorgbeffect.cpp | 97 DrawResult onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw() argument 140 renderTargetContext->priv().testingOnly_addDrawOp( in onDraw() 216 DrawResult onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw() argument 256 renderTargetContext->priv().testingOnly_addDrawOp(std::move(op)); in onDraw() 313 DrawResult onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw() argument 362 renderTargetContext->drawRect( in onDraw()
|
D | bigrrectaaeffect.cpp | 70 void onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw() argument 93 const auto& caps = *renderTargetContext->caps()->shaderCaps(); in onDraw() 105 renderTargetContext->priv().testingOnly_addDrawOp( in onDraw()
|
D | constcolorprocessor.cpp | 71 void onDraw(GrContext* context, GrRenderTargetContext* renderTargetContext, in onDraw() argument 115 SkAssertResult(SkPaintToGrPaint(context, renderTargetContext->colorSpaceInfo(), in onDraw() 123 renderTargetContext->priv().testingOnly_addDrawOp( in onDraw()
|
/third_party/flutter/skia/tools/gpu/ |
D | GrTest.cpp | 175 void GrDrawRandomOp(SkRandom* random, GrRenderTargetContext* renderTargetContext, GrPaint&& paint) { in GrDrawRandomOp() argument 176 auto context = renderTargetContext->surfPriv().getContext(); in GrDrawRandomOp() 206 std::move(paint), random, context, renderTargetContext->numSamples()); in GrDrawRandomOp() 208 renderTargetContext->priv().testingOnly_addDrawOp(std::move(op)); in GrDrawRandomOp()
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkXfermodeImageFilter.cpp | 308 sk_sp<GrRenderTargetContext> renderTargetContext( in filterImageGPU() local 312 if (!renderTargetContext) { in filterImageGPU() 318 renderTargetContext->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, matrix, in filterImageGPU() 325 renderTargetContext->asTextureProxyRef(), in filterImageGPU() 326 renderTargetContext->colorSpaceInfo().refColorSpace()); in filterImageGPU()
|
D | SkMorphologyImageFilter.cpp | 465 static void apply_morphology_rect(GrRenderTargetContext* renderTargetContext, in apply_morphology_rect() argument 479 renderTargetContext->fillRectToRect(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), in apply_morphology_rect() 483 static void apply_morphology_rect_no_bounds(GrRenderTargetContext* renderTargetContext, in apply_morphology_rect_no_bounds() argument 495 renderTargetContext->fillRectToRect(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), in apply_morphology_rect_no_bounds() 499 static void apply_morphology_pass(GrRenderTargetContext* renderTargetContext, in apply_morphology_pass() argument 532 apply_morphology_rect(renderTargetContext, clip, std::move(textureProxy), in apply_morphology_pass() 536 apply_morphology_rect(renderTargetContext, clip, textureProxy, in apply_morphology_pass() 538 apply_morphology_rect(renderTargetContext, clip, textureProxy, in apply_morphology_pass() 540 apply_morphology_rect_no_bounds(renderTargetContext, clip, std::move(textureProxy), in apply_morphology_pass()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrDefaultPathRenderer.cpp | 494 bool GrDefaultPathRenderer::internalDrawPath(GrRenderTargetContext* renderTargetContext, in internalDrawPath() argument 502 auto context = renderTargetContext->surfPriv().getContext(); in internalDrawPath() 591 renderTargetContext->asRenderTargetProxy()->worstCaseWidth(), in internalDrawPath() 592 renderTargetContext->asRenderTargetProxy()->worstCaseHeight(), in internalDrawPath() 618 renderTargetContext->priv().stencilRect(clip, passes[p], std::move(paint), in internalDrawPath() 634 renderTargetContext->addDrawOp(clip, std::move(op)); in internalDrawPath()
|