Lines Matching refs:gpuSurface
264 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendTexture(context,
267 auto surfaceCanvas = gpuSurface->getCanvas();
269 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
301 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendRenderTarget(context,
304 auto surfaceCanvas = gpuSurface->getCanvas();
306 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
328 #ToDo example is bogus; gpuSurface should not make image ##
338 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendTextureAsRenderTarget(
341 auto surfaceCanvas = gpuSurface->getCanvas();
343 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
374 auto gpuSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info, 0,
376 auto surfaceCanvas = gpuSurface->getCanvas();
379 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
454 auto gpuSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info));
455 auto surfaceCanvas = gpuSurface->getCanvas();
458 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
686 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRenderTarget(
694 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
697 GrBackendTexture backendTex = gpuSurface->getBackendTexture(access);
701 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
1264 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRenderTarget(
1267 if (!gpuSurface->characterize(&characterization)) {
1277 gpuSurface->draw(displayList.get());
1278 sk_sp<SkImage> img = gpuSurface->makeImageSnapshot();
1296 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRasterN32Premul(64, 64);
1298 if (!gpuSurface->characterize(&characterization)) {
1308 gpuSurface->draw(displayList.get());
1309 sk_sp<SkImage> img = gpuSurface->makeImageSnapshot();