summaryrefslogtreecommitdiff
path: root/exa/exa.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-08-24 22:43:27 +0000
committerEric Anholt <anholt@freebsd.org>2005-08-24 22:43:27 +0000
commit55c5c6953a3a661758a42b147f9542950a62fc4d (patch)
tree7b0948f34c483e71d402d62196f6f69a47d01c76 /exa/exa.h
parent079ad773e09ed0c5baf01de3d4f02a5568da5634 (diff)
Bugzilla #4090: Introduce getters for pixmap pitch and offset, to
simplify/clarify it for driver writers who probably don't want to know what pPixmap->devPrivate.ptr or pPixmap->devKind mean. Converts the sis driver to use them, and bumps the EXA module minor version.
Diffstat (limited to 'exa/exa.h')
-rw-r--r--exa/exa.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/exa/exa.h b/exa/exa.h
index f4c129756..2cf9fe44a 100644
--- a/exa/exa.h
+++ b/exa/exa.h
@@ -33,7 +33,7 @@
#include "picturestr.h"
#define EXA_VERSION_MAJOR 0
-#define EXA_VERSION_MINOR 1
+#define EXA_VERSION_MINOR 2
#define EXA_VERSION_RELEASE 0
typedef struct _ExaOffscreenArea ExaOffscreenArea;
@@ -218,7 +218,11 @@ exaOffscreenAlloc(ScreenPtr pScreen, int size, int align,
ExaOffscreenArea *
exaOffscreenFree(ScreenPtr pScreen, ExaOffscreenArea *area);
+unsigned long
+exaGetPixmapOffset(PixmapPtr pPix);
+unsigned long
+exaGetPixmapPitch(PixmapPtr pPix);
#define exaInitCard(exa, sync, memory_base, off_screen_base, memory_size, \
offscreen_byte_align, offscreen_pitch, flags, \