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

Unified Diff: ui/gfx/gl/gl_surface_osmesa.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_osmesa.h
===================================================================
--- ui/gfx/gl/gl_surface_osmesa.h (revision 106500)
+++ ui/gfx/gl/gl_surface_osmesa.h (working copy)
@@ -22,7 +22,7 @@
// Resize the back buffer, preserving the old content. Does nothing if the
// size is unchanged.
- void Resize(const gfx::Size& new_size);
+ virtual bool Resize(const gfx::Size& new_size);
// Implement GLSurface.
virtual bool Initialize();
@@ -31,10 +31,8 @@
virtual bool SwapBuffers();
virtual gfx::Size GetSize();
virtual void* GetHandle();
+ virtual unsigned GetFormat();
- // Get the surface's format.
- unsigned GetFormat();
-
private:
void AllocateBuffer(const Size& size);
« gpu/DEPS ('K') | « ui/gfx/gl/gl_surface_glx.cc ('k') | ui/gfx/gl/gl_surface_osmesa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698