mpv/video/out
wm4 0f9fcf0ed4 vo_opengl: do not use GL format conversion on texture upload
The dither texture data is created as a float array, but uploaded to a
texture with GL_R16 as internal format. We relied on GL to do the
conversion from float to uint16_t. Not all GL variants even support
this: GLES does not provide this conversion (one of the reasons why this
code has a float16 code path). Also, ra is not going to do this. So just
convert on the fly.

Still keep the float16 texture format fallback, because not all GLES
implementations provide GL_R16.

There is some possibility that we'll need to provide some kind of upload
conversion anyway for float->float16. We still rely on GL doing this
implicitly, and all GL variants support it, but with RA there might be
the need for explicit conversion. Even then, it might be best to reduce
the number of conversion cases. I'll worry about this later.
2017-07-29 20:12:43 +02:00
..
cocoa osx: change license header on some more cocoa files 2017-06-24 16:50:52 +02:00
opengl vo_opengl: do not use GL format conversion on texture upload 2017-07-29 20:12:43 +02:00
wayland
win32
aspect.c aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
aspect.h aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
bitmap_packer.c
bitmap_packer.h
cocoa_common.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
cocoa_common.m osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
d3d_shader_420p.h
d3d_shader_yuv.hlsl
dither.c
dither.h
drm_common.c vo_drm: nake drm mode help output also output refresh rate 2017-06-18 20:54:44 +02:00
drm_common.h
filter_kernels.c vo_opengl: generalize --scale-clamp etc. 2017-07-12 19:08:58 +02:00
filter_kernels.h vo_opengl: generalize --scale-clamp etc. 2017-07-12 19:08:58 +02:00
vo.c vo_opengl: add direct rendering support 2017-07-24 04:32:55 +02:00
vo.h vo_opengl: add direct rendering support 2017-07-24 04:32:55 +02:00
vo_caca.c
vo_direct3d.c vo_direct3d: remove non-working nv12 shader support 2017-06-30 18:13:01 +02:00
vo_drm.c
vo_image.c image_writer, vo_image: change license to LGPL 2017-06-18 15:45:24 +02:00
vo_lavc.c
vo_null.c
vo_opengl.c vo_opengl: add direct rendering support 2017-07-24 04:32:55 +02:00
vo_opengl_cb.c
vo_rpi.c
vo_sdl.c video: get rid of swapped packed YUV 2017-06-30 18:01:29 +02:00
vo_tct.c
vo_vaapi.c
vo_vdpau.c
vo_wayland.c
vo_x11.c
vo_xv.c video: get rid of swapped packed YUV 2017-06-30 18:01:29 +02:00
w32_common.c w32_common: use sent messages to wake up the Win32 thread 2017-07-04 23:08:40 +10:00
w32_common.h w32_common, w32_keyboard: change license to LGPL 2017-06-24 12:54:45 +02:00
wayland_common.c
wayland_common.h
win_state.c win_state: change license to LGPL 2017-06-17 21:10:24 +02:00
win_state.h
x11_common.c x11: add 128x128 sized icon support 2017-07-02 13:07:36 +02:00
x11_common.h