Home
last modified time | relevance | path

Searched refs:surfCtx (Results 1 – 2 of 2) sorted by relevance

/external/skqp/tests/
DGrSurfaceTest.cpp215 auto surfCtx = context->contextPriv().makeDeferredSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
217 if (!surfCtx) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
223 if (surfCtx->readPixels(info, data.get(), 0, 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
235 surfCtx->writePixels(info, data.get(), 0, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DGrSurfaceTest.cpp296 std::unique_ptr<GrSurfaceContext> surfCtx; in DEF_GPUTEST() local
298 surfCtx = GrRenderTargetContext::Make( in DEF_GPUTEST()
303 surfCtx = GrSurfaceContext::Make( in DEF_GPUTEST()
309 if (!surfCtx) { in DEF_GPUTEST()
314 if (surfCtx->readPixels(readback.info(), readback.writable_addr(), in DEF_GPUTEST()