Repository navigation
libobs: graphics exports and imports per OS in graphics-{exports,imports}-<os>.h (#872) - #2131
Merged
Merged
Conversation
zackees
enabled auto-merge
October 24, 2026 11:05
zackees
force-pushed
the
facade/872-graphics-imports
branch
from
October 24, 2026 11:14
4c57502 to
3669591
Compare
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #872 (slice 2 of 3:
graphics-internal.h,graphics-imports.c.h).struct gs_exports' host members (macOS IOSurface, Windows GDI/shared texture/duplicator, Linux/BSD dmabuf/pixmap/sync) move verbatim tographics-exports-{macos,windows,linux}.h; the matchingGRAPHICS_IMPORTlines tographics-imports-{macos,windows,linux}.h. The shared files include all three; each list is guarded by its own OS (allowed in an OS-named file), so the member order and layout per OS are unchanged and no build wiring changes.graphics-internal.h,graphics-imports.c.hremoved. Public headers untouched.RED: d06b7a0 adds
test_graphics_host_exports(Tier 2, Linux: the Linux import list is exactly the 11 required entry points in order;struct gs_exportskeeps the dmabuf/sync members); fails to build, nographics-imports-linux.h.GREEN: next commit. Locally it passes; cross win-x64 + mac-arm64 compile (the macOS/Windows lists). Local-only failures: the usual unrelated set, plus
test_transition_scale_type(from #2080, transitions, not graphics exports).Tiers 1/3/4 n/a (C restructuring, no behavior change).