Skip to content
  • Ben Widawsky's avatar
    gbm: Export a get modifiers · 8378c576
    Ben Widawsky authored
    
    
    This patch originally had i965 specific code and was named:
    commit 61cd3c52b868cf8cb90b06e53a382a921eb42754
    Author: Ben Widawsky <ben@bwidawsk.net>
    Date:   Thu Oct 20 18:21:24 2016 -0700
    
        gbm: Get modifiers from DRI
    
    To accomplish this, two new query tokens are added to the extension:
    __DRI_IMAGE_ATTRIB_MODIFIER_UPPER
    __DRI_IMAGE_ATTRIB_MODIFIER_LOWER
    
    The query extension only supported 32b queries, and modifiers are 64b,
    so we needed two of them.
    
    NOTE: The extension version is still set to 13, so none of this will
    actually be called.
    
    v2: Error handling of queryImage (Emil)
    
    Signed-off-by: Ben Widawsky's avatarBen Widawsky <ben@bwidawsk.net>
    Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
    Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
    8378c576