Re: [PATCH] ui/gtk: Make sure the right EGL context is currently bound

2023-07-04 Thread Marc-André Lureau
On Wed, Jun 28, 2023 at 9:36 PM Dongwon Kim wrote: > Observed a wrong context is bound when changing the scanout mode. > To prevent problem, it is needed to make sure to bind the right > context in gtk_egl_set_scanout_mode/gtk_gl_area_set_scanout_mode > as well as unbind one in the end of gd_egl_

[PATCH] ui/gtk: Make sure the right EGL context is currently bound

2023-06-28 Thread Dongwon Kim
Observed a wrong context is bound when changing the scanout mode. To prevent problem, it is needed to make sure to bind the right context in gtk_egl_set_scanout_mode/gtk_gl_area_set_scanout_mode as well as unbind one in the end of gd_egl_update/gd_gl_area_update. Cc: Gerd Hoffmann Cc: Marc-André