summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 10 insertions, 1 deletions
diff --git a/wscript b/wscript
index c6f287ffa1..a120cb0ceb 100644
--- a/wscript
+++ b/wscript
@@ -762,10 +762,19 @@ video_output_features = [
check_statement('GL/gl.h', '(void)GL_RGB32F'), # arbitrary OpenGL 3.0 symbol
check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol
),
+ }, {
+ 'name': '--plain-gl',
+ 'desc': 'OpenGL without platform-specific code (e.g. for libmpv)',
+ 'deps_any': [ 'libmpv-shared', 'libmpv-static' ],
+ 'func': compose_checks(
+ check_statement('GL/gl.h', '(void)GL_RGB32F'), # arbitrary OpenGL 3.0 symbol
+ check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol
+ ),
} , {
'name': '--gl',
'desc': 'OpenGL video outputs',
- 'deps_any': [ 'gl-cocoa', 'gl-x11', 'egl-x11', 'egl-drm', 'gl-win32', 'gl-wayland', 'rpi' ],
+ 'deps_any': [ 'gl-cocoa', 'gl-x11', 'egl-x11', 'egl-drm',
+ 'gl-win32', 'gl-wayland', 'rpi', 'plain-gl' ],
'func': check_true
}, {
'name': 'egl-helpers',