Re: [v2, weston] gl-renderer.c: Use gr->egl_config to create pbuffer surface

2018-08-03 Thread Daniel Stone
Hi Adam, On Fri, 3 Aug 2018 at 19:05, Adam Jackson wrote: > On Thu, 2018-08-02 at 17:21 -0700, Madhurkiran Harikrishnan wrote: > > The original implementation always chose first egl config for pbuffer > > surface type, however the returned configs are implementation specific > > and egl config ma

Re: [v2, weston] gl-renderer.c: Use gr->egl_config to create pbuffer surface

2018-08-03 Thread Adam Jackson
On Thu, 2018-08-02 at 17:21 -0700, Madhurkiran Harikrishnan wrote: > The original implementation always chose first egl config for pbuffer > surface type, however the returned configs are implementation specific > and egl config may not always match between ctx and surface. Hence, > use gr->egl_con

[v2, weston] gl-renderer.c: Use gr->egl_config to create pbuffer surface

2018-08-02 Thread Madhurkiran Harikrishnan
The original implementation always chose first egl config for pbuffer surface type, however the returned configs are implementation specific and egl config may not always match between ctx and surface. Hence, use gr->egl_config which already has the matching config but ensure that windows and pbuff