xserver-multidpi/exa
Michel Dänzer 31704510f4 EXA/mixed: ModifyPixmapHeader pitch fixes. (bug #33929)
If there's a GPU copy and a non-zero devKind was passed in, set the GPU copy
pitch to that instead of to a possibly bogus value derived from the new width.
This is e.g. used by the radeon driver's drmmode_xf86crtc_resize hook, fixes
https://bugs.freedesktop.org/show_bug.cgi?id=33929 .

On the other hand, the system memory copy doesn't need the pitch to be aligned
beyond the PixmapBytePad of the width.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Acked-by: Cyril Brulebois <kibi@debian.org>
Tested-by: Cyril Brulebois <kibi@debian.org>
Reported-by: Thierry Vignaud <thierry.vignaud@gmail.com>
Tested-by: Thierry Vignaud <thierry.vignaud@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2011-02-24 19:38:20 -08:00
..
exa_accel.c EXA: Fix crash with fill using 1x1 tile of depth < 8 (bug #24703). 2010-12-22 11:38:05 -08:00
exa_classic.c EXA: Finish access to pixmap if it's prepared at destruction time. 2010-07-13 10:07:04 -07:00
exa_driver.c exa/driver: set pExaPixmap->use_gpu_copy to the right value 2011-02-02 14:53:06 -08:00
exa_glyphs.c Remove more superfluous if(p) checks around free(p) 2010-06-11 19:05:46 +07:00
exa_migration_classic.c Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
exa_migration_mixed.c Revert "exa/mixed: Exclude frontbuffer from deferred pixmap handling." 2011-02-20 08:44:38 -08:00
exa_mixed.c EXA/mixed: ModifyPixmapHeader pitch fixes. (bug #33929) 2011-02-24 19:38:20 -08:00
exa_offscreen.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
exa_priv.h EXA: Finish access to pixmap if it's prepared at destruction time. 2010-07-13 10:07:04 -07:00
exa_render.c Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
exa_unaccel.c Add subWindowMode parameter to SourceValidate 2011-01-05 11:56:28 -08:00
exa.c exa: Only call driver FinishAccess hook if PrepareAccess hook succeeded. 2011-02-02 14:53:31 -08:00
exa.h exa: s/PixmapIsOffscreen/PixmapHasGpuCopy and s/pExaPixmap->offscreen/pExaPixmap->use_gpu_copy 2009-11-28 12:44:58 -08:00
Makefile.am exa: A simple 3rd backend implementation. 2009-08-06 23:48:14 +02:00