Skip to content
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

Fixes for OBS 27 #12

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Fixes for OBS 27 #12

wants to merge 6 commits into from

Conversation

w23
Copy link
Owner

@w23 w23 commented Aug 15, 2021

This includes:

  • updated signature for gs_texture_create_from_dmabuf
  • multiple planes with drmGetModeFb2

This should include:

  • original drmGetModeFb path for a single-plane query (not all configs support Fb2)

This does not include:

  • fixes for recent sway/wlroots/... breaking passing dma-buf fds with EGL texture creation returning ENOMEM. This is being investigated

@juxuanu
Copy link

juxuanu commented Dec 16, 2021

Where do you have obs-studio git folder cloned? I'm trying to build with this branch and I get #include <obs/graphics/graphics.h> not found.

w23 referenced this pull request Feb 16, 2022
Just use gs_texture_create_from_dmabuf provided by OBS directly, instead
of manually trying to massage EGL in the correct way.
compiles, but haven't been tested
also doesn't check for wayland support
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.

2 participants