dri: Use DRM_FORMAT_* instead of defining our own copy.
authorEric Anholt <eric@anholt.net>
Fri, 30 Aug 2019 00:00:09 +0000 (17:00 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 11 Sep 2019 20:05:10 +0000 (13:05 -0700)
commit272f9cfe6a19212354c89dc443959473ac5d398e
tree26770e0762d15b2fc30682f3a115246b5bcdc495
parentc18b1f0e71914edeb88c7b682fe0d1a95d9db638
dri: Use DRM_FORMAT_* instead of defining our own copy.

We have only two defines that aren't from DRM_FORMAT_*: SARGB and
SABGR.  Keep only those as __DRI_IMAGE_FOURCC and garbage collect the
rest.

While this header is also used from the X server, the X server doesn't
use any __DRI_IMAGE enums.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
include/GL/internal/dri_interface.h
src/egl/drivers/dri2/platform_android.c
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/dri/dri_helpers.c
src/loader/loader_dri3_helper.c
src/mesa/drivers/dri/i915/intel_screen.c
src/mesa/drivers/dri/i965/intel_screen.c