Lines Matching refs:renderTargetContext
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()
248 sk_sp<GrRenderTargetContext> renderTargetContext(ctx->priv().makeDeferredRenderTargetContext( in MakeFromYUVATexturesCopy() local
251 if (!renderTargetContext) { in MakeFromYUVATexturesCopy()
256 imageSize, imageOrigin, renderTargetContext.get()); in MakeFromYUVATexturesCopy()
284 sk_sp<GrRenderTargetContext> renderTargetContext( in MakeFromYUVATexturesCopyWithExternalBackend() local
289 if (!renderTargetContext) { in MakeFromYUVATexturesCopyWithExternalBackend()
294 imageSize, imageOrigin, renderTargetContext.get()); in MakeFromYUVATexturesCopyWithExternalBackend()