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
Implement a DisplayList mechanism similar to the Skia SkLiteDL mechanism #26928
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
b9f69e3
Implement a DisplayList mechanism similar to the Skia SkLiteDL mechanism
flar b681d3f
fix licenses and a potential source of bulk compare failures
flar 45d4cfd
fix shell test expecting string output for cache stats
flar f3da850
use std::numeric_limits for min/max float values
flar 921d21d
fix windows compile errors due to structure packing
flar 30c0380
Fix missing save layer flags
flar e021fef
switch to enum classes and fully implement SkC::drawPicture
flar 285815b
adopt review suggestions on naming style
flar 3a39b55
add alignment pragmas to rein in Windows x64 compiler wasted bytes
flar 5c0e31f
remove the ColorFilter workaround from unit test now that Skia bug is…
flar 3e34f1a
naming style for DLOp fields
flar 8b3f915
switch to EXPECT for byte count test to see how many tests fail on Wi…
flar 90a7b90
implement ImageRect constraint and pack ClipOp better for Windows (ho…
flar 3535b78
add unit testing of DrawTextBlob
flar b8399f3
more style guide name changes and more testing of dl.Equals
flar 5f16bcc
break up complicated unit tests and enable experimental DL test
flar 0b275af
minor formatting and simplification of DL unit tests
flar d98decd
flush out render testing matrix and fix shadow bounds
flar 6608c5f
Skip font rendering tests on Fuchsia
flar a160d27
fix signed size_t comparisons causing vector overflow
flar b578935
eliminate another unsigned size_t comparison in a unit test
flar cc83cf5
more review feedback
flar bd50c5c
add drawImageLattice tests and more style guide renames
flar 4a79eef
remove all ShadowRec code and leave a few comments pointing to the re…
flar 0d66114
switch DL off by default and move some EXPECT_DEATH tests inside DEBU…
flar 3755bf1
adjust new DL sources for recent removal of Fuchsia legacy code
flar 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
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
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.
Minor nit: Can we put the ops in their own header? The stuff about the display list is way more interesting that the op definitions. Will just make the code a bit easier to navigate.
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.
Currently they are private to that cc file. Their definitions aren't needed anywhere else.
Basically
display_list.[h,cc]exist only to define, pack, and unpack the structure through Dispatcher. Everything else is in a different file.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.
I'll lump this in with the previous suggestions for using a manifest and for investigating alternate storage solutions.