Summary: | KHR/khrplatform.h not always installed when needed | ||
---|---|---|---|
Product: | Mesa | Reporter: | Brad King <brad.king> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | blocker | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Brad King
2018-08-07 11:43:27 UTC
Fixed in: commit 87c156183cd668f1341326cc7c88ab6686f27d8f Author: Eric Engestrom <eric.engestrom@intel.com> Date: Tue Aug 7 12:56:25 2018 +0100 configure: install KHR/khrplatform.h when needed Hi all, I see that certain GL headers like "glcorearb.h" needs "KHRplatform.h" header files. This works seamlessly when the GL and EGL providers are MESA. In scenarios where the GL provider is MESA and EGL provider is some GPU vendor say ARM, in that scenario, the khrplatform header comes from two different providers and that results in conflict. In scenarios like this, who should provide the KHRplatform.h header. Some users, may want use exclusively EGL/GLES2 binaries, and they dont need GL support. How can we resolve this conflict? Thanks Mads (In reply to Madhurkiran from comment #2) > Hi all, > > I see that certain GL headers like "glcorearb.h" needs "KHRplatform.h" > header files. This works seamlessly when the GL and EGL providers are MESA. > In scenarios where the GL provider is MESA and EGL provider is some GPU > vendor say ARM, in that scenario, the khrplatform header comes from two > different providers and that results in conflict. In scenarios like this, > who should provide the KHRplatform.h header. Some users, may want use > exclusively EGL/GLES2 binaries, and they dont need GL support. How can we > resolve this conflict? > > Thanks > Mads Hi! Please open a new issue when you encounter a new issue, it helps keep things clearer ;) As for your issue, I'm afraid if a user chooses to pull two khrplatform.h from two different providers, the user is the one who has to choose which one to keep, or how to merge/combine them. Neither provider can decide "I'm more important than any other provider, keep me!" Hopefully though, this should be easy enough for the user to choose: keep the most recent one (see the date at the top of the file), and if the other one was modified from what Khronos provides then copy those modifications :) |
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.