Re: [Mesa-dev] [PATCH v4 1/2] wayland/egl: initialize window surface size to window size

2018-10-25 Thread Olivier Fourdan
On Thu, Oct 25, 2018 at 12:05 PM Olivier Fourdan wrote: > > Hi, > > On Tue, Aug 7, 2018 at 5:50 PM Juan A. Suarez Romero > wrote: > > > > When creating a windows surface with eglCreateWindowSurface(), the > > width and height returned by eglQuerySurface(EGL_{WIDTH,HEIGHT}) is > > invalid until

Re: [Mesa-dev] [PATCH v4 1/2] wayland/egl: initialize window surface size to window size

2018-10-25 Thread Olivier Fourdan
Hi, On Tue, Aug 7, 2018 at 5:50 PM Juan A. Suarez Romero wrote: > > When creating a windows surface with eglCreateWindowSurface(), the > width and height returned by eglQuerySurface(EGL_{WIDTH,HEIGHT}) is > invalid until buffers are updated (like calling glClear()). > > But according to EGL 1.5

Re: [Mesa-dev] [PATCH v4 1/2] wayland/egl: initialize window surface size to window size

2018-08-07 Thread Chad Versace
On Tue 07 Aug 2018, Juan A. Suarez Romero wrote: > When creating a windows surface with eglCreateWindowSurface(), the > width and height returned by eglQuerySurface(EGL_{WIDTH,HEIGHT}) is > invalid until buffers are updated (like calling glClear()). > > But according to EGL 1.5 spec, section

[Mesa-dev] [PATCH v4 1/2] wayland/egl: initialize window surface size to window size

2018-08-07 Thread Juan A. Suarez Romero
When creating a windows surface with eglCreateWindowSurface(), the width and height returned by eglQuerySurface(EGL_{WIDTH,HEIGHT}) is invalid until buffers are updated (like calling glClear()). But according to EGL 1.5 spec, section 3.5.6 ("Surface Attributes"): "Querying EGL_WIDTH and