Repository navigation
fix: state the macOS-only conversions the #2625 replay cannot see (libobs-opengl, libobs) (#2879) - #2892
fix: state the macOS-only conversions the #2625 replay cannot see (libobs-opengl, libobs) (#2879)#2892zackees wants to merge 3 commits into
Conversation
|
macOS evidence dispatched: Scheduled 40840735859. Draft on purpose: #2880 went non-draft and the coordinator merged it (squash |
|
macOS evidence from this branch (run 40840734740, job 123337721271): the four So this PR is correct but blocked on #2887: I rebase onto |
|
Blocked: waits on #2887 (macOS ratchet for libobs/obs-cocoa.m.h); rebase and re-run macOS Tier 2 after it merges. |
|
Round 3: the previous dispatch's |
|
Round 4: job 1233614100xx's log had one remaining error, |
|
A parallel worker's |
The first green attempt still failed: the same #ifdef-only blind spot hides four more -Wsign-conversion diagnostics (CGLTexImageIOSurface2D takes GLsizei widths from uint32_t texture fields) and two -Wfloat-conversion ones (CGSize CGFloat dimensions into device_texture_create's uint32_t). State them at the call; values unchanged.
The libobs ratchet (#2877) had the same Linux-only replay blind spot: the macOS Tier 2 lane then reported CFIndex -> size_t (dstr_reserve), obs_key_t -> int (mouse button index), int -> UInt16 (UCKeyTranslate key code) and UniCharCount -> CFIndex (CFStringCreateWithCharactersNoCopy). State each at the call; values unchanged.
-Wsign-conversion on the macOS Tier 2 lane rejects strlen()'s size_t as the CFIndex byte count; cast at the boundary.
c0b4db5 to
fa2550b
Compare
macOS evidence (nightly dispatch on this branch)
Both macOS builds ( 19 What this PR does prove on macOS: the three |
Coordinator note (2026-10-29): this draft is what the merge queue is ejecting onEvidence that master's macOS Tier 2 is red on the exact four
The master push run 40847674702 skipped What is missing is not the fix but the evidence: PR CI skips the heavy lanes on a draft, so this branch has no One thing to keep in sync with the claim on #2896: that plan says "once the |
|
Superseded by #2897 — closing rather than leaving a second macOS-red PR in the queue. Why: this PR's own three commits went green on the macOS lane ( The |
Fixes #2879 (reopened: #2880 merged with only its first commit).
What
#2880 (
f37e33dd2) stated the two stage-surface conversions, but it was merged before its second commit pushed: the macOS Tier 2 lane on that branch still had fourgl-cocoa.m.hdiagnostics from the same blind spot. This PR is that remainder, rebased onto current master.Diagnostics (macOS Tier 2, run 40834432835 on
4abe73578)Like #2871's other 89 diagnostics these are only reachable on Apple platforms, which its Linux replay could not compile.
GREEN
libobs-opengl/gl-cocoa.m.h, no behaviour change:device_texture_create(device, (uint32_t)updateData.textureSize.width, (uint32_t)updateData.textureSize.height, …)—CGSizedimensions into the target'suint32_twidth/height (a backing texture size is integral by construction).CGLTexImageIOSurface2D(…, (GLsizei)tex->width, (GLsizei)tex->height, …)at both call sites — the sameuint32_ttexture fields the surrounding code converts elsewhere.clang-format --dry-run --Werroris clean. Opened as a draft because PR CI does not select the macOS lane for alibobs-openglheader change; macOS evidence is a dispatchedScheduledrun on this branch (link in the comments), and the PR goes ready whenRust Tier 2 (macos-26)is green.