-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Remove blend mode restrictions on clear color optimization #43348
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
164e749 to
1e8f89d
Compare
gaaclarke
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, nice
| /// @brief Returns a color if this Contents will flood the given `target_size` | ||
| /// with a color. This output color is the "Source" color that will be | ||
| /// used for the Entity's blend operation. | ||
| /// | ||
| /// This is useful for absorbing full screen solid color draws into | ||
| /// subpass clear colors. |
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.
👍
|
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. |
The linter is failing on this in my unrelated PR for some reason: #43348 ``` � Failures for clang-tidy on /Volumes/Work/s/w/ir/cache/builder/src/flutter/impeller/renderer/backend/metal/vertex_descriptor_mtl.mm: /Volumes/Work/s/w/ir/cache/builder/src/flutter/impeller/renderer/backend/metal/vertex_descriptor_mtl.mm:177:3: error: missing username/bug in TODO [google-readability-todo,-warnings-as-errors] // TODO: its odd that we offset buffers from the max index on metal ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // TODO(chrome-bot): its odd that we offset buffers from the max index on metal Suppressed 1476 warnings (1475 in non-user code, 1 NOLINT). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 1 warning treated as error ```
5a688b3 to
3dae2d6
Compare
|
Golden file changes are available for triage from new commit, Click here to view. |
3dae2d6 to
c2935d1
Compare
…sions) (#130023) Manual roll Flutter Engine from 987b621eac4e to bd2e42b203e1 (32 revisions) Manual roll requested by [email protected] flutter/engine@987b621...bd2e42b 2023-07-05 [email protected] Reverts Dart SDK to version 3.1.0-262.0.dev (flutter/engine#43417) 2023-07-05 [email protected] Roll Fuchsia Mac SDK from 8YulTHvG-Jg3Sof-S... to C3Q7MJBYkiin8zw-f... (flutter/engine#43415) 2023-07-05 [email protected] Roll Dart SDK from f7c242ded366 to e193587883d6 (1 revision) (flutter/engine#43414) 2023-07-05 [email protected] Roll Skia from a453fed07c91 to d58324bf653d (1 revision) (flutter/engine#43413) 2023-07-05 [email protected] Roll Skia from faf906db84ab to a453fed07c91 (4 revisions) (flutter/engine#43412) 2023-07-05 [email protected] Roll Dart SDK from c89f5ac4fd46 to f7c242ded366 (1 revision) (flutter/engine#43410) 2023-07-04 [email protected] Roll Fuchsia Mac SDK from 8-taK-r4HkgVAIGtU... to 8YulTHvG-Jg3Sof-S... (flutter/engine#43409) 2023-07-04 [email protected] Roll Dart SDK from 7cd6ed860b63 to c89f5ac4fd46 (1 revision) (flutter/engine#43408) 2023-07-04 [email protected] Roll Dart SDK from d128bd4977a7 to 7cd6ed860b63 (1 revision) (flutter/engine#43406) 2023-07-04 [email protected] Roll Skia from eaca275ef1c0 to faf906db84ab (1 revision) (flutter/engine#43405) 2023-07-04 [email protected] Roll Dart SDK from e58e3bd3b507 to d128bd4977a7 (1 revision) (flutter/engine#43403) 2023-07-04 [email protected] Roll Fuchsia Mac SDK from GNWxBcnfjZlyaOw34... to 8-taK-r4HkgVAIGtU... (flutter/engine#43402) 2023-07-04 [email protected] Roll Skia from bb18c9b1f730 to eaca275ef1c0 (1 revision) (flutter/engine#43401) 2023-07-04 [email protected] Roll Dart SDK from 604ccea2f5b9 to e58e3bd3b507 (1 revision) (flutter/engine#43400) 2023-07-04 [email protected] Roll Skia from 85a3fda32850 to bb18c9b1f730 (3 revisions) (flutter/engine#43399) 2023-07-04 49699333+dependabot[bot]@users.noreply.github.com Bump actions/labeler from 4.1.0 to 4.2.0 (flutter/engine#43398) 2023-07-04 [email protected] Roll Skia from 4abc43e2ffcc to 85a3fda32850 (1 revision) (flutter/engine#43393) 2023-07-04 [email protected] [Impeller] Document `impeller::Context`. (flutter/engine#43389) 2023-07-03 [email protected] Roll Dart SDK from a4c5ed075a2b to 604ccea2f5b9 (1 revision) (flutter/engine#43390) 2023-07-03 [email protected] Roll Dart SDK from c092e09b7e64 to a4c5ed075a2b (1 revision) (flutter/engine#43387) 2023-07-03 [email protected] Roll Skia from 6a5ea15c942b to 4abc43e2ffcc (1 revision) (flutter/engine#43386) 2023-07-03 [email protected] Roll Fuchsia Mac SDK from cytps4RRhs8-wbcVJ... to GNWxBcnfjZlyaOw34... (flutter/engine#43373) 2023-07-03 [email protected] Roll Dart SDK from dedff8f0ebd2 to c092e09b7e64 (1 revision) (flutter/engine#43374) 2023-07-03 [email protected] Roll Skia from 94ad507b8959 to 6a5ea15c942b (1 revision) (flutter/engine#43385) 2023-07-03 [email protected] Roll Skia from e16d5b988a36 to 94ad507b8959 (2 revisions) (flutter/engine#43383) 2023-07-03 [email protected] Roll Skia from 384b84445a9f to e16d5b988a36 (1 revision) (flutter/engine#43382) 2023-07-02 [email protected] Roll Skia from dbf0829114ee to 384b84445a9f (2 revisions) (flutter/engine#43381) 2023-07-01 [email protected] [Impeller] Remove blend mode restrictions on clear color optimization (flutter/engine#43348) 2023-07-01 [email protected] Roll Dart SDK from f00f7363f4bf to dedff8f0ebd2 (4 revisions) (flutter/engine#43371) 2023-07-01 [email protected] Roll Skia from ceaeef84b8a3 to dbf0829114ee (15 revisions) (flutter/engine#43370) 2023-07-01 [email protected] [Impeller] Add explicit color filter types to Aiks. (flutter/engine#43342) 2023-07-01 [email protected] Roll Dart SDK from 2d98d9e27dae to f00f7363f4bf (1 revision) (flutter/engine#43354) Also rolling transitive DEPS: fuchsia/sdk/core/mac-amd64 from cytps4RRhs8- to C3Q7MJBYkiin 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 [email protected],[email protected],[email protected] 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 ...
The linter is failing on this in my unrelated PR for some reason: flutter#43348 ``` � Failures for clang-tidy on /Volumes/Work/s/w/ir/cache/builder/src/flutter/impeller/renderer/backend/metal/vertex_descriptor_mtl.mm: /Volumes/Work/s/w/ir/cache/builder/src/flutter/impeller/renderer/backend/metal/vertex_descriptor_mtl.mm:177:3: error: missing username/bug in TODO [google-readability-todo,-warnings-as-errors] // TODO: its odd that we offset buffers from the max index on metal ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // TODO(chrome-bot): its odd that we offset buffers from the max index on metal Suppressed 1476 warnings (1475 in non-user code, 1 NOLINT). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 1 warning treated as error ```
…flutter#43348) Now that all of the CPU blend modes work, we can allow back-to-back fullscreen solid color draws to get blended together regardless of their blend mode/color opacity.
Now that all of the CPU blend modes work, we can allow back-to-back fullscreen solid color draws to get blended together regardless of their blend mode/color opacity.