Searched refs:grSurfaceContext (Results 1 – 2 of 2) sorted by relevance
743 sk_sp<GrSurfaceContext> grSurfaceContext(grSurfaceGetter(surface.get())); in test_surface_clear() local744 if (!grSurfaceContext) { in test_surface_clear()751 grSurfaceContext->readPixels(ii, pixels.get(), 0, 0, 0); in test_surface_clear()