diff options
author | Neil Roberts <neil@linux.intel.com> | 2014-03-07 18:05:50 +0000 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-03-12 14:44:02 -0700 |
commit | 77c1a5b7dc6056717659eaef4034bb4d1bdc48f0 (patch) | |
tree | d592ee2bbaf7d0f7793d4b8d7412c63bdfc49437 /src/compositor-wayland.c | |
parent | b7f8533e2b78cfba9c39f618251a12fc74bf5036 (diff) | |
download | weston-77c1a5b7dc6056717659eaef4034bb4d1bdc48f0.tar.gz |
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.
Diffstat (limited to 'src/compositor-wayland.c')
-rw-r--r-- | src/compositor-wayland.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index 899c3293..238946b2 100644 --- a/src/compositor-wayland.c +++ b/src/compositor-wayland.c @@ -593,7 +593,9 @@ wayland_output_init_gl_renderer(struct wayland_output *output) } if (gl_renderer->output_create(&output->base, - output->gl.egl_window) < 0) + output->gl.egl_window, + gl_renderer->alpha_attribs, + NULL) < 0) goto cleanup_window; return 0; |