xserver/exa
Michel Dänzer 0c6423b3d5 EXA: Fix mixed pixmaps crash with missing / failing UploadToScreen hook.
For the recent mixed pixmaps changes, I failed to realize (or hit in my
testing) a problem which can occur if the driver doesn't provide an
UploadToScreen hook or provides one which can fail: There can be a crash
in exaMemcpyBox() because exaCopyDirtyToFb() passes pExaPixmap->fb_ptr to
exaCopyDirty(), but that's normally NULL with driver allocated pixmaps.

The solution is to make exaCopyDirty*() no longer rely on pExaPixmap->fb_ptr
but use pPixmap->devPrivate.ptr after PrepareAccess instead.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=24167 .
(cherry picked from commit 73ae547d5e)
2009-09-27 20:18:08 +10:00
..
exa.c EXA: Extend mixed pixmaps scheme to allow driver PrepareAccess hook to fail. 2009-09-26 12:38:22 +10:00
exa.h exa: clarify createpixmap2 new pitch return 2009-08-15 12:14:26 +10:00
exa_accel.c EXA: Only take special code path for 1x1 fill for pixmaps. 2009-09-08 15:25:19 +02:00
exa_classic.c exa: Split out some classic and driver allocated pixmap code into seperate files 2009-08-06 23:48:13 +02:00
exa_driver.c exa: fix CreatePixmap2 to be useful for tiling. 2009-08-14 09:33:48 +10:00
exa_glyphs.c EXA: Fix some issues pointed out by clang. 2009-09-25 09:14:40 +10:00
exa_migration_classic.c EXA: Fix mixed pixmaps crash with missing / failing UploadToScreen hook. 2009-09-27 20:18:08 +10:00
exa_migration_mixed.c EXA: Extend mixed pixmaps scheme to allow driver PrepareAccess hook to fail. 2009-09-26 12:38:22 +10:00
exa_mixed.c EXA: Extend mixed pixmaps scheme to allow driver PrepareAccess hook to fail. 2009-09-26 12:38:22 +10:00
exa_offscreen.c EXA: Allocate from the end of free offscreen memory rather than from the start. 2009-05-18 17:53:35 +02:00
exa_priv.h EXA: Extend mixed pixmaps scheme to allow driver PrepareAccess hook to fail. 2009-09-26 12:38:22 +10:00
exa_render.c EXA: Fix some issues pointed out by clang. 2009-09-25 09:14:40 +10:00
exa_unaccel.c EXA: Extend mixed pixmaps scheme to allow driver PrepareAccess hook to fail. 2009-09-26 12:38:22 +10:00
Makefile.am exa: A simple 3rd backend implementation. 2009-08-06 23:48:14 +02:00