This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] experimental canvas bdf support. #53597
Merged
auto-submit
merged 18 commits into
flutter-team-archive:main
from
jonahwilliams:draw_to_onscreen_composited
Jun 28, 2024
Merged
Changes from 8 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
c4feb4b
[Impeller] experimental canvas bdf support.
42343d3
fix subpass offset.
3d73c9d
fix bdfs.
9590506
++
eb0d4db
format
2a23c4c
++
5363f4a
++
34aef90
handle no-op BDFS.
b398795
texture reuse.
5eda5f2
Merge branch 'main' of github.com:flutter/engine into draw_to_onscree…
810dcdb
fix texture flip.
b1cd486
re-arrange.
2cab9ec
++
7deef3f
fix max basis scale transform.
8f18663
++
0aaee76
++
9ba9ce5
turn off exp canvas.
3b5e58f
Update entity_pass_clip_stack.cc
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC from earlier, the plan is to do a
Save()instead in cases where this ends up being zero size in order to avoid making a zero size texture/RenderPass?Then, stuff appended within the "skipped" SaveLayer may still append draws, but they shouldn't be able to draw anything into the parent texture given the zero size scissor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is done now. Also, on partial repaint examples we have fewer composited layers compared to the current entity pass. I'm not sure why the current entity pass skip logic doesn't seem to work at eliding the entire layer when there are backdrops.
Experimental Canvas
Current