]> git.sesse.net Git - vlc/commit
gl: add resize callback
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 13 Oct 2014 20:35:35 +0000 (23:35 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 16 Oct 2014 17:23:39 +0000 (20:23 +0300)
commitc4ee2fc8ef9d2a49c983e90edc013cd6cb612cd8
tree938cf0938d71d9991823b4709c093f216953a01f
parent77028e4a4e16adf8ec9df2ecfdd0f1ab8e579a31
gl: add resize callback

At least the Wayland EGL backend needs to be notified of the size of
the window (which is independent of glViewport()).

This could conceivably also be implemented with a call to
glGetIntegerv(GL_VIEWPORT), but that would introduce a dependency on
the GL - which the EGL plugin has avoided so far.
include/vlc_opengl.h
modules/video_output/egl.c
modules/video_output/gl.c
modules/video_output/glx.c
src/video_output/opengl.c