Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@dragostis
Copy link
Contributor

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.

@flutter-dashboard
Copy link

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.

Copy link
Contributor

@arbreng arbreng left a 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

@chinmaygarde
Copy link
Member

The patch needs to be rebased and the licenses fixed to proceed.

@dragostis dragostis force-pushed the image2 branch 5 times, most recently from 19e68f5 to 02f8f4b Compare January 21, 2021 16:00
@dragostis dragostis force-pushed the image2 branch 2 times, most recently from 44b2e73 to 15403af Compare January 21, 2021 17:40
@dragostis dragostis force-pushed the image2 branch 4 times, most recently from 5ffcd65 to 533dc37 Compare January 25, 2021 19:02
Copy link
Contributor

@dreveman dreveman left a 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

@dragostis dragostis force-pushed the image2 branch 2 times, most recently from 3cfda66 to 6486ff4 Compare January 26, 2021 14:10
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.
gnoliyil added a commit to gnoliyil/engine that referenced this pull request Mar 5, 2021
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
hjfreyer pushed a commit to hjfreyer/engine that referenced this pull request Mar 22, 2021
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.
freiling added a commit to freiling/engine that referenced this pull request Mar 30, 2021
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.
freiling added a commit to freiling/engine that referenced this pull request Mar 30, 2021
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.
freiling added a commit to freiling/engine that referenced this pull request Apr 1, 2021
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.
freiling added a commit that referenced this pull request Apr 2, 2021
…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
duanqz pushed a commit to duanqz/engine that referenced this pull request Apr 16, 2021
…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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants