Yeah, I understood your point. Manual updating of viewport and
drawable seems to be needed in this case unless we change
EGL specificiation. Thanks

On Tue, Aug 23, 2016 at 05:51:23PM +0100, Emil Velikov wrote:
> On 23 August 2016 at 17:36, Dongwon Kim <[email protected]> wrote:
> > I read that part in egl specification as well but I wasn't sure
> > if this statement covers the case when the context is unbound via
> > eglMakeCurrent call with NULL context then it is made current again.
> > The problem I saw was when the context is made current again especially
> > with a new surface with different dimension, there's no way the context
> > updates its viewport accordingly.
> >
> In that case one should adjust the viewport manually as mentioned in the spec 
> ?
> 
> Also note that the src/mesa/ code is _not_ EGL but EGL/GLX agnostic,
> so one should we
> quite careful that changes don't break in either one of the two ;-)
> 
> -Emil
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to