1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/video/out
wm4 fe35130ba9 vo_opengl: mess with PixelStorei state management
This is needed for GLES 2 support. GLES 2 doesn't support
GL_UNPACK_ROW_LENGTH, and we shouldn't even use this constant, since a
GLES implementation could raise an error.

So set it only if neccessary, and leave it in the default state
otherwise. This also smuggles in a ES 2 fallback for glUploadTex(),
and querying an extension relevant for ES 2. For the alignment state
(GL_[UN]PACK_ALIGNMENT) do the same for symmetry. All 4 states
(alignment/rows x pack/unpack) are now assumed to be in their initial
states by default.

Also redo the PixelStorei handling in the function table. I could rebase
this, but look at the commit time.
2014-12-19 01:21:18 +01:00
..
cocoa cocoa: allow to black out other display when going fs 2014-12-01 18:05:30 +01:00
wayland
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h vda: use implicit current GL context 2014-12-03 20:40:06 +01:00
cocoa_common.m cocoa: fix crash 2014-12-08 23:02:09 +01:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl
dither.c
dither.h
filter_kernels.c vo_opengl: clamp filters to their size 2014-12-06 23:59:54 +01:00
filter_kernels.h
gl_cocoa.c cocoa: reintroduce async resize 2014-10-18 18:30:22 +02:00
gl_common.c vo_opengl: mess with PixelStorei state management 2014-12-19 01:21:18 +01:00
gl_common.h vo_opengl: mess with PixelStorei state management 2014-12-19 01:21:18 +01:00
gl_header_fixes.h vo_opengl: add some OpenGL standard symbols missing on OSX 2014-12-17 22:17:11 +01:00
gl_hwdec_vaglx.c client API: expose OpenGL renderer 2014-12-09 17:59:04 +01:00
gl_hwdec_vda.c vo_opengl: move hwdec parts into their own files 2014-12-03 23:01:19 +01:00
gl_hwdec_vdpau.c client API: expose OpenGL renderer 2014-12-09 17:59:04 +01:00
gl_hwdec.c client API: expose OpenGL renderer 2014-12-09 17:59:04 +01:00
gl_hwdec.h client API: expose OpenGL renderer 2014-12-09 17:59:04 +01:00
gl_lcms.c
gl_lcms.h
gl_osd.c vo_opengl: simplify the case without texture_rg 2014-12-18 14:46:59 +01:00
gl_osd.h
gl_video_shaders.glsl vo_opengl: do not use 4x3 matrix 2014-12-18 22:24:45 +01:00
gl_video.c vo_opengl: mess with PixelStorei state management 2014-12-19 01:21:18 +01:00
gl_video.h vo_opengl: remove quadbuffer/anaglyph stereo 3D rendering 2014-12-15 04:40:26 +01:00
gl_w32.c
gl_wayland.c
gl_x11.c vo_opengl, x11: make legacy context warning not an error 2014-12-18 20:58:37 +01:00
gl_x11egl.c vo_opengl: GLES 3 support 2014-12-17 21:48:23 +01:00
pnm_loader.c
pnm_loader.h
vo_caca.c
vo_direct3d.c vo_direct3d: check whether D3DFMT_A8 is available 2014-11-27 20:05:29 +01:00
vo_image.c Do not call strerror() 2014-11-26 21:21:56 +01:00
vo_lavc.c ao_lavc, vo_lavc: Fix crashes in case of multiple init attempts. 2014-11-12 12:16:07 +01:00
vo_null.c
vo_opengl_cb.c vo_opengl: remove requirement for RG textures 2014-12-16 18:55:20 +01:00
vo_opengl_old.c vo_opengl: remove quadbuffer/anaglyph stereo 3D rendering 2014-12-15 04:40:26 +01:00
vo_opengl.c vo_opengl: remove icc profile options from runtime-settable options 2014-12-16 19:19:02 +01:00
vo_sdl.c command: make window-scale property observable 2014-11-02 20:53:56 +01:00
vo_vaapi.c vo_vaapi: fix broken error checks 2014-11-07 09:28:47 +01:00
vo_vdpau.c vo: fix some nonsense 2014-12-10 17:00:18 +01:00
vo_wayland.c vo_wayland: drop redundant "const" 2014-11-07 09:28:58 +01:00
vo_x11.c vo_x11: don't attempt to resize when unconfigured 2014-12-14 22:01:30 +01:00
vo_xv.c command: make window-scale property observable 2014-11-02 20:53:56 +01:00
vo.c vo: fix some nonsense 2014-12-10 17:00:18 +01:00
vo.h vo: fix some nonsense 2014-12-10 17:00:18 +01:00
w32_common.c Revert "vo/w32_common: use local definition of IID_ITaskbarList2" 2014-12-16 02:19:33 -08:00
w32_common.h
wayland_common.c vo_wayland: Add "multimedia" keyboard key bindings. 2014-11-29 19:13:47 +01:00
wayland_common.h
win_state.c
win_state.h
x11_common.c x11: fix mysterious issue with window embedding on OpenBox 2014-12-18 16:45:55 +01:00
x11_common.h x11: copy WinID option 2014-12-09 21:55:18 +01:00
x11_icon.bin