Summary: | [wine] GLX_DONT_CARE does not work for GLX_DRAWABLE_TYPE or GLX_RENDER_TYPE | ||
---|---|---|---|
Product: | Mesa | Reporter: | Sven Arvidsson <sa> |
Component: | Mesa core | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | amonakov, thomas.lindroth |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sven Arvidsson
2012-03-18 10:55:54 UTC
You are correct. GLX_DONT_CARE (0xffffffff) should be handled for these cases. Page 17 (page 23 of the PDF) of the GLX 1.4 spec says: "If GLX DONT CARE is specified as an attribute value, then the attribute will not be checked. GLX DONT CARE may be specified for all attributes except GLX LEVEL." I just posted a piglit test that reproduces this issue. http://lists.freedesktop.org/archives/piglit/2012-March/002132.html Once that test gets into piglit, I'll post a proposed fix. *** Bug 62999 has been marked as a duplicate of this bug. *** *** Bug 62999 has been marked as a duplicate of this bug. *** (In reply to comment #0) > I tried using apitrace to trace the game with fglrx but the resulting trace > runs with Mesa drivers so it can't be used to reproduce the bug. apitrace doesn't replay GLX/WGL/CGL/EGL calls faithfully -- it does a very rough emulation using whatever is available so one can replay traces from different OSes -- so in general it can't be used to reproduce bugs in these APIs, only on proper GL, GL ES. This should be fixed by the following commit on Mesa master. It should get picked over to the 9.1 branch next week. commit 9cda3560048e8595d3ffa315b76487f4479bff2c Author: Alexander Monakov <amonakov@ispras.ru> Date: Tue Apr 2 01:38:27 2013 +0400 Honor GLX_DONT_CARE in MATCH_MASK NOTE: This is a candidate for stable branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47478 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62999 Bugzilla: http://bugs.winehq.org/show_bug.cgi?id=26763 |
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.