Skip to content

fix(RB)!: correct RBDevice declarations - #96

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

  • Declare explicit Swift names for the RBDevice factory methods and limit display-specific lookup to macOS.
  • Move the shader compilation methods into RBDevice (RBShader) and use typed shader and error parameters for synchronous compilation.
  • Update RBDevice.h in all RenderBox XCFramework slices.

Swift compatibility

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

Match the device lookup selectors and shader compilation signatures.
Update all RenderBox XCFramework headers.

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:18:42.718449Z 3faf96b 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.

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