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

Unified Diff: ui/gfx/gl/gl_surface_egl.h

Issue 8060045: Use shared D3D9 texture to transport the compositor's backing buffer to the browser... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
Index: ui/gfx/gl/gl_surface_egl.h
===================================================================
--- ui/gfx/gl/gl_surface_egl.h (revision 106500)
+++ ui/gfx/gl/gl_surface_egl.h (working copy)
@@ -34,9 +34,11 @@
GLSurfaceEGL();
virtual ~GLSurfaceEGL();
+ // Implement GLSurface.
+ virtual EGLDisplay GetDisplay();
+ virtual EGLConfig GetConfig();
+
static bool InitializeOneOff();
- EGLDisplay GetDisplay();
- EGLConfig GetConfig();
static EGLDisplay GetHardwareDisplay();
static EGLDisplay GetSoftwareDisplay();
static EGLNativeDisplayType GetNativeDisplay();
@@ -81,7 +83,9 @@
virtual bool IsOffscreen();
virtual bool SwapBuffers();
virtual gfx::Size GetSize();
+ virtual bool Resize(const gfx::Size& size);
virtual EGLSurface GetHandle();
+ virtual void* GetShareHandle();
private:
gfx::Size size_;
« gpu/DEPS ('K') | « ui/gfx/gl/gl_surface.cc ('k') | ui/gfx/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698