Re: [PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-07 Thread Bryce Harrington
On Wed, Nov 04, 2015 at 10:16:27PM +0100, Manuel Bachmann wrote: > Hi Derek, and thanks for your answer, > > You are right, maybe we could search a config with matching visual_id, and > if one does not exist, then fallback to a "0" config. > > I can rework the patch to do this ; but if you alread

Re: [PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-04 Thread Manuel Bachmann
Hi Derek, and thanks for your answer, You are right, maybe we could search a config with matching visual_id, and if one does not exist, then fallback to a "0" config. I can rework the patch to do this ; but if you already started working on a new one, I will wait and be happy to test it :). PS :

Re: [PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-04 Thread Derek Foreman
On 04/11/15 01:44 PM, Bryce Harrington wrote: > On Wed, Nov 04, 2015 at 02:57:11PM +0100, Manuel Bachmann wrote: >> Accept 0 as a valid value for the EGL_NATIVE_VISUAL_ID >> attribute in EGL configurations, just as we did before >> commit e76f185. >> >> (fixes running Weston with DRM backend and gl

Re: [PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-04 Thread Bryce Harrington
On Wed, Nov 04, 2015 at 02:57:11PM +0100, Manuel Bachmann wrote: > Accept 0 as a valid value for the EGL_NATIVE_VISUAL_ID > attribute in EGL configurations, just as we did before > commit e76f185. > > (fixes running Weston with DRM backend and gl-renderer > on Lenovo ThinkPad with i915 driver) >

[PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-04 Thread Manuel Bachmann
Accept 0 as a valid value for the EGL_NATIVE_VISUAL_ID attribute in EGL configurations, just as we did before commit e76f185. (fixes running Weston with DRM backend and gl-renderer on Lenovo ThinkPad with i915 driver) Signed-off-by: Manuel Bachmann --- src/gl-renderer.c | 2 +- 1 file changed,