summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglconvenience
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2011.Rohan McGovern2011-03-104-4/+4
| | | | | Reviewed-by: Trust Me (cherry picked from commit 774a3536b00c4d6e4c4c10b708e31b4373a338e3)
* Lighthouse: Adding support for EGL to testliteJørgen Lind2011-01-052-0/+9
| | | | | | | | There is really no good way of detecting if to use EGL instead of GLX using qmake. So this is the behavior for now: if QtOpenGL is compiled with "desktop gl" then use GLX if its compiled with OpenGLES2 then use EGL.
* Fix spelling mistake in QEGLPlatformcontextJørgen Lind2010-12-012-2/+2
| | | | | | Autocompletion and a hint of dyslexia made me not see this before :) Reviewed-by: paul
* Lighthouse: Fix QGLContext::currentContext for systems with limitedJørgen Lind2010-11-242-3/+3
| | | | | | | | | | | | resources. The example plugins EGLFS uses only 1 native context. Make sure that we only use this 1 context, and that we dont wrap it in many different QPlatformGLContexts or QGLContexts instanses. This change also removes the QPlatformWindow link which was made in the initial QPlatformGLContext change. Lighthouse has to support situations where a context isnt bound to a QPlatformWindow. Reviewed-by: gunnar
* Lighthouse: move the currentContext functionality to QPlatformGLContextJørgen Lind2010-11-222-3/+5
| | | | | | | | | This means the threading functionality has been delegated down to QPlatformGLContext. However, it is still possible to use QGLContext::currentContext to retrieve the QGLContext. This so that QGLFunctions, QGLShaderProgram etc can be used without a QGLWidget. Reviewed-by: paul
* Fix the license in files for LighthouseJørgen Lind2010-10-284-49/+91
|
* Fix typos found by the spellchecking autotestPaul Olav Tvete2010-10-281-2/+2
|
* Cleaned up in includes in Lighthouse headerfilesJørgen Lind2010-08-062-2/+3
|
* Make it possible to view what format a QPlatformGlContext hasJørgen Lind2010-08-034-1/+64
| | | | | | | | QPlatformGlContext has now a pure virtual format getter. The way its intended to work is that the tlw has a QPlatformWindowFormat which is the requested format. Once you get the QPlatformGlContext of the window, you can request the QPlatformWindowFormat of the context to see what you really got.
* Make eglfs use defaultsharedcontextJørgen Lind2010-08-022-0/+6
|
* Refactored the eglfs pluginJørgen Lind2010-07-272-10/+42
| | | | | | | seperated the functionality into different files, and made the paintdevice belong to the windowsurface. Everything really belongs to the screen, since everything is full screen but, this makes it more on par with the other plugins.
* Lighthouse egl refactoringJørgen Lind2010-07-124-0/+457
Moved the openkode egl code into a convenience directory so it can be used by other plugins