You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: distinguish CPU project scaffolds from the preview fallback - #295
The quickstart uses “CPU backend” for two different things: the native player’s Skia fallback and the tiny-skia backend selected when scaffolding a project. CPU scaffolds don’t include the native player, so there is no preview command. This clarification points readers to frame when they want to inspect a CPU-rendered frame.
I built the cargo-fframes 1.4.2 generator from the current source using its locked dependencies and generated both CPU and Vulkan projects. The CPU scaffold omits the player dependency and preview; both templates expose frame. All three generator unit tests passed, and Pandoc parsed the new shell block. I didn’t run a generated render or open a GPU preview window.
AI assistance: Codex.
Summary by CodeRabbit
Documentation
Clarified the distinction between the native player’s CPU drawing path and projects rendered with the CPU backend.
Documented that CPU-backend projects skip Skia and the preview command, and added instructions for rendering a frame without opening the preview window.
Removed the previous combined description of CPU-backend behavior.
No actionable comments were generated in the recent review.
Walkthrough
The README distinguishes the native player’s Skia-on-CPU drawing path from projects using --backend cpu. It also documents that CPU-backend projects omit the preview command and gives a command to render a frame without the preview window.
Changes: CPU rendering documentation
Layer / File(s)
Summary
Clarify CPU rendering paths README.md
The README distinguishes native-player Skia-on-CPU drawing from the tiny-skia project backend. It documents that CPU-backend projects omit the preview command and gives a command to render a frame without the preview window.
This is a README clarification of the two CPU rendering paths and the frame command for CPU-backend projects. It does not change runtime behavior, and no merge-blocking issue remains.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "docs: distinguish CPU project scaffolds from the preview fallback" matches the main change. The README now separates the native player's Skia-on-CPU fallback from the tiny-skia backend sele…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "docs: distinguish CPU project scaffolds from the preview fallback" matches the main change. The README now separates the native player's Skia-on-CPU fallback from the tiny-skia backend selected with --backend cpu for project scaffolds. The PR objectives confirm the same intent: CPU scaffolds omit the native player and the preview command, and the frame command is the alternative. The title is specific and concise, and it names the core distinction without listing files.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: f027aa4b-ae70-4431-b063-eb3ab94b1399
Commits
Reviewing files that changed from the base of the PR and between 779928a and 537c85c.
Files selected for processing: 1
README.md
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
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
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.
The quickstart uses “CPU backend” for two different things: the native player’s Skia fallback and the tiny-skia backend selected when scaffolding a project. CPU scaffolds don’t include the native player, so there is no
previewcommand. This clarification points readers toframewhen they want to inspect a CPU-rendered frame.I built the
cargo-fframes1.4.2 generator from the current source using its locked dependencies and generated both CPU and Vulkan projects. The CPU scaffold omits the player dependency andpreview; both templates exposeframe. All three generator unit tests passed, and Pandoc parsed the new shell block. I didn’t run a generated render or open a GPU preview window.AI assistance: Codex.
Summary by CodeRabbit