static void check_instantiation_status(skiatest::Reporter *reporter, skgpu::ganesh::SurfaceDrawContext *sdc, bool wrappedExpectation)
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS(SurfaceDrawContextTest, reporter, ctxInfo, CtsEnforcement::kApiLevel_T)
static std::unique_ptr< skgpu::ganesh::SurfaceDrawContext > get_sdc(GrRecordingContext *rContext)
bool instantiate(GrResourceProvider *) override
GrTextureProxy * asTextureProxy() override
GrRenderTargetProxy * asRenderTargetProxy()
GrTextureProxy * asTextureProxy()
static std::unique_ptr< SurfaceDrawContext > Make(GrRecordingContext *, GrColorType, sk_sp< GrSurfaceProxy >, sk_sp< SkColorSpace >, GrSurfaceOrigin, const SkSurfaceProps &)