gallium/dri2: Refactor image property queries
[mesa.git] / src / gallium / state_trackers / dri / dri_screen.h
index 8d2d9c02892c21acb78bb9eac95ec72fa9bea22e..85372cb97c889f76a4c178668edcd61a91e27895 100644 (file)
@@ -57,8 +57,7 @@ struct dri_screen
 
    /* dri */
    __DRIscreen *sPriv;
-   boolean throttling_enabled;
-   int default_throttle_frames;
+   unsigned default_throttle_frames;
 
    struct st_config_options options;
 
@@ -103,6 +102,7 @@ struct __DRIimageRec {
    unsigned level;
    unsigned layer;
    uint32_t dri_format;
+   uint32_t dri_fourcc;
    uint32_t dri_components;
    unsigned use;