This was a part of a bigger series posted here http://lists.freedesktop.org/archives/mesa-dev/2011-August/011450.html Changes since v1 - rename __DRI_IMAGE_FORMAT_RGBA8888_REV to __DRI_IMAGE_FORMAT_ABGR8888 - add a check in intel_image_target_renderbuffer_storage