diff -r 56cd8111b7f7 -r 41300fa6a67c src/gui/egl/qegl_p.h --- 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);