/external/skqp/src/gpu/ |
D | GrClipStackClip.cpp | 93 const GrRenderTargetContext* renderTargetContext, in PathNeedsSWRenderer() argument 127 renderTargetContext->fsaaType(), in PathNeedsSWRenderer() 130 SkASSERT(!renderTargetContext->wrapsVkSecondaryCB()); in PathNeedsSWRenderer() 151 const GrRenderTargetContext* renderTargetContext, in UseSWOnlyPath() argument 164 renderTargetContext->wrapsVkSecondaryCB()) { in UseSWOnlyPath() 182 renderTargetContext, translate, element, nullptr, needsStencil)) { in UseSWOnlyPath() 192 bool GrClipStackClip::apply(GrContext* context, GrRenderTargetContext* renderTargetContext, in apply() argument 195 SkRect devBounds = SkRect::MakeIWH(renderTargetContext->width(), renderTargetContext->height()); in apply() 204 int maxWindowRectangles = renderTargetContext->priv().maxWindowRectangles(); in apply() 206 if (GrFSAAType::kNone != renderTargetContext->fsaaType()) { 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 168 return draw_mask(renderTargetContext, clipData, viewMatrix, drawRect, in sw_draw_with_mask_filter() 233 static bool get_shape_and_clip_bounds(GrRenderTargetContext* renderTargetContext, in get_shape_and_clip_bounds() argument 240 clip.getConservativeBounds(renderTargetContext->width(), in get_shape_and_clip_bounds() 241 renderTargetContext->height(), in get_shape_and_clip_bounds() 253 GrRenderTargetContext* renderTargetContext, in draw_shape_with_mask_filter() argument 279 renderTargetContext, in draw_shape_with_mask_filter() 296 if (!get_shape_and_clip_bounds(renderTargetContext, clip, *shape, viewMatrix, in draw_shape_with_mask_filter() [all …]
|
D | GrSoftwarePathRenderer.cpp | 68 bool GrSoftwarePathRenderer::GetShapeAndClipBounds(GrRenderTargetContext* renderTargetContext, in GetShapeAndClipBounds() argument 76 clip.getConservativeBounds(renderTargetContext->width(), in GetShapeAndClipBounds() 77 renderTargetContext->height(), in GetShapeAndClipBounds() 94 void GrSoftwarePathRenderer::DrawNonAARect(GrRenderTargetContext* renderTargetContext, in DrawNonAARect() argument 101 GrContext* context = renderTargetContext->surfPriv().getContext(); in DrawNonAARect() 102 renderTargetContext->addDrawOp(clip, in DrawNonAARect() 108 void GrSoftwarePathRenderer::DrawAroundInvPath(GrRenderTargetContext* renderTargetContext, in DrawAroundInvPath() argument 124 DrawNonAARect(renderTargetContext, GrPaint::Clone(paint), userStencilSettings, clip, in DrawAroundInvPath() 130 DrawNonAARect(renderTargetContext, GrPaint::Clone(paint), userStencilSettings, clip, in DrawAroundInvPath() 136 DrawNonAARect(renderTargetContext, GrPaint::Clone(paint), userStencilSettings, clip, in DrawAroundInvPath() [all …]
|
D | GrOnFlushResourceProvider.cpp | 27 sk_sp<GrRenderTargetContext> renderTargetContext( in makeRenderTargetContext() local 32 if (!renderTargetContext) { in makeRenderTargetContext() 36 renderTargetContext->discard(); in makeRenderTargetContext() 38 return renderTargetContext; in makeRenderTargetContext()
|
D | GrSoftwarePathRenderer.h | 36 static void DrawNonAARect(GrRenderTargetContext* renderTargetContext, 43 static void DrawAroundInvPath(GrRenderTargetContext* renderTargetContext, 55 GrRenderTargetContext* renderTargetContext,
|
D | GrYUVProvider.cpp | 159 sk_sp<GrRenderTargetContext> renderTargetContext( in refAsTextureProxy() local 163 if (!renderTargetContext) { in refAsTextureProxy() 186 renderTargetContext->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, m, r); in refAsTextureProxy() 188 return renderTargetContext->asTextureProxyRef(); in refAsTextureProxy()
|
D | GrReducedClip.cpp | 813 GrRenderTargetContext* renderTargetContext) const { in drawStencilClipMask() 823 renderTargetContext->priv().clearStencilClip(stencilClip.fixedClip(), initialState); in drawStencilClipMask() 829 if (element->isAA() && GrFSAAType::kNone != renderTargetContext->fsaaType()) { in drawStencilClipMask() 861 canDrawArgs.fTargetIsWrappedVkSecondaryCB = renderTargetContext->wrapsVkSecondaryCB(); in drawStencilClipMask() 893 renderTargetContext->priv().stencilRect(stencilClip.fixedClip(), &kDrawToStencil, in drawStencilClipMask() 906 renderTargetContext, in drawStencilClipMask() 917 args.fRenderTargetContext = renderTargetContext; in drawStencilClipMask() 934 renderTargetContext->priv().stencilRect(stencilClip, *pass, aaType, in drawStencilClipMask() 944 renderTargetContext, in drawStencilClipMask() 956 renderTargetContext->priv().stencilRect(stencilClip, *pass, aaType, SkMatrix::I(), in drawStencilClipMask()
|
D | GrRenderTargetContextPriv.h | 121 explicit GrRenderTargetContextPriv(GrRenderTargetContext* renderTargetContext) in GrRenderTargetContextPriv() argument 122 : fRenderTargetContext(renderTargetContext) {} in GrRenderTargetContextPriv()
|
/external/skqp/tests/ |
D | GLProgramsTest.cpp | 159 sk_sp<GrRenderTargetContext> renderTargetContext( in random_render_target_context() local 169 return renderTargetContext; in random_render_target_context() 302 sk_sp<GrRenderTargetContext> renderTargetContext( in ProgramUnitTest() local 304 if (!renderTargetContext) { in ProgramUnitTest() 310 GrProcessorTestData ptd(&random, context, renderTargetContext.get(), proxies); in ProgramUnitTest() 313 GrDrawRandomOp(&random, renderTargetContext.get(), std::move(paint)); in ProgramUnitTest() 321 sk_sp<GrRenderTargetContext> renderTargetContext( in ProgramUnitTest() local 328 if (!renderTargetContext) { in ProgramUnitTest() 337 GrProcessorTestData ptd(&random, context, renderTargetContext.get(), proxies); in ProgramUnitTest() 344 GrDrawRandomOp(&random, renderTargetContext.get(), std::move(paint)); in ProgramUnitTest()
|
D | PrimitiveProcessorTest.cpp | 127 sk_sp<GrRenderTargetContext> renderTargetContext( in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 131 if (!renderTargetContext) { in DEF_GPUTEST_FOR_ALL_CONTEXTS() 147 renderTargetContext->discard(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 151 renderTargetContext->priv().testingOnly_addDrawOp(Op::Make(context, attribCnt)); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 158 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()
|
/external/skqp/src/core/ |
D | SkSpecialSurface.cpp | 126 SkSpecialSurface_Gpu(GrContext* context, sk_sp<GrRenderTargetContext> renderTargetContext, in SkSpecialSurface_Gpu() argument 128 : INHERITED(subset, &renderTargetContext->surfaceProps()) in SkSpecialSurface_Gpu() 129 , fRenderTargetContext(std::move(renderTargetContext)) { in SkSpecialSurface_Gpu() 177 sk_sp<GrRenderTargetContext> renderTargetContext( in MakeRenderTarget() local 181 if (!renderTargetContext) { in MakeRenderTarget() 187 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() 791 renderTargetContext->drawRect(clip, std::move(paint), GrAA::kNo, viewMatrix, srcProxyRect); in directFilterMaskGPU() 812 renderTargetContext->drawVertices(clip, std::move(paint), viewMatrix, std::move(vertices), in directFilterMaskGPU() 825 renderTargetContext->fillRectWithLocalMatrix(clip, std::move(paint), GrAA::kNo, in directFilterMaskGPU() 884 sk_sp<GrRenderTargetContext> renderTargetContext( in filterMaskGPU() local 894 if (!renderTargetContext) { in filterMaskGPU() 918 renderTargetContext->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, SkMatrix::I(), in filterMaskGPU() 922 return renderTargetContext->asTextureProxyRef(); in filterMaskGPU()
|
/external/skqp/src/image/ |
D | SkImage_Gpu.cpp | 76 sk_sp<GrRenderTargetContext> renderTargetContext( in onMakeColorTypeAndColorSpace() local 80 if (!renderTargetContext) { in onMakeColorTypeAndColorSpace() 91 renderTargetContext->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, SkMatrix::I(), in onMakeColorTypeAndColorSpace() 93 if (!renderTargetContext->asTextureProxy()) { in onMakeColorTypeAndColorSpace() 99 renderTargetContext->asTextureProxyRef(), std::move(targetCS)); in onMakeColorTypeAndColorSpace() 189 GrRenderTargetContext* renderTargetContext) { in ConvertYUVATexturesToRGB() argument 190 SkASSERT(renderTargetContext); in ConvertYUVATexturesToRGB() 204 if (!RenderYUVAToRGBA(ctx, renderTargetContext, rect, yuvColorSpace, in ConvertYUVATexturesToRGB() 212 renderTargetContext->asTextureProxyRef(), in ConvertYUVATexturesToRGB() 213 renderTargetContext->colorSpaceInfo().refColorSpace()); in ConvertYUVATexturesToRGB() [all …]
|
D | SkImage_GpuYUVA.cpp | 107 sk_sp<GrRenderTargetContext> renderTargetContext( in asTextureProxyRef() local 111 if (!renderTargetContext) { in asTextureProxyRef() 116 if (!RenderYUVAToRGBA(fContext.get(), renderTargetContext.get(), rect, fYUVColorSpace, in asTextureProxyRef() 121 fRGBProxy = renderTargetContext->asTextureProxyRef(); in asTextureProxyRef()
|
/external/skqp/gm/ |
D | beziereffects.cpp | 148 GrRenderTargetContext* renderTargetContext = in onDraw() local 150 if (!renderTargetContext) { in onDraw() 171 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols; in onDraw() 172 SkScalar h = SkIntToScalar(renderTargetContext->height()) / numRows; in onDraw() 239 renderTargetContext->priv().testingOnly_addDrawOp(std::move(op)); in onDraw() 365 GrRenderTargetContext* renderTargetContext = in onDraw() local 367 if (!renderTargetContext) { in onDraw() 387 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols; in onDraw() 388 SkScalar h = SkIntToScalar(renderTargetContext->height()) / numRows; in onDraw() 456 renderTargetContext->priv().testingOnly_addDrawOp(std::move(op)); in onDraw()
|
D | bigrrectaaeffect.cpp | 52 GrRenderTargetContext* renderTargetContext = in onDraw() local 54 if (!renderTargetContext) { in onDraw() 85 const auto& caps = *renderTargetContext->caps()->shaderCaps(); in onDraw() 97 renderTargetContext->priv().testingOnly_addDrawOp( in onDraw()
|
D | yuvtorgbeffect.cpp | 76 GrRenderTargetContext* renderTargetContext = in onDraw() local 78 if (!renderTargetContext) { in onDraw() 132 renderTargetContext->priv().testingOnly_addDrawOp( in onDraw() 203 GrRenderTargetContext* renderTargetContext = in onDraw() local 205 if (!renderTargetContext) { in onDraw() 256 renderTargetContext->priv().testingOnly_addDrawOp(std::move(op)); in onDraw()
|
D | constcolorprocessor.cpp | 48 GrRenderTargetContext* renderTargetContext = in onDraw() local 50 if (!renderTargetContext) { in onDraw() 102 SkAssertResult(SkPaintToGrPaint(context, renderTargetContext->colorSpaceInfo(), in onDraw() 110 renderTargetContext->priv().testingOnly_addDrawOp( in onDraw()
|
D | rrects.cpp | 64 GrRenderTargetContext* renderTargetContext = in onDraw() local 66 if (kEffect_Type == fType && !renderTargetContext) { in onDraw() 108 const auto& caps = *renderTargetContext->caps()->shaderCaps(); in onDraw() 119 renderTargetContext->priv().testingOnly_addDrawOp( in onDraw()
|
D | etc1.cpp | 66 GrRenderTargetContext* renderTargetContext = in onDraw() local 68 if (!renderTargetContext) { in onDraw()
|
D | texturedomaineffect.cpp | 86 GrRenderTargetContext* renderTargetContext = in onDraw() local 88 if (!renderTargetContext) { in onDraw() 154 renderTargetContext->priv().testingOnly_addDrawOp( in onDraw()
|
D | convexpolyeffect.cpp | 181 GrRenderTargetContext* renderTargetContext = in onDraw() local 183 if (!renderTargetContext) { in onDraw() 219 renderTargetContext->priv().testingOnly_addDrawOp(std::move(op)); in onDraw() 259 renderTargetContext->priv().testingOnly_addDrawOp(std::move(op)); in onDraw()
|
D | fontregen.cpp | 80 GrRenderTargetContext* renderTargetContext = in onDraw() local 82 if (!renderTargetContext) { in onDraw()
|
/external/skqp/src/effects/imagefilters/ |
D | SkXfermodeImageFilter.cpp | 326 sk_sp<GrRenderTargetContext> renderTargetContext( in filterImageGPU() local 331 if (!renderTargetContext) { in filterImageGPU() 337 renderTargetContext->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, matrix, in filterImageGPU() 344 renderTargetContext->asTextureProxyRef(), in filterImageGPU() 345 renderTargetContext->colorSpaceInfo().refColorSpace()); in filterImageGPU()
|