[vlc-commits] opengl: remove unused picture pool

Romain Vimont git at videolan.org
Mon Jan 27 17:45:38 CET 2020


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Fri Jan 17 17:38:14 2020 +0100| [a10e3327a5fd23af22316c8da62de77b9813a9c7] | committer: Thomas Guillem

opengl: remove unused picture pool

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

 modules/video_output/opengl/vout_helper.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/video_output/opengl/vout_helper.c b/modules/video_output/opengl/vout_helper.c
index a9fa1b8da4..7697f364bb 100644
--- a/modules/video_output/opengl/vout_helper.c
+++ b/modules/video_output/opengl/vout_helper.c
@@ -33,7 +33,6 @@
 #include <math.h>
 
 #include <vlc_common.h>
-#include <vlc_picture_pool.h>
 #include <vlc_subpicture.h>
 #include <vlc_opengl.h>
 #include <vlc_modules.h>
@@ -132,9 +131,6 @@ struct vout_display_opengl_t {
     int         region_count;
     gl_region_t *region;
 
-
-    picture_pool_t *pool;
-
     /* One YUV program and one RGBA program (for subpics) */
     struct prgm prgms[2];
     struct prgm *prgm; /* Main program */
@@ -934,7 +930,6 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
     /* */
     vgl->region_count = 0;
     vgl->region = NULL;
-    vgl->pool = NULL;
 
     if (vgl->fmt.projection_mode != PROJECTION_MODE_RECTANGULAR
      && vout_display_opengl_SetViewpoint(vgl, viewpoint) != VLC_SUCCESS)
@@ -964,8 +959,6 @@ void vout_display_opengl_Delete(vout_display_opengl_t *vgl)
     const size_t main_tex_count = interop->tex_count;
     const bool main_del_texs = !interop->handle_texs_gen;
 
-    if (vgl->pool)
-        picture_pool_Release(vgl->pool);
     opengl_deinit_program(vgl, vgl->prgm);
     opengl_deinit_program(vgl, vgl->sub_prgm);
 



More information about the vlc-commits mailing list