-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Provide an opaque interface for color sources in Aiks #41315
Conversation
15669fe to
e247f10
Compare
jonahwilliams
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!
e247f10 to
05e0e1b
Compare
| kConicalGradient, | ||
| kSweepGradient, | ||
| kRuntimeEffect, | ||
| kScene, |
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.
Not quite following where the Scene stuff needs to be #ifdef'd out vs. in. Why is this in the clear here, but Scene code under IMPELLER_ENABLE_3D in others?
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.
Currently we always build Scene as part of Impeller, but completely eliminate it from the DisplayList + UI unless IMPELLER_ENABLE_3D is on to make accidental exposure impossible. Maybe we should rename it to e.g. FLUTTER_ENABLE_3D sometime. 😄
…125094) flutter/engine@099ed6c...8b7cdb0 2023-04-19 [email protected] Roll dart, zlib, emscripten, tweak license script for rolled zlib (flutter/engine#41299) 2023-04-19 [email protected] Roll Skia from 84630c3c18b2 to 5a718d9e9c06 (3 revisions) (flutter/engine#41318) 2023-04-19 [email protected] [Impeller] Provide an opaque interface for color sources in Aiks (flutter/engine#41315) 2023-04-18 [email protected] [web:canvaskit] remove unnecessary instrumentation from picture (flutter/engine#41313) 2023-04-18 [email protected] Roll Skia from 476ee3fd54cc to 84630c3c18b2 (5 revisions) (flutter/engine#41316) 2023-04-18 [email protected] Double zip FlutterMacOS.framework.zip. (flutter/engine#41306) 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 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
Part of flutter/flutter#125017.
Pulls ColorSource construction out of the dispatcher and into Aiks.
Cleans up a few design warts we've accumulated over time:
Paint.SolidColorContentsaColorSourceContents.FYI @iamralpht