diff options
author | rjkroege@chromium.org <rjkroege@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-24 06:55:56 +0000 |
---|---|---|
committer | rjkroege@chromium.org <rjkroege@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-24 06:55:56 +0000 |
commit | efcf2059d2fc17cd03bb821bcde2491ce5e330e6 (patch) | |
tree | 8dd00028a7be0b4ab603037c2d826a775b1a91fe /ui/gl/gl_surface_egl.h | |
parent | 4fea867474c9c8420ece786a381b662458bd010a (diff) | |
download | chromium_src-efcf2059d2fc17cd03bb821bcde2491ce5e330e6.zip chromium_src-efcf2059d2fc17cd03bb821bcde2491ce5e330e6.tar.gz chromium_src-efcf2059d2fc17cd03bb821bcde2491ce5e330e6.tar.bz2 |
Add a factory and defines for native Linux surfaces.
This CL is a first step towards supporting a build of the Aura
content shell on the native Linux framebuffer device. It sets up
the necessary defines such that an injected surface provider
dependency can vend a native surface.
BUG=178543
Review URL: https://chromiumcodereview.appspot.com/13886018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl/gl_surface_egl.h')
-rw-r--r-- | ui/gl/gl_surface_egl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h index 6440504..04db3a9 100644 --- a/ui/gl/gl_surface_egl.h +++ b/ui/gl/gl_surface_egl.h @@ -69,6 +69,9 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL { virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; virtual VSyncProvider* GetVSyncProvider() OVERRIDE; + // Create a NativeViewGLSurfaceEGL with an externally provided VSyncProvider. + virtual bool Initialize(VSyncProvider* sync_provider); + protected: virtual ~NativeViewGLSurfaceEGL(); void SetHandle(EGLSurface surface); |