summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-kdrive
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-04-06 16:20:21 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-04-06 16:20:21 +0000
commit242ff3fff6d90d3fe37f990884429f3e814ac637 (patch)
treeee6c7ac71620844897226d1bc44dfefe94f926dd /packages/xorg-xserver/xserver-kdrive
parentde0cd3f118ff8109656380648111ff156ef348ff (diff)
xserver-kdrive 1.2.0: Add patch to actually enable offscreen pixmap acceleration in Xw100.
* Courtesy of Manuel Teira (sirfred). * Tested on hx4700.
Diffstat (limited to 'packages/xorg-xserver/xserver-kdrive')
-rw-r--r--packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch b/packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch
new file mode 100644
index 0000000000..39bc22c6b3
--- /dev/null
+++ b/packages/xorg-xserver/xserver-kdrive/w100-fix-offscreen-bmp.patch
@@ -0,0 +1,15 @@
+Patch suggested by Manuel Teira to actually enable offscreen pixmap
+acceleration in Xw100. Value 16 is empirical, works well on hx4700,
+but in case of issues, consider double it (other accelerated drivers
+use bigger values than 16).
+
+--- xorg-server-1.2.0/hw/kdrive/w100/ati_draw.c.org 2007-04-04 10:28:57.000000000 +0000
++++ xorg-server-1.2.0/hw/kdrive/w100/ati_draw.c 2007-04-06 14:43:40.000000000 +0000
+@@ -433,6 +433,7 @@
+ * or kaaPixmapUseScreen. But this is probably caused by some bug in this
+ * driver... */
+ atis->kaa.flags |= KAA_OFFSCREEN_PIXMAPS;
++ atis->kaa.pitchAlign = 16;
+ if (!kaaDrawInit(pScreen, &atis->kaa))
+ return FALSE;
+