glamor: Add missing prepares on the GC during fb fallbacks.
authorEric Anholt <eric@anholt.net>
Fri, 10 Jan 2014 16:06:21 +0000 (00:06 +0800)
committerEric Anholt <eric@anholt.net>
Mon, 17 Mar 2014 21:30:56 +0000 (14:30 -0700)
commitab68982dcc53d29d5e3c5ea092bd91dab09e54c9
tree856e35447d10c0cfbeb9f0ca40566316cb2dd5cf
parent93f1824a0b19346f0e1759bedfa9cf10772067af
glamor: Add missing prepares on the GC during fb fallbacks.

We had regressions in CopyPlane reported by xts5, because we were
(successfully!) dereferencing the null pixmap->devPrivate.ptr for a
tile or stipple without having done a prepare.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Markus Wick <markus@selfnet.de>
glamor/glamor_copyarea.c
glamor/glamor_copyplane.c
glamor/glamor_putimage.c
glamor/glamor_setspans.c