[vlc-commits] vout: move gl.c to opengl/display.c

Thomas Guillem git at videolan.org
Tue Dec 13 17:11:02 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Dec 12 10:53:00 2016 +0100| [f5c17abdba4cc11952d25edbe632df73fd8c0ba4] | committer: Thomas Guillem

vout: move gl.c to opengl/display.c

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f5c17abdba4cc11952d25edbe632df73fd8c0ba4
---

 modules/video_output/Makefile.am                | 4 ++--
 modules/video_output/{gl.c => opengl/display.c} | 4 ++--
 po/POTFILES.in                                  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index 0ebcda5..515b5a5 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -35,7 +35,7 @@ vout_LTLIBRARIES += libvout_ios2_plugin.la
 endif
 
 ### OpenGL ###
-libgles2_plugin_la_SOURCES = $(OPENGL_DISPLAY_SRCS) video_output/gl.c
+libgles2_plugin_la_SOURCES = $(OPENGL_DISPLAY_SRCS) video_output/opengl/display.c
 libgles2_plugin_la_CFLAGS = $(AM_CFLAGS) $(GLES2_CFLAGS) -DUSE_OPENGL_ES2
 libgles2_plugin_la_LIBADD = $(GLES2_LIBS) $(LIBM)
 libgles2_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
@@ -43,7 +43,7 @@ libgles2_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
 EXTRA_LTLIBRARIES += libgles2_plugin.la
 vout_LTLIBRARIES += $(LTLIBgles2)
 
-libgl_plugin_la_SOURCES = $(OPENGL_DISPLAY_SRCS) video_output/gl.c
+libgl_plugin_la_SOURCES = $(OPENGL_DISPLAY_SRCS) video_output/opengl/display.c
 libgl_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS)
 libgl_plugin_la_LIBADD = $(GL_LIBS) $(LIBM)
 if HAVE_GL
diff --git a/modules/video_output/gl.c b/modules/video_output/opengl/display.c
similarity index 99%
rename from modules/video_output/gl.c
rename to modules/video_output/opengl/display.c
index 4146b80..eefb5cf 100644
--- a/modules/video_output/gl.c
+++ b/modules/video_output/opengl/display.c
@@ -1,5 +1,5 @@
 /**
- * @file gl.c
+ * @file display.c
  * @brief OpenGL video output module
  */
 /*****************************************************************************
@@ -31,7 +31,7 @@
 #include <vlc_plugin.h>
 #include <vlc_vout_display.h>
 #include <vlc_opengl.h>
-#include "opengl/vout_helper.h"
+#include "vout_helper.h"
 
 /* Plugin callbacks */
 static int Open (vlc_object_t *);
diff --git a/po/POTFILES.in b/po/POTFILES.in
index cc3daca..590f4ea 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1133,11 +1133,11 @@ modules/video_output/drawable.c
 modules/video_output/evas.c
 modules/video_output/egl.c
 modules/video_output/fb.c
-modules/video_output/gl.c
 modules/video_output/glx.c
 modules/video_output/ios2.m
 modules/video_output/kva.c
 modules/video_output/macosx.m
+modules/video_output/opengl/display.c
 modules/video_output/win32/direct3d9.c
 modules/video_output/win32/direct3d11.c
 modules/video_output/win32/directdraw.c



More information about the vlc-commits mailing list