-
Notifications
You must be signed in to change notification settings - Fork 6k
Switched engine to use buffer collection. #23488
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
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 looks fantastic!
Please fix the failing checks (or wait for them to be deflaked) and then we can merge this ASAP
|
The patch needs to be rebased and the licenses fixed to proceed. |
19e68f5 to
02f8f4b
Compare
44b2e73 to
15403af
Compare
5ffcd65 to
533dc37
Compare
dreveman
left a comment
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.
lgtm after addressing this last set of comments
3cfda66 to
6486ff4
Compare
The old way of allocating images meant that one would have to make sure that Scenic and Flutter were using exactly the same pixel formats. This patch removes the old image allocation and replaces it with a sysmem API that uses buffer collections instead. This permits a smooth negotiation of formats between the two systems.
Change flutter#23488 has switched all the Vulkan surfaces on Fuchsia to use RGBA8 color type. However, Using RGBA8 format on Intel GPUs has caused graphical artifacts on emulators (See http://fxbug.dev/70232). This change modifies vulkan_surface.cc to use the multi-format vkSetBufferCollectionImageConstraintsFUCHSIA() Vulkan API, so that it could specify multiple formats when allocating buffer collections. Bug: fxbug.dev/70232
The old way of allocating images meant that one would have to make sure that Scenic and Flutter were using exactly the same pixel formats. This patch removes the old image allocation and replaces it with a sysmem API that uses buffer collections instead. This permits a smooth negotiation of formats between the two systems.
This test regressed due to flutter#23488 and this regression was silent due to flutter/flutter#78277 Credit to @gnoliyil for actually putting together the fix.
This test regressed due to flutter#23488 and this regression was silent due to flutter/flutter#78277 Credit to @gnoliyil for actually putting together the fix.
This test regressed due to flutter#23488 and this regression was silent due to flutter/flutter#78277 Credit to @gnoliyil for actually putting together the fix.
…ctory when loading skp's due to high cost of openat() on pkgfs (#25006) * [fuchsia][shader warmup] Fixed SkpWarmupTest This test regressed due to #23488 and this regression was silent due to flutter/flutter#78277 Credit to @gnoliyil for actually putting together the fix. * [fuchsia][shader warmup] Avoid recursively iterating over assets directory when loading skp's due to high cost of openat() on pkgfs
…ctory when loading skp's due to high cost of openat() on pkgfs (flutter#25006) * [fuchsia][shader warmup] Fixed SkpWarmupTest This test regressed due to flutter#23488 and this regression was silent due to flutter/flutter#78277 Credit to @gnoliyil for actually putting together the fix. * [fuchsia][shader warmup] Avoid recursively iterating over assets directory when loading skp's due to high cost of openat() on pkgfs
The old way of allocating images meant that one would have to make sure that Scenic and Flutter were using exactly the same pixel formats. This patch removes the old image allocation and replaces it with a sysmem API that uses buffer collections instead. This permits a smooth negotiation of formats between the two systems.