rendering: reuse retained CPU work - #73
Open
tritao wants to merge 10 commits into
Open
Conversation
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
2 times, most recently
from
August 22, 2026 13:47
d5e9ca7 to
f55602a
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
2 times, most recently
from
August 22, 2026 18:51
20e49c0 to
f4d9413
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 22, 2026 18:57
f4d9413 to
161f6b5
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
2 times, most recently
from
August 23, 2026 01:44
31fe99b to
813e819
Compare
tritao
marked this pull request as ready for review
August 23, 2026 01:46
tritao
changed the base branch from
stack/retained-incremental-updates
to
integration/retained-performance-wip
August 23, 2026 01:47
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 23, 2026 02:13
813e819 to
2ff5b2e
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 23, 2026 03:00
2ff5b2e to
c7697ca
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 23, 2026 03:09
c7697ca to
1960e9f
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 23, 2026 03:19
1960e9f to
6007f42
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 23, 2026 09:33
6007f42 to
57b7176
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 23, 2026 10:09
57b7176 to
93e42d4
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 23, 2026 11:13
93e42d4 to
0df0010
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
2 times, most recently
from
August 23, 2026 12:38
6db698a to
01d714a
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 23, 2026 13:14
01d714a to
c5c4911
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 23, 2026 17:46
33d823f to
ed50ca1
Compare
tritao
force-pushed
the
stack/retained-cpu-reuse
branch
from
August 23, 2026 21:21
ed50ca1 to
077be95
Compare
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.
Builds on #78.
Purpose
After unchanged-frame reuse and incremental updates remove the large rebuilds,
the remaining CPU cost is dominated by smaller repeated work: constructing and
copying command data, allocating short-lived containers, resolving the same
resource/cache indices, and rebinding state that has not changed.
This PR removes those costs from the existing retained pipeline without
changing its semantic model or adding new public APIs.
What changed
blend state across adjacent commands.
Scope
These are internal CPU hot-path optimizations. The inline-storage helper is
not installed or exposed as a public Coin container, and public retained-IR
value types keep their standard-container API. Planner ordering and mutation
semantics remain owned by the lower layers.
Validation
submission path.
work without changing semantic draw counts or output.