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

Unified Diff: ui/gl/gl_surface_glx.h

Issue 11474045: Always use either glXCreateNewContext or glXCreateContextAttribsARB for GLX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/gl/gl_surface_glx.h
diff --git a/ui/gl/gl_surface_glx.h b/ui/gl/gl_surface_glx.h
index 76a8f8197ef27c6562761bc940b1c201367bf3f8..ea5a2a27c4151d2a0ada8c76cbb416a5e3b7b673 100644
--- a/ui/gl/gl_surface_glx.h
+++ b/ui/gl/gl_surface_glx.h
@@ -28,6 +28,7 @@ class GL_EXPORT GLSurfaceGLX : public GLSurface {
// initialization guards.
static const char* GetGLXExtensions();
static bool HasGLXExtension(const char* name);
+ static bool IsCreateContextSupported();
static bool IsCreateContextRobustnessSupported();
static bool IsTextureFromPixmapSupported();
static bool IsOMLSyncControlSupported();
@@ -76,6 +77,7 @@ class GL_EXPORT NativeViewGLSurfaceGLX : public GLSurfaceGLX {
virtual ~NativeViewGLSurfaceGLX();
gfx::AcceleratedWidget window_;
+ XID glx_window_;
private:
void* config_;
« ui/gl/gl_context_glx.cc ('K') | « ui/gl/gl_context_glx.cc ('k') | ui/gl/gl_surface_glx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698