-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] disabling the color write mask seems to improve performance on iOS compared to just the blend options. #53322
[Impeller] disabling the color write mask seems to improve performance on iOS compared to just the blend options. #53322
Conversation
…e on iOS compared to just the blend options.
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 "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use 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. |
@@ -40,6 +40,7 @@ void ContentContextOptions::ApplyToPipelineDescriptor( | |||
color0.format = color_attachment_pixel_format; | |||
color0.alpha_blend_op = BlendOperation::kAdd; | |||
color0.color_blend_op = BlendOperation::kAdd; | |||
color0.write_mask = ColorWriteMaskBits::kAll; |
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 just explicitly specifying the default value of the write mask as initialized in the ColorAttachmentDescriptor. Are there cases where we do modify it mask when we create the pipeline descriptor? Perhaps its better to be explicit.
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 being explicit.
@@ -69,6 +70,7 @@ void ContentContextOptions::ApplyToPipelineDescriptor( | |||
color0.dst_color_blend_factor = BlendFactor::kOne; | |||
color0.src_alpha_blend_factor = BlendFactor::kZero; | |||
color0.src_color_blend_factor = BlendFactor::kZero; | |||
color0.write_mask = ColorWriteMaskBits::kNone; |
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 suppose it makes sense that this is correct. Have no clue why it could be faster. RSLGTM?
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…performance on iOS compared to just the blend options. (flutter/engine#53322)
…150199) flutter/engine@c7fcbfc...4cb3025 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 0fe7f7ac43c5 to ecc64fb82374 (1 revision) (flutter/engine#53374) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 9ea9f37e8e1d to 0fe7f7ac43c5 (1 revision) (flutter/engine#53373) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from b12af56eb100 to 9ea9f37e8e1d (1 revision) (flutter/engine#53372) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 704f70b7d756 to b12af56eb100 (1 revision) (flutter/engine#53371) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 69a53db434a6 to 704f70b7d756 (2 revisions) (flutter/engine#53370) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from b2f163ae11bf to 69a53db434a6 (8 revisions) (flutter/engine#53365) 2024-06-13 jonahwilliams@google.com [Impeller] Move Gradient tests to display list. (flutter/engine#53345) 2024-06-13 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 5VG7IYkpANkfxMKYx... to pGxbL7JoNb3yAYFw4... (flutter/engine#53363) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from be6a57569a92 to b2f163ae11bf (5 revisions) (flutter/engine#53357) 2024-06-13 15619084+vashworth@users.noreply.github.com Give mac_host_engine tests a longer timeout and allow to run on Mac-14 (flutter/engine#53355) 2024-06-13 codefu@google.com 'Starter Project': port planet fragment shader to impeller tests (flutter/engine#53362) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 1ba0c3ebc7a5 to be6a57569a92 (1 revision) (flutter/engine#53353) 2024-06-12 skia-flutter-autoroll@skia.org Roll Dart SDK from 24fbead7105d to aa2265e5a192 (1 revision) (flutter/engine#53352) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 52d829ac6a0b to 1ba0c3ebc7a5 (1 revision) (flutter/engine#53351) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 5bfbacc89543 to 52d829ac6a0b (1 revision) (flutter/engine#53350) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 51eabd0d1e44 to 5bfbacc89543 (1 revision) (flutter/engine#53349) 2024-06-12 skia-flutter-autoroll@skia.org Roll Dart SDK from b61536f05f99 to 24fbead7105d (1 revision) (flutter/engine#53348) 2024-06-12 skia-flutter-autoroll@skia.org Roll Dart SDK from 269125c33a35 to b61536f05f99 (1 revision) (flutter/engine#53347) 2024-06-12 jonahwilliams@google.com [Impeller] disabling the color write mask seems to improve performance on iOS compared to just the blend options. (flutter/engine#53322) 2024-06-11 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from LS0Ff8PwQEGXzO0iA... to 5VG7IYkpANkfxMKYx... (flutter/engine#53346) 2024-06-11 skia-flutter-autoroll@skia.org Roll Dart SDK from ab4d5a0b789d to 269125c33a35 (1 revision) (flutter/engine#53344) 2024-06-11 30870216+gaaclarke@users.noreply.github.com [Impeller] makes bgra10xr test more comprehensive (flutter/engine#53320) 2024-06-11 skia-flutter-autoroll@skia.org Roll Skia from af907b24d873 to 51eabd0d1e44 (1 revision) (flutter/engine#53343) 2024-06-11 jonahwilliams@google.com [Impeller] add missing position to exp canvas text. (flutter/engine#53339) 2024-06-11 skia-flutter-autoroll@skia.org Roll Skia from 4cbc1129e587 to af907b24d873 (1 revision) (flutter/engine#53341) 2024-06-11 yjbanov@google.com Revert "[web] switch from .didGain/LoseAccessibilityFocus to .focus (â�¦ (flutter/engine#53342) 2024-06-11 jonahwilliams@google.com [Impeller] move some tests from aiks to display list. (flutter/engine#53336) 2024-06-11 skia-flutter-autoroll@skia.org Roll Skia from b5f974ec2dcd to 4cbc1129e587 (1 revision) (flutter/engine#53340) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from LS0Ff8PwQEGX to pGxbL7JoNb3y 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://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#150199) flutter/engine@c7fcbfc...4cb3025 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 0fe7f7ac43c5 to ecc64fb82374 (1 revision) (flutter/engine#53374) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 9ea9f37e8e1d to 0fe7f7ac43c5 (1 revision) (flutter/engine#53373) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from b12af56eb100 to 9ea9f37e8e1d (1 revision) (flutter/engine#53372) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 704f70b7d756 to b12af56eb100 (1 revision) (flutter/engine#53371) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 69a53db434a6 to 704f70b7d756 (2 revisions) (flutter/engine#53370) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from b2f163ae11bf to 69a53db434a6 (8 revisions) (flutter/engine#53365) 2024-06-13 jonahwilliams@google.com [Impeller] Move Gradient tests to display list. (flutter/engine#53345) 2024-06-13 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 5VG7IYkpANkfxMKYx... to pGxbL7JoNb3yAYFw4... (flutter/engine#53363) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from be6a57569a92 to b2f163ae11bf (5 revisions) (flutter/engine#53357) 2024-06-13 15619084+vashworth@users.noreply.github.com Give mac_host_engine tests a longer timeout and allow to run on Mac-14 (flutter/engine#53355) 2024-06-13 codefu@google.com 'Starter Project': port planet fragment shader to impeller tests (flutter/engine#53362) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 1ba0c3ebc7a5 to be6a57569a92 (1 revision) (flutter/engine#53353) 2024-06-12 skia-flutter-autoroll@skia.org Roll Dart SDK from 24fbead7105d to aa2265e5a192 (1 revision) (flutter/engine#53352) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 52d829ac6a0b to 1ba0c3ebc7a5 (1 revision) (flutter/engine#53351) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 5bfbacc89543 to 52d829ac6a0b (1 revision) (flutter/engine#53350) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 51eabd0d1e44 to 5bfbacc89543 (1 revision) (flutter/engine#53349) 2024-06-12 skia-flutter-autoroll@skia.org Roll Dart SDK from b61536f05f99 to 24fbead7105d (1 revision) (flutter/engine#53348) 2024-06-12 skia-flutter-autoroll@skia.org Roll Dart SDK from 269125c33a35 to b61536f05f99 (1 revision) (flutter/engine#53347) 2024-06-12 jonahwilliams@google.com [Impeller] disabling the color write mask seems to improve performance on iOS compared to just the blend options. (flutter/engine#53322) 2024-06-11 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from LS0Ff8PwQEGXzO0iA... to 5VG7IYkpANkfxMKYx... (flutter/engine#53346) 2024-06-11 skia-flutter-autoroll@skia.org Roll Dart SDK from ab4d5a0b789d to 269125c33a35 (1 revision) (flutter/engine#53344) 2024-06-11 30870216+gaaclarke@users.noreply.github.com [Impeller] makes bgra10xr test more comprehensive (flutter/engine#53320) 2024-06-11 skia-flutter-autoroll@skia.org Roll Skia from af907b24d873 to 51eabd0d1e44 (1 revision) (flutter/engine#53343) 2024-06-11 jonahwilliams@google.com [Impeller] add missing position to exp canvas text. (flutter/engine#53339) 2024-06-11 skia-flutter-autoroll@skia.org Roll Skia from 4cbc1129e587 to af907b24d873 (1 revision) (flutter/engine#53341) 2024-06-11 yjbanov@google.com Revert "[web] switch from .didGain/LoseAccessibilityFocus to .focus (â�¦ (flutter/engine#53342) 2024-06-11 jonahwilliams@google.com [Impeller] move some tests from aiks to display list. (flutter/engine#53336) 2024-06-11 skia-flutter-autoroll@skia.org Roll Skia from b5f974ec2dcd to 4cbc1129e587 (1 revision) (flutter/engine#53340) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from LS0Ff8PwQEGX to pGxbL7JoNb3y 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://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#150199) flutter/engine@c7fcbfc...4cb3025 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 0fe7f7ac43c5 to ecc64fb82374 (1 revision) (flutter/engine#53374) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 9ea9f37e8e1d to 0fe7f7ac43c5 (1 revision) (flutter/engine#53373) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from b12af56eb100 to 9ea9f37e8e1d (1 revision) (flutter/engine#53372) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 704f70b7d756 to b12af56eb100 (1 revision) (flutter/engine#53371) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from 69a53db434a6 to 704f70b7d756 (2 revisions) (flutter/engine#53370) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from b2f163ae11bf to 69a53db434a6 (8 revisions) (flutter/engine#53365) 2024-06-13 jonahwilliams@google.com [Impeller] Move Gradient tests to display list. (flutter/engine#53345) 2024-06-13 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 5VG7IYkpANkfxMKYx... to pGxbL7JoNb3yAYFw4... (flutter/engine#53363) 2024-06-13 skia-flutter-autoroll@skia.org Roll Skia from be6a57569a92 to b2f163ae11bf (5 revisions) (flutter/engine#53357) 2024-06-13 15619084+vashworth@users.noreply.github.com Give mac_host_engine tests a longer timeout and allow to run on Mac-14 (flutter/engine#53355) 2024-06-13 codefu@google.com 'Starter Project': port planet fragment shader to impeller tests (flutter/engine#53362) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 1ba0c3ebc7a5 to be6a57569a92 (1 revision) (flutter/engine#53353) 2024-06-12 skia-flutter-autoroll@skia.org Roll Dart SDK from 24fbead7105d to aa2265e5a192 (1 revision) (flutter/engine#53352) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 52d829ac6a0b to 1ba0c3ebc7a5 (1 revision) (flutter/engine#53351) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 5bfbacc89543 to 52d829ac6a0b (1 revision) (flutter/engine#53350) 2024-06-12 skia-flutter-autoroll@skia.org Roll Skia from 51eabd0d1e44 to 5bfbacc89543 (1 revision) (flutter/engine#53349) 2024-06-12 skia-flutter-autoroll@skia.org Roll Dart SDK from b61536f05f99 to 24fbead7105d (1 revision) (flutter/engine#53348) 2024-06-12 skia-flutter-autoroll@skia.org Roll Dart SDK from 269125c33a35 to b61536f05f99 (1 revision) (flutter/engine#53347) 2024-06-12 jonahwilliams@google.com [Impeller] disabling the color write mask seems to improve performance on iOS compared to just the blend options. (flutter/engine#53322) 2024-06-11 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from LS0Ff8PwQEGXzO0iA... to 5VG7IYkpANkfxMKYx... (flutter/engine#53346) 2024-06-11 skia-flutter-autoroll@skia.org Roll Dart SDK from ab4d5a0b789d to 269125c33a35 (1 revision) (flutter/engine#53344) 2024-06-11 30870216+gaaclarke@users.noreply.github.com [Impeller] makes bgra10xr test more comprehensive (flutter/engine#53320) 2024-06-11 skia-flutter-autoroll@skia.org Roll Skia from af907b24d873 to 51eabd0d1e44 (1 revision) (flutter/engine#53343) 2024-06-11 jonahwilliams@google.com [Impeller] add missing position to exp canvas text. (flutter/engine#53339) 2024-06-11 skia-flutter-autoroll@skia.org Roll Skia from 4cbc1129e587 to af907b24d873 (1 revision) (flutter/engine#53341) 2024-06-11 yjbanov@google.com Revert "[web] switch from .didGain/LoseAccessibilityFocus to .focus (â�¦ (flutter/engine#53342) 2024-06-11 jonahwilliams@google.com [Impeller] move some tests from aiks to display list. (flutter/engine#53336) 2024-06-11 skia-flutter-autoroll@skia.org Roll Skia from b5f974ec2dcd to 4cbc1129e587 (1 revision) (flutter/engine#53340) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from LS0Ff8PwQEGX to pGxbL7JoNb3y 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://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Otherwise should be semantically equivalent/no-op.