From 1373c2ea877b562076a4a3c97e8e4f999c977217 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 15 Aug 2009 12:14:26 +1000 Subject: exa: clarify createpixmap2 new pitch return --- exa/exa.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'exa/exa.h') 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); -- cgit v1.2.3