Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Unified Diff: cc/surfaces/surface_factory.h

Issue 509193002: Allow requesting a copy of a surface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/surfaces/surface.cc ('k') | cc/surfaces/surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_factory.h
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
index fafa53c540f47073c59189d1a25e062d3dfa3329..0a2ece7aeed11047d2c8ec1bd42c599322e3811d 100644
--- a/cc/surfaces/surface_factory.h
+++ b/cc/surfaces/surface_factory.h
@@ -19,6 +19,7 @@ class Size;
namespace cc {
class CompositorFrame;
+class CopyOutputRequest;
class Surface;
class SurfaceFactoryClient;
class SurfaceManager;
@@ -42,6 +43,8 @@ class CC_SURFACES_EXPORT SurfaceFactory
void SubmitFrame(SurfaceId surface_id,
scoped_ptr<CompositorFrame> frame,
const base::Closure& callback);
+ void RequestCopyOfSurface(SurfaceId surface_id,
+ scoped_ptr<CopyOutputRequest> copy_request);
SurfaceFactoryClient* client() { return client_; }
« no previous file with comments | « cc/surfaces/surface.cc ('k') | cc/surfaces/surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698