0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/video/out
wm4 210c83ab31 win32: create OpenGL context on the GUI thread
This fixes the fullscreen issues on Intel for me. I'm baffled by it and
don't understand why this suddenly works. Intel drivers being shit?
Windows being shit? HWND or HDC being only 97% thread-safe instead of
98%? Me missing something subtle that is not documented anywhere?

Who knows.

Now instead of creating the HDC and OpenGL context on the renderer
thread, they're created on the GUI thread. The renderer thread will
then only call wglMakeCurrent, SwapBuffers, and OpenGL standard
functions.

Probably fixes github issue #968.
2014-08-05 20:02:23 +02:00
..
cocoa cocoa: use mainScreen as a fallback for window constraining 2014-04-28 21:32:59 +02:00
aspect.c vo: add some general support code for VOs that allow rotation 2014-04-21 02:57:16 +02:00
aspect.h vo: add some general support code for VOs that allow rotation 2014-04-21 02:57:16 +02:00
bitmap_packer.c bitmap_packer: use printf() for fatal message 2013-12-21 20:50:11 +01:00
bitmap_packer.h
cocoa_common.h cocoa: move CGL context creation to gl_cocoa 2014-07-08 21:06:57 +02:00
cocoa_common.m vo: remove vo_mouse_movement() wrapper 2014-07-27 21:53:29 +02:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl vo_direct3d: remove 2ch hack for 10 bit playback 2013-01-13 20:04:14 +01:00
dither.c dither: don't use long double 2013-07-05 20:26:32 +02:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
filter_kernels.c filter_kernels: fix nearest scaler 2014-06-04 00:23:31 +02:00
filter_kernels.h
gl_cocoa.c cocoa: fix compilation on OS X 10.8 2014-07-14 07:21:44 +02:00
gl_common.c Remove some mp_msg calls with no trailing \n 2014-07-13 20:12:13 +02:00
gl_common.h Add more const 2014-06-11 00:39:14 +02:00
gl_header_fixes.h gl_video: support packed YUV formats with Apple extensions 2013-12-02 09:03:30 +01:00
gl_hwdec_vaglx.c video: make mp_image use mp_image_params directly 2014-04-21 02:57:16 +02:00
gl_hwdec_vda.c vda: fix build on OS X 10.7 2014-01-02 22:45:39 +01:00
gl_hwdec_vdpau.c vo_vdpau, vo_opengl: handle vdpau preemption differently 2014-05-10 10:44:16 +02:00
gl_lcms.c video: Generate an accurate CMS matrix instead of hard-coding 2014-06-22 19:02:06 +02:00
gl_lcms.h vo_opengl, cocoa: allow to autoselect a color profile 2014-03-31 22:07:33 +02:00
gl_osd.c vo_opengl: simplify redraw callback OSD handling 2014-06-16 01:00:59 +02:00
gl_osd.h vo_opengl: simplify redraw callback OSD handling 2014-06-16 01:00:59 +02:00
gl_video_shaders.glsl vo_opengl: Make approx-gamma affect OSD/sub 2014-06-22 19:07:02 +02:00
gl_video.c vo_opengl: Make approx-gamma affect OSD/sub 2014-06-22 19:07:02 +02:00
gl_video.h vo_opengl: simplify redraw callback OSD handling 2014-06-16 01:00:59 +02:00
gl_w32.c win32: create OpenGL context on the GUI thread 2014-08-05 20:02:23 +02:00
gl_wayland.c gl_wayland: Don't try to resize the egl_window before it exists 2014-08-04 09:50:24 +02:00
gl_x11.c gl_x11: remove workaround for PPC OSX 10.4 2014-05-31 21:56:45 +02:00
pnm_loader.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
pnm_loader.h
vo_caca.c vo: remove vo_mouse_movement() wrapper 2014-07-27 21:53:29 +02:00
vo_corevideo.c vo: make draw_image and vo_queue_image transfer image ownership 2014-06-17 23:05:50 +02:00
vo_direct3d.c win32: make private struct private, refactor 2014-07-26 20:27:03 +02:00
vo_image.c vo: make draw_image and vo_queue_image transfer image ownership 2014-06-17 23:05:50 +02:00
vo_lavc.c vo: make draw_image and vo_queue_image transfer image ownership 2014-06-17 23:05:50 +02:00
vo_null.c vo: make draw_image and vo_queue_image transfer image ownership 2014-06-17 23:05:50 +02:00
vo_opengl_old.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
vo_opengl.c vo_opengl: simplify redraw callback OSD handling 2014-06-16 01:00:59 +02:00
vo_sdl.c vo: remove vo_mouse_movement() wrapper 2014-07-27 21:53:29 +02:00
vo_vaapi.c video/out: use strcmp() instead of strcasecmp() for equalizers 2014-07-10 08:27:15 +02:00
vo_vdpau.c vdpau: don't upload video images in advance 2014-07-29 00:21:02 +02:00
vo_wayland.c vo: different hack for VOs which need to mangle mouse input 2014-07-27 21:33:11 +02:00
vo_x11.c vo_x11: fix build with older Libav versions 2014-07-28 21:48:43 +02:00
vo_xv.c vo: different hack for VOs which need to mangle mouse input 2014-07-27 21:33:11 +02:00
vo.c vdpau: don't upload video images in advance 2014-07-29 00:21:02 +02:00
vo.h vdpau: don't upload video images in advance 2014-07-29 00:21:02 +02:00
w32_common.c win32: create OpenGL context on the GUI thread 2014-08-05 20:02:23 +02:00
w32_common.h win32: create OpenGL context on the GUI thread 2014-08-05 20:02:23 +02:00
wayland_common.c vo: remove vo_mouse_movement() wrapper 2014-07-27 21:53:29 +02:00
wayland_common.h wayland: move subsurfaces to wayland vo 2014-06-15 14:46:27 +02:00
win_state.c video/out: separate out code to compute window size 2014-05-06 20:22:32 +02:00
win_state.h video/out: separate out code to compute window size 2014-05-06 20:22:32 +02:00
x11_common.c vo: remove vo_mouse_movement() wrapper 2014-07-27 21:53:29 +02:00
x11_common.h x11: cleanup motif hints handling 2014-06-06 18:45:38 +02:00
x11_icon.bin x11: add window icon 2013-09-01 23:27:33 +02:00