~brandontschaefer/unity/fix-950160-6.0

Viewing all changes in revision 2794.

  • Committer: Tarmac
  • Author(s): Łukasz 'sil2100' Zemczak
  • Date: 2012-11-05 13:56:24 UTC
  • mfrom: (2793.1.1 6.0)
  • Revision ID: tarmac-20121105135624-qr6nvqnvx367f6yc
Cherry-picked rev 2872 from lp:unity:
Stop Unity UI elements from flickering. This could happen in some odd
cases where UnityScreen::damageRegion has not received the full damage
region for the frame, most likely due to the *SetEnabled() toggles.
So the fix is to tell Nux about the final, complete, set of damage just
before rendering. This ensures Nux is always told about everything it has
to redraw on every frame, rather than flickering.
(LP: #1070735). Fixes: https://bugs.launchpad.net/bugs/1070735. Approved by Daniel van Vugt.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: