summaryrefslogtreecommitdiff
path: root/exa/exa.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-01-20 18:37:45 -0500
committerAdam Jackson <ajax@redhat.com>2011-03-08 13:16:50 -0500
commit1564c82417d201de5b9a5ec5e7aa4ef14c45fbad (patch)
tree151801f1716c899db4ad57bb2b6ffc60592229c7 /exa/exa.h
parentd8caa782009abf4dc17b945e325e83fda299a534 (diff)
dix: Remove usage_hint from pixmaps, store it in ->drawable.class
The class field was unused for pixmaps, and we don't have enough classes to justify a whole uint32 anyway. Reviewed-by: Soren Sandmann <ssp@redhat.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'exa/exa.h')
-rw-r--r--exa/exa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa.h b/exa/exa.h
index 8c93d156f..6de63008e 100644
--- a/exa/exa.h
+++ b/exa/exa.h
@@ -712,7 +712,7 @@ typedef struct _ExaDriver {
* 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 depth, int class, int bitsPerPixel,
int *new_fb_pitch);
/** @} */
} ExaDriverRec, *ExaDriverPtr;