summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglframebufferobject.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed incorrect QGLFramebufferObject documentation.Samuel Rødal2009-07-281-1/+4
| | | | Reviewed-by: Gunnar Sletta
* Doc: A few cleanups, fixes and improvements.Volker Hilsheimer2009-07-191-2/+1
|
* Doc: add \since 4.6 for new APIsVolker Hilsheimer2009-07-191-24/+0
|
* Prevented infinite recursion in GL graphics system.Samuel Rødal2009-06-171-4/+2
| | | | | | | | | | | | If creating a QGLWidget triggers the creation of a QPixmap then we might end up in an infinite recursion due to QPixmap trying to access qt_gl_share_widget(). This can happen via setWindowIcon for example. Adding an initializing flag to QGLGlobalShareWidget and preventing QGLFramebufferObject::hasOpenGLFramebufferObjects() and ::hasOpenGLFramebufferBlit() from creating a QGLWidget every time they are called with no active GL context. Reviewed-by: Trond
* Merge license header changes from 4.5Volker Hilsheimer2009-06-161-2/+2
|\
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-161-2/+2
| | | | | | | | Reviewed-by: Trust Me
| * Make OpenGL/ES 1.1 CommonLite and OpenGL/ES 1.0 builds workRhys Weatherley2009-04-071-0/+4
| | | | | | | | Reviewed-by: trustme
| * Long live Qt 4.5!Lars Knoll2009-03-231-0/+719
|
* Make OpenGL/ES 1.1 work again for Qt/EmbeddedRhys Weatherley2009-06-091-0/+2
| | | | Reviewed-by: trustme
* Fixed bugs in GL2 paint engine when several engines are active.Samuel Rødal2009-05-271-4/+8
| | | | | | | Make sure makeCurrent() on a window surface unbinds any active FBO, and simplify ensureActive() code in GL2 paint engine a bit. We don't need the last_engine pointer as ensureActive() will take care of ensuring the correct engine is active anway.
* A GLint is converted to int for passing to qBound().Martin Smith2009-05-261-1/+1
|
* Fix build failure on MacOS 10.4Tom Cooksey2009-05-261-3/+3
| | | | | | It seems GLint is typedefed to long on 10.4. Reviewed-By: Rhys Weatherley
* Made PixelBuffer/FramebufferObject report correct DPI based metrics.Samuel Rødal2009-05-251-7/+8
| | | | | | | We need to use both qt_defaultDpiX and qt_defaultDpiY, and round the resulting metric values. Reviewed-by: Trond
* Make QtOpenGL compile on OpenGL ES 1.1 againTom Cooksey2009-05-141-3/+7
|
* Reverted use of GL 2 engine as default on desktop.Samuel Rødal2009-05-131-1/+2
| | | | | | | | | | | | Using GL 2 as default engine breaks the use cases where OpenGL commands are inter-mixed with QPainter commands, such as when using raw OpenGL in graphicsview. For now we'll use the old OpenGL engine for QGLWidget, QGLPixelBuffer, and QGLFramebufferObject on desktop, and the OpenGL 2 paint engine when the OpenGL graphics system is used. Reviewed-by: Trond
* Enabled compilation of both GL and GL2 paint engine.Samuel Rødal2009-05-131-7/+11
| | | | | | | Compile both GL and GL2 paint engine on desktop, and choose between them at run-time based on GL version flags. Reviewed-by: Tom
* Merge branch 'gl2engine-new-shaders' into graphics-masterTom Cooksey2009-05-061-38/+38
|\ | | | | | | | | Conflicts: src/gui/painting/qpaintengine_raster.cpp
| * Big GL Extension CleanupTom Cooksey2009-05-061-38/+38
| | | | | | | | | | | | | | | | | | Clean up the extension naming and make things build on OpenGL ES 2.0 again. All the extensions which made it into OpenGL 2.0 spec have have the EXT postfix removed. This also eliminates defines on ES 2.0 as the code now refers to the in-spec names. Reviewed-by: sroedal
* | compile...Gunnar Sletta2009-04-241-2/+1
|/
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-graphics-teamGunnar Sletta2009-04-171-15/+13
|\
| * Use FBOs as pixmap backend in GL graphics system.Samuel Rødal2009-04-161-9/+7
| | | | | | | | | | | | | | | | We now use FBOs to implement render-to-pixmap for the GL pixmap backend. A multisample FBO is used for rendering, and is then blitted onto a non-multisample FBO dynamically bound to the relevant texture. Reviewed-by: Tom
| * Fix off-by-one bugs in the framebuffer blits.Samuel Rødal2009-04-161-6/+6
| | | | | | | | The bottom-right coordinates are exclusive, not inclusive.
* | Merge branch 'qt/main'Gunnar Sletta2009-04-171-0/+4
|\ \ | |/ |/| | | | | Conflicts: src/opengl/opengl.pro
| * Make OpenGL/ES 1.1 CommonLite and OpenGL/ES 1.0 builds workRhys Weatherley2009-04-071-0/+4
| | | | | | | | Reviewed-by: trustme
* | Fixes: Prevent QGLFramebufferObject from resetting the current context.Samuel Rødal2009-04-011-2/+4
| | | | | | | | | | RevBy: Trond Details: If there is already an active context we don't need a dummy widget.
* | Fixes: Add blitting and multisample API to QGLFramebufferObject.Samuel Rødal2009-04-011-29/+427
| | | | | | | | | | | | RevBy: Trond Details: Support GL_EXT_framebuffer_multisample and GL_EXT_framebuffer_blit in the QGLFramebufferObject API.
* | Merge branch 'gl2text' of ..\qt-mainKim Motoyoshi Kalland2009-04-011-1/+7
|/
* Long live Qt!Lars Knoll2009-03-231-0/+749