diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/glx/GLContextGLX.h')
-rw-r--r-- | Source/WebCore/platform/graphics/glx/GLContextGLX.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/WebCore/platform/graphics/glx/GLContextGLX.h b/Source/WebCore/platform/graphics/glx/GLContextGLX.h index b3b18c156..00f56e791 100644 --- a/Source/WebCore/platform/graphics/glx/GLContextGLX.h +++ b/Source/WebCore/platform/graphics/glx/GLContextGLX.h @@ -25,7 +25,6 @@ #include "GLContext.h" typedef struct __GLXcontextRec* GLXContext; -typedef struct _XDisplay Display; typedef struct __GLXcontextRec *GLXContext; typedef unsigned long GLXPbuffer; typedef unsigned long GLXPixmap; @@ -45,11 +44,10 @@ public: virtual ~GLContextGLX(); virtual bool makeContextCurrent(); virtual void swapBuffers(); + virtual void waitNative(); virtual bool canRenderToDefaultFramebuffer(); virtual IntSize defaultFrameBufferSize(); - static Display* sharedDisplay(); - #if USE(3D_GRAPHICS) virtual PlatformGraphicsContext3D platformContext(); #endif @@ -57,10 +55,6 @@ public: private: static PassOwnPtr<GLContextGLX> createPbufferContext(GLXContext sharingContext); static PassOwnPtr<GLContextGLX> createPixmapContext(GLXContext sharingContext); - static void removeActiveContext(GLContext*); - - static void addActiveContext(GLContextGLX*); - static void cleanupActiveContextsAtExit(); GLContextGLX(GLXContext); GLContextGLX(GLXContext, Pixmap, GLXPixmap); |