Repository navigation
feat(editor): default preview quality to Full on capable machines - #4392
Merged
Merged
Conversation
|
Sandchest reviewed Sandchest reviews every change for vulnerabilities an attacker could use · 1 credit · Review details |
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Member
Author
|
hey @greptileai, please re-review the PR |
Member
Author
|
hey @greptileai, please re-review the PR |
Member
Author
|
hey @greptileai, please re-review the PR |
This comment has been minimized.
This comment has been minimized.
Member
Author
|
hey @greptileai, please re-review the PR |
Full is proven free on Apple Silicon. Windows previews go through a CPU readback that costs more at Full, and no real Windows GPU has been measured yet, so the dedicated-GPU rule waits for that measurement.
Member
Author
|
hey @greptileai, please re-review the PR |
Member
Author
|
hey @greptileai, please re-review the PR |
This was referenced Nov 23, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 editor preview now defaults to Full on Apple Silicon, where it is free, and stays on Half elsewhere. A paused Full frame is also redrawn at the canvas size, the way Half already is.
flowchart TD A[general_settings] --> B{editorPreviewQualityChosen?} B -- yes --> S[stored quality] B -- no --> C{stored full or quarter?} C -- yes --> S C -- "no (missing, or half)" --> M{this machine} M -- "Apple Silicon" --> F[Full] M -- "everything else, or a software render device" --> H[Half]EditorPreviewQuality::from_general(apps/desktop-gpui/src/store.rs): earlier builds wrote the whole settings object, so almost every existing store holds"half". A storedhalfonly counts as a choice onceeditorPreviewQualityChosenis set. A storedfullorquarterwas always picked by hand and is kept.set_editor_preview_qualitywrites the quality and the chosen flag together. The editor's Full | Half | Quarter control is the only writer.schedule_sharp_preview(apps/desktop-gpui/src/editor_window.rs) used to skip anything but Half. Full renders 1664x1080 for a 3024x1964 recording, which a large Retina canvas still magnifies. It is now redrawn at the canvas size when still. Quarter stays as chosen.Why these machines
Same build, 10 minute 3024x1964 60 fps project, 3 interleaved rounds per side.
This branch against main
Same 3024x1964 60 fps project, 3 interleaved rounds per side. "Old store" is
{"editorPreviewQuality":"half"}as earlier builds wrote it. "Chosen Half" also carrieseditorPreviewQualityChosen.

Confidence Score: 5/5
The PR appears safe to merge.Summary
The editor defaults to Full on Apple Silicon unless it uses software rendering, preserves saved choices, and redraws paused Full previews at the canvas size.
Reviews (11) · Last reviewed commit: "test(editor): expect Half on Apple Silic..." · Reviewed by Greptile