egl_dri2: Set NativeVisualID to the matching GBM config for the gbm platform
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 25 Sep 2013 21:57:22 +0000 (14:57 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 16 Oct 2013 05:07:52 +0000 (22:07 -0700)
commitdf479cffccbdc71d13596bee38cd6434adf5f229
tree0aa347912ff5ef7eb80362eb2ff13e55e5cb3607
parent44e584a73af0ef78321d06a92f372d920b6ee8b7
egl_dri2: Set NativeVisualID to the matching GBM config for the gbm platform

The EGLConfig doesn't have the rgba masks, only the rgba sizes.  To
make sure a config is usable with a given GBM/KMS format, we need a way
to make sure the formats really match.
src/egl/drivers/dri2/platform_drm.c