Add support for having different GBM formats for different outputs
authorNeil Roberts <neil@linux.intel.com>
Fri, 7 Mar 2014 18:05:50 +0000 (18:05 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 12 Mar 2014 21:44:02 +0000 (14:44 -0700)
commit77c1a5b7dc6056717659eaef4034bb4d1bdc48f0
treed592ee2bbaf7d0f7793d4b8d7412c63bdfc49437
parentb7f8533e2b78cfba9c39f618251a12fc74bf5036
Add support for having different GBM formats for different outputs

The gbm-format configuration option can now be specified per-output as
well as in the core config section. If it is not specified it will
default to the format specified in the core section. The
EGL_MESA_configless_context extension is required for this to work. If
this extension is available it will create a context without an
EGLConfig and then it will potentially use a different EGLConfig for
each output.

The gl-renderer interface has been changed so that it takes the EGL
attributes and visual ID in the create_output function as well as in
the create function.
src/compositor-drm.c
src/compositor-fbdev.c
src/compositor-wayland.c
src/compositor-x11.c
src/gl-renderer.c
src/gl-renderer.h