diff options
Diffstat (limited to 'meta/packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch')
-rw-r--r-- | meta/packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch b/meta/packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch new file mode 100644 index 0000000000..39bc22c6b3 --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Patch suggested by Manuel Teira to actually enable offscreen pixmap | ||
2 | acceleration in Xw100. Value 16 is empirical, works well on hx4700, | ||
3 | but in case of issues, consider double it (other accelerated drivers | ||
4 | use bigger values than 16). | ||
5 | |||
6 | --- xorg-server-1.2.0/hw/kdrive/w100/ati_draw.c.org 2007-04-04 10:28:57.000000000 +0000 | ||
7 | +++ xorg-server-1.2.0/hw/kdrive/w100/ati_draw.c 2007-04-06 14:43:40.000000000 +0000 | ||
8 | @@ -433,6 +433,7 @@ | ||
9 | * or kaaPixmapUseScreen. But this is probably caused by some bug in this | ||
10 | * driver... */ | ||
11 | atis->kaa.flags |= KAA_OFFSCREEN_PIXMAPS; | ||
12 | + atis->kaa.pitchAlign = 16; | ||
13 | if (!kaaDrawInit(pScreen, &atis->kaa)) | ||
14 | return FALSE; | ||
15 | |||