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

Unified Diff: app/gfx/gl/gl_context_osmesa.h

Issue 2134006: Added EGL based GLContext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | « app/gfx/gl/gl_context_mac.cc ('k') | app/gfx/gl/gl_context_osmesa.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/gfx/gl/gl_context_osmesa.h
===================================================================
--- app/gfx/gl/gl_context_osmesa.h (revision 49195)
+++ app/gfx/gl/gl_context_osmesa.h (working copy)
@@ -20,7 +20,7 @@
virtual ~OSMesaGLContext();
// Initialize an OSMesa GL context with the default 1 x 1 initial size.
- bool Initialize(void* shared_handle);
+ bool Initialize(GLContext* shared_context);
// Implement GLContext.
virtual void Destroy();
@@ -40,11 +40,9 @@
}
private:
-#if !defined(UNIT_TEST)
gfx::Size size_;
scoped_array<int32> buffer_;
OSMesaContext context_;
-#endif
DISALLOW_COPY_AND_ASSIGN(OSMesaGLContext);
};
« no previous file with comments | « app/gfx/gl/gl_context_mac.cc ('k') | app/gfx/gl/gl_context_osmesa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698