~vanvugt/mir/fix-motion-bugs-0.7

Viewing all changes in revision 1508.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2014-03-26 05:48:59 UTC
  • mfrom: (1473.5.7 fix-1259887)
  • Revision ID: tarmac-20140326054859-pbzm07ueu0z6ehmi
Ensure surface contents don't appear to stretch during resizing while
the client buffer size catches up to the surface size. (LP: #1259887)

The disadvantage to this approach is that edge pixels on the right and
bottom get clamped and repeated linearly. This is a restriction of OpenGL|ES
as it lacks GL_CLAMP_TO_BORDER support found in full OpenGL. Although
not having a separate border colour might actually be a good thing. Fixes: https://bugs.launchpad.net/bugs/1259887.

Approved by Alberto Aguirre, PS Jenkins bot, Alan Griffiths.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: