[vlc-devel] [PATCH 0/2] video_filter: add egl_surfacetexture filter plugin

Romain Vimont rom1v at videolabs.io
Tue Apr 20 14:17:41 UTC 2021


On Android, this filter allows to render OpenGL filters to an Android
SurfaceTexture.

Contrary to egl_pbuffer, the resulting picture stays on the GPU (it is
not downloaded to main memory), providing much better performances.

Alexandre Janniaux (2):
  picture: always copy context when cloning
  video_filter: add egl_surfacetexture filter plugin

 modules/video_filter/egl_surfacetexture.c     | 473 ++++++++++++++++++
 modules/video_output/opengl/Makefile.am       |  10 +
 modules/video_output/opengl/interop_android.c |   2 +-
 src/misc/picture.c                            |  11 +-
 4 files changed, 491 insertions(+), 5 deletions(-)
 create mode 100644 modules/video_filter/egl_surfacetexture.c

-- 
2.31.0



More information about the vlc-devel mailing list