Re: query fullscreen size to pass that value in callback calling glviewport.

2014-05-30 Thread Rohit Nandan
Exactly it was. I placed my gl & egl resize calback after tooglescreen when event recieved is key F11. Which was never called. Corrected it by placing it in resize function. Thanks Rohit Nandan On Fri, May 30, 2014 at 5:17 PM, Jasper St. Pierre wrote: > That sounds like a bug in your window s

Re: query fullscreen size to pass that value in callback calling glviewport.

2014-05-30 Thread Jasper St. Pierre
That sounds like a bug in your window system library. The compositor will send you the updated size in the configure event. On Fri, May 30, 2014 at 2:54 AM, Rohit Nandan wrote: > Niether window_size gets updated not geometry of struct window after > configure event or callback. > Is their no wa

Re: query fullscreen size to pass that value in callback calling glviewport.

2014-05-29 Thread Rohit Nandan
Niether window_size gets updated not geometry of struct window after configure event or callback. Is their no way to know updated size or resolution. On Tue, May 27, 2014 at 8:14 PM, Jasper St. Pierre wrote: > The window size comes in the "configure" event, which is similar to X11's > Configure

Re: query fullscreen size to pass that value in callback calling glviewport.

2014-05-27 Thread Jasper St. Pierre
The window size comes in the "configure" event, which is similar to X11's ConfigureNotify. See: http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c#n269 If you're still using wl_shell_surface, then see: http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c?h=1.4#n

query fullscreen size to pass that value in callback calling glviewport.

2014-05-27 Thread Rohit Nandan
I have a app with all opengl and egl function calls which is backed up by a window system library. In wayland case I have added fullscreen option using F11 handler in window system library exactly like simple-egl but here my redraw function is outside that library so glviewport and app size is not