Lines Matching refs:dContext
18 auto dContext = factory.get(contextType); in DEF_GPUTEST() local
19 if (!dContext) { in DEF_GPUTEST()
35 auto subImg1 = rasterImg->makeSubset(subsetBounds, dContext); in DEF_GPUTEST()
36 REPORTER_ASSERT(reporter, subImg1->isValid(dContext)); in DEF_GPUTEST()
43 auto surf = SkSurface::MakeRenderTarget(dContext, SkBudgeted::kNo, ii); in DEF_GPUTEST()
47 dContext->createBackendTexture(ii.width(), ii.height(), ii.colorType(), in DEF_GPUTEST()
49 auto gpuImage = SkImage::MakeFromTexture(dContext, tex, kTopLeft_GrSurfaceOrigin, in DEF_GPUTEST()
52 REPORTER_ASSERT(reporter, gpuImage->isValid(dContext)); in DEF_GPUTEST()
55 auto subImg5 = gpuImage->makeSubset(subsetBounds, dContext); in DEF_GPUTEST()
56 REPORTER_ASSERT(reporter, subImg5->isValid(dContext)); in DEF_GPUTEST()
61 dContext->flush(); in DEF_GPUTEST()
62 dContext->submit(true); in DEF_GPUTEST()
63 dContext->deleteBackendTexture(tex); in DEF_GPUTEST()