diff options
author | Michael Dominic K <mdk@codethink.co.uk> | 2011-04-01 08:02:35 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-04-01 08:04:00 (GMT) |
commit | ed4906de38f3421549ed2d71e3725bbe286f24ce (patch) | |
tree | 011071c5785c425f61fbc733359716480c8ad594 /src/opengl/qgl_p.h | |
parent | 19d730890eba9da7bdccc2fbc8407bffd622311e (diff) | |
download | Qt-ed4906de38f3421549ed2d71e3725bbe286f24ce.zip Qt-ed4906de38f3421549ed2d71e3725bbe286f24ce.tar.gz Qt-ed4906de38f3421549ed2d71e3725bbe286f24ce.tar.bz2 |
QGLContext on EGL gets an additional QEglProperties static field applied to every window surface created.
Conflicts:
src/opengl/qgl_egl.cpp
src/opengl/qgl_p.h
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r-- | src/opengl/qgl_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h index b2261a2..0bdd6e3 100644 --- a/src/opengl/qgl_p.h +++ b/src/opengl/qgl_p.h @@ -369,11 +369,14 @@ public: EGLSurface eglSurface; void destroyEglSurfaceForDevice(); EGLSurface eglSurfaceForDevice() const; + static QEglProperties *extraWindowSurfaceCreationProps; + static void setExtraWindowSurfaceCreationProps(QEglProperties *props); #endif #if defined(Q_WS_QPA) QPlatformGLContext *platformContext; void setupSharing(); + #elif defined(Q_WS_X11) || defined(Q_WS_MAC) void* cx; #endif |