opengl: handle output resize in a generic way
Resizing the window resulted in a call to a function on the specific
"renderer" filter.
Instead, add a filter callback to handle output resizing, and propagate
the requested input size backwards.
This will allow to properly handle resizing if an upscaler is inserted
before the renderer.
Co-authored-by:
Maxime Meissonnier <mmeisson@outlook.fr>
Showing
- modules/video_output/opengl/filter.h 22 additions, 0 deletionsmodules/video_output/opengl/filter.h
- modules/video_output/opengl/filters.c 42 additions, 0 deletionsmodules/video_output/opengl/filters.c
- modules/video_output/opengl/filters.h 7 additions, 0 deletionsmodules/video_output/opengl/filters.h
- modules/video_output/opengl/renderer.c 21 additions, 1 deletionmodules/video_output/opengl/renderer.c
- modules/video_output/opengl/renderer.h 5 additions, 4 deletionsmodules/video_output/opengl/renderer.h
- modules/video_output/opengl/vout_helper.c 5 additions, 1 deletionmodules/video_output/opengl/vout_helper.c
Please register or sign in to comment