Lines Matching refs:dContext
24 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() local
28 return sk_gpu_test::MakeBackendTextureSurface(dContext, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
35 return sk_gpu_test::GetTextureImageProxy(img.get(), dContext)->uniqueID(); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
83 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
85 auto dst = GrSurfaceDrawContext::Make(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 auto src = GrSurfaceDrawContext::Make(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
102 dContext->priv().drawingManager()->newCopyRenderTask(src->asSurfaceProxyRef(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
117 dst->readPixels(dContext, pixels, {0, 0}); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
129 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
131 auto dst = GrSurfaceDrawContext::Make(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
138 dContext->flush(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
145 auto temp = GrSurfaceDrawContext::Make(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
158 dst->readPixels(dContext, pixels, {0, 0}); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()