Lines Matching defs:surface
28 * (make_surface) create a GPU backend surface of the same GrDirectContext
32 * the ddl on a GPU backend surface.
178 auto surface = SkSurface::MakeRenderTarget(dContext, budgeted, ii, kSampleCount, origin,
180 return surface;
183 static bool draw_ddl(sk_sp<SkSurface> surface, sk_sp<SkDeferredDisplayList> ddl) {
184 return surface->draw(std::move(ddl));
197 auto surface = make_surface(fuzz, dContext, ii, origin);
198 if (!surface) {
201 return {surface, c};
219 auto[surface, c] = create_surface_and_characterization(fuzz, dContext, surfaceType, origin);
220 if (!surface || !c.isValid()) {
229 if (!draw_ddl(std::move(surface), std::move(ddl))) {