xserver/exa
Michel Dänzer c1503861cf EXA: ExaDoPrepareAccess return value fixes.
Only return TRUE if the GPU copy is being accessed, and preserve the return
value on repeated / nested calls for the same pixmap.

exaPrepareAccessReg_mixed could get inconsistent return values e.g. when the
same pixmap is both the destination and source of an operation, potentially
resulting in a crash.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Acked-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2009-12-08 13:06:37 -08:00
..
Makefile.am exa: A simple 3rd backend implementation. 2009-08-06 23:48:14 +02:00
exa.c EXA: ExaDoPrepareAccess return value fixes. 2009-12-08 13:06:37 -08:00
exa.h exa: s/PixmapIsOffscreen/PixmapHasGpuCopy and s/pExaPixmap->offscreen/pExaPixmap->use_gpu_copy 2009-11-28 12:44:58 -08:00
exa_accel.c exa/mixed: pixmaps that succeed prepare access have no need for a cpu copy 2009-12-04 22:10:13 -08:00
exa_classic.c exa: s/PixmapIsOffscreen/PixmapHasGpuCopy and s/pExaPixmap->offscreen/pExaPixmap->use_gpu_copy 2009-11-28 12:44:58 -08:00
exa_driver.c exa: s/PixmapIsOffscreen/PixmapHasGpuCopy and s/pExaPixmap->offscreen/pExaPixmap->use_gpu_copy 2009-11-28 12:44:58 -08:00
exa_glyphs.c Revert "EXA: Accumulate arbitrary number of glyphs without flushing." 2009-11-30 08:36:54 -08:00
exa_migration_classic.c exa: s/PixmapIsOffscreen/PixmapHasGpuCopy and s/pExaPixmap->offscreen/pExaPixmap->use_gpu_copy 2009-11-28 12:44:58 -08:00
exa_migration_mixed.c exa/mixed: pixmaps that succeed prepare access have no need for a cpu copy 2009-12-04 22:10:13 -08:00
exa_mixed.c exa: s/PixmapIsOffscreen/PixmapHasGpuCopy and s/pExaPixmap->offscreen/pExaPixmap->use_gpu_copy 2009-11-28 12:44:58 -08:00
exa_offscreen.c EXA: Don't defragment offscreen memory at allocation time. 2009-11-30 08:37:06 -08:00
exa_priv.h EXA: ExaDoPrepareAccess return value fixes. 2009-12-08 13:06:37 -08:00
exa_render.c exa: s/PixmapIsOffscreen/PixmapHasGpuCopy and s/pExaPixmap->offscreen/pExaPixmap->use_gpu_copy 2009-11-28 12:44:58 -08:00
exa_unaccel.c EXA: Use correct coordinate system for calculating Composite fallback region. 2009-12-04 07:46:15 -08:00