summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/common.c
Commit message (Collapse)AuthorAgeFilesLines
* vo_opengl: load certain EGL extensions needed for VAAPI EGL interopwm42015-09-251-0/+17
| | | | | | | | | These extensions use a bunch of EGL types, so we need to include the EGL headers in common.h to use our GL function loader with this. In the future, we should probably require presence of the EGL headers to reduce the hacks. This might be not so simple at least with OSX, so for now this has to do.
* client API: rename GL_MP_D3D_interfaceswm42015-09-241-1/+9
| | | | | | | | | | | | | This is a pseudo-OpenGL extension for letting libmpv query native windowing system handles from the API user. (It uses the OpenGL extension mechanism because I'm lazy. In theory it would be nicer to let the user pass them with mpv_opengl_cb_init_gl(), but this would require a more intrusive API change to extend its argument list.) The naming of the extension and associated function was unnecessarily Windows specific (using "D3D"), even though it would work just fine for other platforms. So deprecate the old names and introduce new ones. The old ones still work.
* vo_opengl: remove gl_ prefixes from files in video/out/openglNiklas Haas2015-09-091-0/+661
This is a bit redundant with the name of the directory itself, and not in line with existing naming conventions.