Skip to content

scene, server: improve DMABUF import #19

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

tesselslate
Copy link
Owner

At a minimum this PR should fix the GL_INVALID_OPERATION errors people have been experiencing on some Nvidia systems, but I'd like to improve the logging to make debugging this easier in the future (if more issues occur) and would also like to improve the DRM format/modifier validation stuff.

Not sure of the performance implications of calling
eglQueryDmaBufFormatsEXT and eglQueryDmaBufModifiersEXT (I was too lazy
to benchmark either) but it's nice to have them queried ahead of time to
be able to print them out for debugging purposes regardless.

At some point I should probably just cave and link libdrm. It will
probably finally need to happen whenever I get around to supporting
explicit sync in the DMABUF importing code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant