diff options
author | wm4 <wm4@nowhere> | 2016-09-14 10:05:00 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-14 10:19:09 +0200 |
commit | d2e8bc449986e012f257249a996386bd323febd0 (patch) | |
tree | ef63019837e4eda38b7bafb6020cb88512627247 /video/out/bitmap_packer.c | |
parent | c48bd0ef183c7ae4c2893495ac9cbca08c06bbae (diff) | |
download | mpv-d2e8bc449986e012f257249a996386bd323febd0.tar.bz2 mpv-d2e8bc449986e012f257249a996386bd323febd0.tar.xz |
vo_opengl: EGL: better desktop-GL context creation
Stops Mesa from restricting us to OpenGL 3.0. It also tries to create
GLES 3 contexts for drivers which do not just return a higher context
when requesting GLES 2.
I don't know whether this code is a good or bad idea. A not-so-good
aspect is that we don't check for EGL 1.5 (or 1.4 extensions) for some
of the more advanced context attributes. But EGL implementations should
be able to tolerate it and return an error, and then we'd use the
fallback.
Diffstat (limited to 'video/out/bitmap_packer.c')
0 files changed, 0 insertions, 0 deletions