summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/glx/GLContextGLX.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/glx/GLContextGLX.h')
-rw-r--r--Source/WebCore/platform/graphics/glx/GLContextGLX.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/glx/GLContextGLX.h b/Source/WebCore/platform/graphics/glx/GLContextGLX.h
index 5e8c61ce4..b3b18c156 100644
--- a/Source/WebCore/platform/graphics/glx/GLContextGLX.h
+++ b/Source/WebCore/platform/graphics/glx/GLContextGLX.h
@@ -39,7 +39,7 @@ namespace WebCore {
class GLContextGLX : public GLContext {
WTF_MAKE_NONCOPYABLE(GLContextGLX);
public:
- static PassOwnPtr<GLContextGLX> createContext(XID, GLContext* sharingContext = 0);
+ static PassOwnPtr<GLContextGLX> createContext(XID window, GLContext* sharingContext);
static PassOwnPtr<GLContextGLX> createWindowContext(XID window, GLContext* sharingContext);
virtual ~GLContextGLX();
@@ -48,6 +48,8 @@ public:
virtual bool canRenderToDefaultFramebuffer();
virtual IntSize defaultFrameBufferSize();
+ static Display* sharedDisplay();
+
#if USE(3D_GRAPHICS)
virtual PlatformGraphicsContext3D platformContext();
#endif