diff options
author | Adam Jackson <ajax@redhat.com> | 2011-01-20 18:37:45 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-08 13:16:50 -0500 |
commit | 1564c82417d201de5b9a5ec5e7aa4ef14c45fbad (patch) | |
tree | 151801f1716c899db4ad57bb2b6ffc60592229c7 /include | |
parent | d8caa782009abf4dc17b945e325e83fda299a534 (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 'include')
-rw-r--r-- | include/pixmapstr.h | 1 | ||||
-rw-r--r-- | include/scrnintstr.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/pixmapstr.h b/include/pixmapstr.h index 702faf0ac..542c381bc 100644 --- a/include/pixmapstr.h +++ b/include/pixmapstr.h @@ -80,7 +80,6 @@ typedef struct _Pixmap { short screen_x; short screen_y; #endif - unsigned usage_hint; /* see CREATE_PIXMAP_USAGE_* */ } PixmapRec; #endif /* PIXMAPSTRUCT_H */ diff --git a/include/scrnintstr.h b/include/scrnintstr.h index a9357e8a5..302a561bd 100644 --- a/include/scrnintstr.h +++ b/include/scrnintstr.h @@ -208,7 +208,7 @@ typedef PixmapPtr (* CreatePixmapProcPtr)( int /*width*/, int /*height*/, int /*depth*/, - unsigned /*usage_hint*/); + unsigned /*class*/); typedef Bool (* DestroyPixmapProcPtr)( PixmapPtr /*pPixmap*/); |