[Mesa-dev] The forward-compatible bit question

Chad Versace chad.versace at linux.intel.com
Mon Jul 15 14:08:14 PDT 2013


If the user creates a context with EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR set,
must Mesa return a context of *exactly* that version. For example, if the user requests
a 3.0 context with the forward-compatible bit set, is Mesa required to return a 3.0
context but not allowed to return a 3.1 context?

Here's the pertinent portion of the EGL_KHR_create_context spec. Perhaps I'm interpreting
the keywords "specific" and "exactly" too strictly. How do you interpret this?

         Because the purpose of forward-compatible contexts is to allow 

         application development on a specific OpenGL version with the
         knowledge that the app will run on a future version, context
         creation will fail if
         EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR is set and the
         context version returned cannot implement exactly the requested
         version.

Do we know what the other vendors do (Intel Windows, Nvidia, AMD)?


More information about the mesa-dev mailing list