Lines Matching refs:contextPriv
264 ctx->contextPriv().copyOpListsFromDDL(ddl, rtc->asRenderTargetProxy()); in onDraw()
297 if (!SkSurface_Gpu::Valid(context->contextPriv().caps(), c.config(), c.colorSpace())) { in MakeRenderTarget()
311 context->contextPriv().caps()->getBackendFormatFromColorType(c.colorType()); in MakeRenderTarget()
314 context->contextPriv().makeDeferredSurfaceContext(format, desc, c.origin(), in MakeRenderTarget()
355 if (!ctx->contextPriv().caps()->mipMapSupport()) { in MakeRenderTarget()
403 *config = ctx->contextPriv().caps()->getConfigFromBackendFormat(backendFormat, ct); in validate_backend_texture()
410 if (!ctx->contextPriv().caps()->getRenderTargetSampleCount(sampleCnt, *config)) { in validate_backend_texture()
414 if (texturable && !ctx->contextPriv().caps()->isConfigTexturable(*config)) { in validate_backend_texture()
438 if (!SkSurface_Gpu::Valid(context->contextPriv().caps(), texCopy.config(), colorSpace.get())) { in MakeFromBackendTexture()
443 sk_sp<GrRenderTargetContext> rtc(context->contextPriv().makeBackendTextureRenderTargetContext( in MakeFromBackendTexture()
472 *config = ctx->contextPriv().caps()->validateBackendRenderTarget(rt, ct); in validate_backend_render_target()
478 if (ctx->contextPriv().caps()->maxRenderTargetSampleCount(*config) <= 1) { in validate_backend_render_target()
481 } else if (!ctx->contextPriv().caps()->isConfigRenderable(*config)) { in validate_backend_render_target()
502 if (!SkSurface_Gpu::Valid(context->contextPriv().caps(), rtCopy.config(), colorSpace.get())) { in MakeFromBackendRenderTarget()
511 context->contextPriv().makeBackendRenderTargetRenderTargetContext( in MakeFromBackendRenderTarget()
545 if (!SkSurface_Gpu::Valid(context->contextPriv().caps(), texCopy.config(), colorSpace.get())) { in MakeFromBackendTextureAsRenderTarget()
550 context->contextPriv().makeBackendTextureAsRenderTargetRenderTargetContext( in MakeFromBackendTextureAsRenderTarget()