Skip to content

docs: distinguish CPU project scaffolds from the preview fallback - #295

Open
fuadsn wants to merge 1 commit into
dmtrKovalenko:mainfrom
fuadsn:docs-cpu-scaffold-preview
Open

fuadsn wants to merge 1 commit into
dmtrKovalenko:mainfrom
fuadsn:docs-cpu-scaffold-preview

Conversation

@fuadsn

@fuadsn fuadsn commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

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.

@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Explain Change →

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.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: dmtrkovalenko

Merge Risk: Minimal · up to 537c8

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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • 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.

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