diff options
author | Dave Airlie <airlied@redhat.com> | 2009-08-15 12:14:26 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-08-15 12:14:26 +1000 |
commit | 1373c2ea877b562076a4a3c97e8e4f999c977217 (patch) | |
tree | 00d0bdaa28c0414d23dddc8536651ee36246834e /exa | |
parent | 48ee5558333bd324463b6994735cabb23de262ec (diff) |
exa: clarify createpixmap2 new pitch return
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |