Bug 98182 - Consider setting ctx->Version to the selected version, not highest supported version
Summary: Consider setting ctx->Version to the selected version, not highest supported ...
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: 11.2
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-10 12:47 UTC by Martina Kollarova
Modified: 2016-10-16 22:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Martina Kollarova 2016-10-10 12:47:24 UTC
Mesa currently sets ctx->Version to the highest version the driver supports for
the selected profile, which may be higher than the GL version requested in
glXCreateContextAttribsARB. An example of a user bug due to this behavior: https://bugs.freedesktop.org/show_bug.cgi?id=95374.

There should at least be some documentation about the current behavior in the gl_context struct.
Comment 1 Kenneth Graunke 2016-10-16 22:32:07 UTC
As far as I know, that's how GL is expected to work.  Other implementations do this as well.  It's unlikely to change.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.