xserver-multidpi/exa
Michel Dänzer 73ae547d5e 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 .
2009-09-27 02:08:10 +02: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: Only calculate cache position once for each glyph. 2009-09-26 02:05:24 +02:00
exa_migration_classic.c EXA: Fix mixed pixmaps crash with missing / failing UploadToScreen hook. 2009-09-27 02:08:10 +02:00
exa_migration_mixed.c EXA: Try to minimize UploadToScreen calls for mixed pixmaps. 2009-09-26 02:04:48 +02:00
exa_mixed.c EXA: Try to minimize UploadToScreen calls for mixed pixmaps. 2009-09-26 02:04:48 +02: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: Try to minimize UploadToScreen calls for mixed pixmaps. 2009-09-26 02:04:48 +02:00
exa_render.c EXA: Fix some issues pointed out by clang. 2009-09-23 08:24:06 +02:00
exa_unaccel.c EXA: Extend mixed pixmaps scheme to allow driver PrepareAccess hook to fail. 2009-09-26 01:59:39 +02:00
exa.c EXA: Try to minimize UploadToScreen calls for mixed pixmaps. 2009-09-26 02:04:48 +02:00
exa.h exa: clarify createpixmap2 new pitch return 2009-08-15 12:14:26 +10:00
Makefile.am exa: A simple 3rd backend implementation. 2009-08-06 23:48:14 +02:00