1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-12 18:02:36 +00:00
mpv/video
wm4 ef1c7563c5 vo_opengl: minor changes
Always set the viewport on entry. The way the viewport is tracked is a
bit complicated in my opinion, and in fact it doesn't even reduce the
number of GL calls. Setting it on entry is actually redundant if video
covers the screen fully, because the handle_pass() unconditionally sets
it anyway, but avoiding it would complicate the cases gl->Clear() is
actually needed.

Add a fbo argument to gl_video_render_frame(). This allows you to render
into a FBO rather than the default framebuffer. It will be useful for
providing an API to render on an external GL context. (If that will
actually be added.)
2014-12-02 20:36:55 +01:00
..
decode vd_lavc: use avcodec_is_open() 2014-12-02 20:36:55 +01:00
filter Silence some Coverity warnings 2014-11-21 09:59:58 +01:00
out vo_opengl: minor changes 2014-12-02 20:36:55 +01:00
csputils.c
csputils.h vo_opengl: Linearize non-RGB sRGB files correctly (eg. JPEG) 2014-11-26 21:44:36 +01:00
fmt-conversion.c video: remove swapped-endian image format aliases 2014-11-05 01:52:20 +01:00
fmt-conversion.h
hwdec.h
image_writer.c video: remove swapped-endian image format aliases 2014-11-05 01:52:20 +01:00
image_writer.h
img_format.c video: remove swapped-endian image format aliases 2014-11-05 01:52:20 +01:00
img_format.h video: remove swapped-endian image format aliases 2014-11-05 01:52:20 +01:00
img_fourcc.h
memcpy_pic.h
mp_image_pool.c
mp_image_pool.h
mp_image.c mp_image: slightly better image params verbose info 2014-11-12 19:30:59 +01:00
mp_image.h mp_image: slightly better image params verbose info 2014-11-12 19:30:59 +01:00
sws_utils.c
sws_utils.h
vaapi.c
vaapi.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vdpau.c
vdpau.h
vfcap.h