~unity-2d-team/unity-2d/natty

Viewing all changes in revision 617.

  • Committer: Tarmac
  • Author(s): Florian Boucault
  • Date: 2011-07-11 06:46:32 UTC
  • mfrom: (616.1.2 opengl_plus_composite_fix)
  • Revision ID: ubuntu.builder@gmail.com-20110711064632-9daldv2r3vxxa8rt
[dash] Fix use of opengl rendering backend: artifacts were displayed, even more so with transparency enabled.

The cause of the issue was that the QGLWidget viewport was set on the QDeclarativeView
before having setup the QGLWidget's flags.
Implementation of Unity2dDeclarativeView is much clarified as a result and this change
impacts all the components using it:
- launcher
- dash
- spread

Synchronization to VBlank has also been activated.
Set viewport update mode to QGraphicsView::FullViewportUpdate when using OpenGL.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: