summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-08-15 12:14:26 +1000
committerDave Airlie <airlied@redhat.com>2009-08-15 12:14:26 +1000
commit1373c2ea877b562076a4a3c97e8e4f999c977217 (patch)
tree00d0bdaa28c0414d23dddc8536651ee36246834e /exa
parent48ee5558333bd324463b6994735cabb23de262ec (diff)
exa: clarify createpixmap2 new pitch return
Diffstat (limited to 'exa')
-rw-r--r--exa/exa.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/exa/exa.h b/exa/exa.h
index 1fdc38309..4b3947327 100644
--- a/exa/exa.h
+++ b/exa/exa.h
@@ -708,7 +708,9 @@ typedef struct _ExaDriver {
int depth, int bitsPerPixel, int devKind,
pointer pPixData);
- /* if the driver is going to tile the buffer it may need to adjust the pitch alignment */
+ /* hooks for drivers with tiling support:
+ * driver MUST fill out new_fb_pitch with valid pitch of pixmap
+ */
void *(*CreatePixmap2)(ScreenPtr pScreen, int width, int height,
int depth, int usage_hint, int bitsPerPixel,
int *new_fb_pitch);