-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] dont use concurrent runner to decode images on Android. #42944
[Impeller] dont use concurrent runner to decode images on Android. #42944
Conversation
chinmaygarde
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.
Just so I am understanding this right, the issue is that the device allocation as part of the concurrent decompression is causing slowdowns? I didn't think just the decompression touched any GPU resources.
|
My theory is that we're overloading the phone. There are a bunch of smaller potential problems too, from the PSO construction to the memory allocation for both the staging buffers and the textures ... If everything else was working well then I think it would be easier to identify the exact problems. For the time being, I'd propose that we simplify things and get the rest of the world in a working state. Then we can investigate whether concurrent upload/decompression is feasible. |
|
Sounds good to me. |
flutter/engine@7ffa135...d298f0b 2023-06-18 jonahwilliams@google.com Fix prefer_final_in_foreach analysis errors (flutter/engine#42971) 2023-06-18 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from xS5RzQLfpMEK1rNEd... to fgS2avQGq4x_sbZHU... (flutter/engine#42973) 2023-06-18 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from aBEyk5N2HlwOqvpwo... to BuzniDS9u_hdghV5f... (flutter/engine#42970) 2023-06-18 skia-flutter-autoroll@skia.org Roll Skia from dc2e0ebbd045 to f489be63a30a (1 revision) (flutter/engine#42968) 2023-06-18 skia-flutter-autoroll@skia.org Roll Skia from 85b4788bc3f1 to dc2e0ebbd045 (1 revision) (flutter/engine#42967) 2023-06-18 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from -PsA0LDB2FdS_4_vK... to xS5RzQLfpMEK1rNEd... (flutter/engine#42966) 2023-06-18 bdero@google.com [Impeller] Use 32 bit for positional stuff in the rrect blur (flutter/engine#42797) 2023-06-18 jonahwilliams@google.com Revert "[Impeller] correct default PSO pixel format and sample count." (flutter/engine#42962) 2023-06-18 jonahwilliams@google.com [Impeller] dont use concurrent runner to decode images on Android. (flutter/engine#42944) 2023-06-18 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from I1G8Ll0KcxmAoMT8u... to aBEyk5N2HlwOqvpwo... (flutter/engine#42964) 2023-06-18 skia-flutter-autoroll@skia.org Roll Skia from c56f38d79fe0 to 85b4788bc3f1 (2 revisions) (flutter/engine#42963) 2023-06-17 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from Au1gd3XLMuSt1Z4oh... to -PsA0LDB2FdS_4_vK... (flutter/engine#42959) 2023-06-17 skia-flutter-autoroll@skia.org Roll Dart SDK from d1faf69c8253 to 5a9e97eebbed (1 revision) (flutter/engine#42958) 2023-06-17 skia-flutter-autoroll@skia.org Roll Skia from 2a9e11fd9d37 to c56f38d79fe0 (1 revision) (flutter/engine#42955) 2023-06-17 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from JMStJe6efcLuWMT_I... to I1G8Ll0KcxmAoMT8u... (flutter/engine#42954) 2023-06-17 skia-flutter-autoroll@skia.org Roll Dart SDK from 1a04f451a934 to d1faf69c8253 (1 revision) (flutter/engine#42953) 2023-06-17 skia-flutter-autoroll@skia.org Roll Dart SDK from b3bcbdf7de8d to 1a04f451a934 (1 revision) (flutter/engine#42951) 2023-06-17 skia-flutter-autoroll@skia.org Roll Skia from dc11c7ddb33f to 2a9e11fd9d37 (1 revision) (flutter/engine#42950) 2023-06-17 bdero@google.com [Impeller] Print malioc errors on CI (flutter/engine#42906) 2023-06-17 skia-flutter-autoroll@skia.org Roll Dart SDK from 8eaed3382237 to b3bcbdf7de8d (10 revisions) (flutter/engine#42949) 2023-06-17 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from -NW1eatBbmjvLaIcV... to Au1gd3XLMuSt1Z4oh... (flutter/engine#42948) 2023-06-17 a-siva@users.noreply.github.com Fix analyzer warnings (prefer_final_in_for_each is now the default) (flutter/engine#42943) 2023-06-16 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from fXVcR5tdj5wSd_OUz... to JMStJe6efcLuWMT_I... (flutter/engine#42942) 2023-06-16 skia-flutter-autoroll@skia.org Roll Skia from 64fa632d3b01 to dc11c7ddb33f (3 revisions) (flutter/engine#42939) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from -NW1eatBbmjv to fgS2avQGq4x_ fuchsia/sdk/core/mac-amd64 from fXVcR5tdj5wS to BuzniDS9u_hd If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC chinmaygarde@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
|
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 (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
Even with separate allocators and queues, I think that using the concurrent runner is just overloading the phone.
On Android force it all onto the I/O thread.
flutter/flutter#128919