summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiglcontext_qpa.h
Commit message (Collapse)AuthorAgeFilesLines
* Get declarative and wayland EGL backend working for Qt compositor.Samuel Rødal2011-06-231-1/+2
|
* OpenGL API refactor.Samuel Rødal2011-06-211-5/+6
| | | | | | Rename QGuiGLFormat to QSurfaceFormat, and make QWindow sub-class of QSurface and QPlatformWindow sub-class of QPlatformSurface, instead of having QPlatformGLSurface accessor in QWindow.
* Compile.Friedemann Kleint2011-06-141-0/+1
|
* QWindowContext / QWindowFormat refactor.Samuel Rødal2011-06-101-0/+98
To enable having a single GL context used for multiple drawables we need to de-couple the context class a bit more from the window class in the plugin API. Now contexts are created stand-alone based on a GL format and a share context, and when calling makeCurrent() a desired surface is specified. This maps well to GLX, EGL, Cocoa, AGL, and WGL, which all support this use case. QWindowContext is renamed to QGuiGLContext, and QWindowFormat is renamed to QGuiGLFormat. We have the ability to introduce a pbuffer or similar other offscreen GL drawable abstraction in the future.