aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/tests-linux-x64-junit-swt.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-19 02:49:15 +0200
committerSven Gothel <[email protected]>2013-10-19 02:49:15 +0200
commit34b35c5a0a379a6b4c0b23b9d347a0b1338f0239 (patch)
tree7e5df9aead4e988d8d4ca5333b8d18c692eed65a /make/scripts/tests-linux-x64-junit-swt.sh
parentc6b8ad4a8972f62fb8d0c1dcd7eca1de24393028 (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 'make/scripts/tests-linux-x64-junit-swt.sh')
0 files changed, 0 insertions, 0 deletions