Skip to content

feat(device)!: add ORBDevice shader compilation shims - #48

Merged
Kyle-Ye merged 1 commit into
mainfrom
feature/shader
Nov 29, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
feature/shader

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Nov 29, 2026

Copy link
Copy Markdown
Member

Summary

  • Align the Swift names and platform availability of ORBDevice lookup methods with RenderBox.
  • Add a typed synchronous shader compilation stub and a Swift device shim for platforms without Objective-C.
  • Expose the Swift queue overload when Dispatch is available and update the DarwinPrivateFrameworks pin.

Swift compatibility

Use try device.compileShader(shader) in place of device.compileShader(shader, error: ...).

Dependency

Align the device interface with the RenderBox headers and add the Swift
fallback. Provide the queue-based overload when Dispatch is available.

BREAKING CHANGE: Replace compileShader(_:error:) in Swift with the
throwing compileShader(_:) method. Display-specific lookup is macOS only.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T17:34:22.575411Z 81905b9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov-commenter

codecov-commenter commented Nov 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 62.68%. Comparing base (d383530) to head (81905b9).

Files with missing lines Patch % Lines
Sources/OpenRenderBox/Device/ORBDevice.swift 0.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
- Coverage   63.00%   62.68%   -0.32%     
==========================================
  Files          19       20       +1     
  Lines        2103     2112       +9     
==========================================
- Hits         1325     1324       -1     
- Misses        778      788      +10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye
Kyle-Ye merged commit bb66c30 into main Nov 29, 2026
4 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/shader branch November 29, 2026 17:36
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