New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a bunch of additional EGL extensions #877
Conversation
Latest Khronos headers changed the rects argument to be const, which caused a build failure here.
This extension allows programs to use efficient memory layouts. Ideally both formats and modifiers would get displayed as enums, or at least as hex, but I’m not sure it makes sense to copy the full drm_fourcc.h in there. I have tested this commit against both Weston and Catacomb, two Wayland compositors.
This extension has values which conflict with EGL_KHR_platform_x11, EGL_KHR_platform_gbm and EGL_KHR_platform_wayland, I’m not completely sure how to handle that.
Looks good AFAICT. Thanks. |
I have no issues with the commit as is, as it doesn't break anything. Including Another solution is to wrap the FourCC codes with |
All of these are used or at least linked to by Wayland compositors, this makes it much easier to debug what is going on while debugging those, as otherwise the function calls just don’t get displayed in
apitrace dump
.I have tested those against both Weston and Catacomb, on iris, lima and nouveau.
This series is more easily read per commit than as a whole.
I’m not quite sure how to best handle the third commit, which would look much better if I would basically import
drm_fourcc.h
, but then keeping it up to date might be an issue.Supersedes #876.