summaryrefslogtreecommitdiff
path: root/hw/kdrive/src/kdrive.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-05-14 00:34:28 +0000
committerEric Anholt <anholt@freebsd.org>2004-05-14 00:34:28 +0000
commit74b2a7694791297a4f798ecc05c7eb8f68634722 (patch)
treee80fe98bd75ca399b5020be87f4e90ace15f58e7 /hw/kdrive/src/kdrive.h
parent2bea33e881693e7d7dcf938db79c888a71dfb2fb (diff)
Add new flag, KAA_OFFSCREEN_ALIGN_POT, which tells KAA to align pixmap
pitches to a power-of-two number of bytes. Useful for Render acceleration on older cards.
Diffstat (limited to 'hw/kdrive/src/kdrive.h')
-rw-r--r--hw/kdrive/src/kdrive.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/kdrive/src/kdrive.h b/hw/kdrive/src/kdrive.h
index 5f937a5c9..7981c7e54 100644
--- a/hw/kdrive/src/kdrive.h
+++ b/hw/kdrive/src/kdrive.h
@@ -372,7 +372,8 @@ typedef struct _KaaScreenInfo {
PixmapPtr pDst);
} KaaScreenInfoRec, *KaaScreenInfoPtr;
-#define KAA_OFFSCREEN_PIXMAPS (1 << 0)
+#define KAA_OFFSCREEN_PIXMAPS (1 << 0)
+#define KAA_OFFSCREEN_ALIGN_POT (1 << 1)
/*
* This is the only completely portable way to