opengl: compile against iOS OpenGLES implementation

This commit is contained in:
Aman Gupta
2016-10-19 12:07:05 -07:00
committed by wm4
parent 5da510b5fc
commit 4bd3e51fbe
3 changed files with 25 additions and 1 deletions

View File

@@ -811,10 +811,14 @@ video_output_features = [
'desc': 'Android OpenGL ES support',
'deps': ['android'],
'func': check_statement('GLES3/gl3.h', '(void)GL_RGB32F'), # arbitrary OpenGL ES 3.0 symbol
} , {
'name': '--ios-gl',
'desc': 'iOS OpenGL ES support',
'func': check_statement('OpenGLES/ES3/glext.h', '(void)GL_RGB32F'), # arbitrary OpenGL ES 3.0 symbol
} , {
'name': '--any-gl',
'desc': 'Any OpenGL (ES) support',
'deps_any': ['standard-gl', 'android-gl', 'cocoa'],
'deps_any': ['standard-gl', 'android-gl', 'ios-gl', 'cocoa'],
'func': check_true
} , {
'name': '--plain-gl',