From e76ec2c96300c828b2a96ae71199128295f8451b Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Sat, 14 Nov 2015 00:04:30 +1100 Subject: vo_opengl: add initial ANGLE support ANGLE is a GLES2 implementation for Windows that uses Direct3D 11 for rendering, enabling vo_opengl to work on systems with poor OpenGL drivers and bypassing some of the problems with native GL, such as VSync in fullscreen mode. Unfortunately, using GLES2 means that most of vo_opengl's advanced features will not work, however ANGLE is under rapid development and GLES3 support is supposed to be coming soon. --- wscript | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 858dcc901c..0f113002ba 100644 --- a/wscript +++ b/wscript @@ -658,6 +658,14 @@ video_output_features = [ 'groups': [ 'gl' ], 'func': check_statement('windows.h', 'wglCreateContext(0)', lib='opengl32') + } , { + 'name': '--egl-angle', + 'desc': 'OpenGL Win32 ANGLE Backend', + 'deps_any': [ 'os-win32', 'os-cygwin' ], + 'groups': [ 'gl' ], + 'func': check_statement(['EGL/egl.h'], + 'eglCreateWindowSurface(0, 0, 0, 0)', + lib='EGL') } , { 'name': '--vdpau', 'desc': 'VDPAU acceleration', -- cgit v1.2.3