~unity-team/unity/trunk

Viewing all changes in revision 2570.

  • Committer: Tarmac
  • Author(s): Nick Dedekind
  • Date: 2012-08-15 17:59:45 UTC
  • mfrom: (2568.1.1 unity)
  • Revision ID: tarmac-20120815175945-2rh6qi4yndekmqqf
Added handlers for StaticCairoText::SetMaximumSize/SetMaximumWidth which cause cached texture to be updated if width has changed.
StaticCairoText::GetTextExtents now updates need_new_extent_cache_ to false once the texture has updated so that it is not re-cached every time called.. Fixes: https://bugs.launchpad.net/bugs/1037187. Approved by Neil J. Patel.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: