src/gui/egl/qegl_p.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
--- a/src/gui/egl/qegl_p.h	Tue Jan 26 12:42:25 2010 +0200
+++ b/src/gui/egl/qegl_p.h	Tue Feb 02 00:43:10 2010 +0200
@@ -81,6 +81,7 @@
 
     bool isValid() const;
     bool isCurrent() const;
+    bool isSharing() const { return sharing; }
 
     QEgl::API api() const { return apiType; }
     void setApi(QEgl::API api) { apiType = api; }
@@ -132,6 +133,7 @@
     EGLSurface currentSurface;
     bool current;
     bool ownsContext;
+    bool sharing;
 
     static EGLDisplay getDisplay(QPaintDevice *device);