diff options
author | Philip Langdale <philipl@overt.org> | 2021-12-04 18:13:10 -0800 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-12-19 15:58:12 +0100 |
commit | 85a45573698598bb4602ec248fa92f2d03fda162 (patch) | |
tree | 77e46a3935119119eb767da9c08f04294158ce40 /osdep/subprocess-posix.c | |
parent | 7c0a9b8ff7a424d320247aacbf7ed8504d8ceb5c (diff) | |
download | mpv-85a45573698598bb4602ec248fa92f2d03fda162.tar.bz2 mpv-85a45573698598bb4602ec248fa92f2d03fda162.tar.xz |
vo_gpu: opengl: try and create context at version 440 again
nvidia follow the OpenGL spec very strictly, with two particular
consequences:
* They will give you the exact context version that you ask for,
rather than the highest possible version that meets your request.
* They will hide extensions that the specs say require a higher
version than you request, even if it's technically possible to
provide the extension at lower versions.
In our case, we really want a variety of extensions, particularly
compute shaders that are only available in 4.2 or higher. That means
that we must explicitly include a high enough version in our list of
versions to check for us to be able to get a 'good' enough context.
As for which version? We restore the 4.4 version that we had in the
old version selection logic. This is the highest version we ever asked
for, and we have separate logic that clamps the GLSL version to 4.4,
so anything newer wouldn't make a difference.
Diffstat (limited to 'osdep/subprocess-posix.c')
0 files changed, 0 insertions, 0 deletions