glamor: Always allocate precisely the requested pixmap size
authorKeith Packard <keithp@keithp.com>
Tue, 8 Apr 2014 08:01:28 +0000 (01:01 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Apr 2014 22:01:26 +0000 (15:01 -0700)
commitc917fa411502d402b9c69de30f6a88e102bb8610
tree9cc8c3a141a8b22d3ee7950ca8ab1687f0802e13
parent3028ae6c9aa37168e249e0d847b29f8e3efb05b2
glamor: Always allocate precisely the requested pixmap size

Using a pixmap as a tile or stipple means that we must have the
underlying FBO match the pixmap geometry exactly. We may want to add
some complexity here to migrate pixmaps into exact sized objects as
necessary, but for now, make the server work correctly by skipping
this optimization.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
glamor/glamor_fbo.c