Results 1 to 10 of 56

Thread: OpenCL Support Atop Gallium3D Is Here, Sort Of

Threaded View

  1. #35
    Join Date
    Oct 2007
    Under the bridge


    Quote Originally Posted by nhaehnle View Post
    In any case, this evidence tends to be in favor of having a non-restricted version string.
    On the contrary, this proves why glGetInteger(GL_MAJOR) and glGetInteger(GL_MINOR) are superior to any solution involving string parsing.

    These methods can be trivially supported in Mesa 7.6 without advertizing OpenGL 3.0. Nvidia and Ati binary drivers expose these methods even on 2.1 contexts - there's no reason why Mesa cannot do the same.

    Edit: Digging around, I think this post is the root of the GL_VERSION issue. The first number in "1.4 (2.1 Mesa 7.0.1)" is the highest OpenGL version that can be officially supported under the current GLX implementation when using indirect rendering. Which means that I either hit a Mesa bug or was just plain lucky by only using supported methods.

    Still, the whole confusion wouldn't even exist with glGetInteger(GL_[MAJOR|MINOR]).
    Last edited by BlackStar; 09-04-2009 at 12:52 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts