diff options
author | Sven Gothel <[email protected]> | 2013-10-19 02:49:15 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-10-19 02:49:15 +0200 |
commit | 34b35c5a0a379a6b4c0b23b9d347a0b1338f0239 (patch) | |
tree | 7e5df9aead4e988d8d4ca5333b8d18c692eed65a /src/test-native/mesa-demos-patched | |
parent | c6b8ad4a8972f62fb8d0c1dcd7eca1de24393028 (diff) |
Fix Bug 862: Fix GL Version Validation / NVidia GTX550 driver 331.13 - 64bit Linux - No compatibility GLProfile (GL2, >= GL3bc)
Fix GL Version Validation:
We shall not rely on our known good versions when validating a queried GL context version,
but allow some 'room' for a higher version post JOGL release while still
cutting off 'odd versions'.
While GL version detection, we always iterate from the highest known version
down to the lowest. Hence 'GLContext.isValidGLVersion(..)' is satisfied
by validating the lowest version number but allowing a higher than known one.
Now we would return 'invalid' for a version >= 6.
It is enough to clip to the maximum known version when iterating,
allowing the highest unknown version to be available.
GLContext.isValidGLVersion(..):
Returns true, if the major.minor is not inferior to the lowest
valid version and does not exceed the highest known major number by more than one.
The minor version number is ignored by the upper limit validation
and the major version number may exceed by one.
The upper limit check is relaxed since we don't want to cut-off
unforseen new GL version since the release of JOGL.
Hence it is important to iterate through GL version from the upper limit
and 'decrementGLVersion(..)' until invalid.
Add GL Version 4.4 to valid known versions.
Remove ES3 desktop detection, which is impossible
Regression of commit 3a0d7703da32e9a5ddf08a334f18588a78038d88 (ES3 support)
Diffstat (limited to 'src/test-native/mesa-demos-patched')
0 files changed, 0 insertions, 0 deletions