-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable transparent FlutterViews #6163
Conversation
- Changes rasterizer to clear the canvas with `SkColor_TRANSPARENT` - Removes the unused `backgroundColor` param from `FlutterView.java`
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.
Can you verify this on iOS as well? Thanks.
Yes, verified on iOS too. |
flutter/engine@de4c7a5...0981731 git log de4c7a5..0981731 --no-merges --oneline 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (flutter#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@de4c7a5...e6d9b34 git log de4c7a5..e6d9b34 --no-merges --oneline e6d9b34 Remove the old location of the ICU data asset (flutter/engine#6170) 9f0ad8b Fixes negative end selection offset. (flutter/engine#6171) 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (flutter#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@de4c7a5...a0f30b3 git log de4c7a5..a0f30b3 --no-merges --oneline a0f30b3 Roll src/third_party/skia 9d1c88d9912d..343553a1fe9e (16 commits) (flutter/engine#6175) e6d9b34 Remove the old location of the ICU data asset (flutter/engine#6170) 9f0ad8b Fixes negative end selection offset. (flutter/engine#6171) 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (flutter#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@de4c7a5...f6ad3e0 git log de4c7a5..f6ad3e0 --no-merges --oneline f6ad3e0 Roll Tonic (flutter/engine#6177) a0f30b3 Roll src/third_party/skia 9d1c88d9912d..343553a1fe9e (16 commits) (flutter/engine#6175) e6d9b34 Remove the old location of the ICU data asset (flutter/engine#6170) 9f0ad8b Fixes negative end selection offset. (flutter/engine#6171) 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (flutter#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@de4c7a5...108e0a6 git log de4c7a5..108e0a6 --no-merges --oneline 108e0a6 Add transparency helpers to FlutterView.java (flutter/engine#6172) f6ad3e0 Roll Tonic (flutter/engine#6177) a0f30b3 Roll src/third_party/skia 9d1c88d9912d..343553a1fe9e (16 commits) (flutter/engine#6175) e6d9b34 Remove the old location of the ICU data asset (flutter/engine#6170) 9f0ad8b Fixes negative end selection offset. (flutter/engine#6171) 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (flutter#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@de4c7a5...572753f git log de4c7a5..572753f --no-merges --oneline 572753f Roll src/third_party/skia 343553a1fe9e..ffbcc3fadfa1 (6 commits) (flutter/engine#6178) 108e0a6 Add transparency helpers to FlutterView.java (flutter/engine#6172) f6ad3e0 Roll Tonic (flutter/engine#6177) a0f30b3 Roll src/third_party/skia 9d1c88d9912d..343553a1fe9e (16 commits) (flutter/engine#6175) e6d9b34 Remove the old location of the ICU data asset (flutter/engine#6170) 9f0ad8b Fixes negative end selection offset. (flutter/engine#6171) 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (flutter#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@de4c7a5...ade0f22 git log de4c7a5..ade0f22 --no-merges --oneline ade0f22 Remove unused file picture_serializer. (flutter/engine#6179) 572753f Roll src/third_party/skia 343553a1fe9e..ffbcc3fadfa1 (6 commits) (flutter/engine#6178) 108e0a6 Add transparency helpers to FlutterView.java (flutter/engine#6172) f6ad3e0 Roll Tonic (flutter/engine#6177) a0f30b3 Roll src/third_party/skia 9d1c88d9912d..343553a1fe9e (16 commits) (flutter/engine#6175) e6d9b34 Remove the old location of the ICU data asset (flutter/engine#6170) 9f0ad8b Fixes negative end selection offset. (flutter/engine#6171) 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (flutter#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@de4c7a5...1768bed git log de4c7a5..1768bed --no-merges --oneline 1768bed Roll src/third_party/skia ffbcc3fadfa1..71f8475a0dba (3 commits) (flutter/engine#6181) ade0f22 Remove unused file picture_serializer. (flutter/engine#6179) 572753f Roll src/third_party/skia 343553a1fe9e..ffbcc3fadfa1 (6 commits) (flutter/engine#6178) 108e0a6 Add transparency helpers to FlutterView.java (flutter/engine#6172) f6ad3e0 Roll Tonic (flutter/engine#6177) a0f30b3 Roll src/third_party/skia 9d1c88d9912d..343553a1fe9e (16 commits) (flutter/engine#6175) e6d9b34 Remove the old location of the ICU data asset (flutter/engine#6170) 9f0ad8b Fixes negative end selection offset. (flutter/engine#6171) 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (flutter#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@de4c7a5...897178c git log de4c7a5..897178c --no-merges --oneline 897178c Roll src/third_party/skia 71f8475a0dba..33d3d31a7e28 (6 commits) (flutter/engine#6182) 1768bed Roll src/third_party/skia ffbcc3fadfa1..71f8475a0dba (3 commits) (flutter/engine#6181) ade0f22 Remove unused file picture_serializer. (flutter/engine#6179) 572753f Roll src/third_party/skia 343553a1fe9e..ffbcc3fadfa1 (6 commits) (flutter/engine#6178) 108e0a6 Add transparency helpers to FlutterView.java (flutter/engine#6172) f6ad3e0 Roll Tonic (flutter/engine#6177) a0f30b3 Roll src/third_party/skia 9d1c88d9912d..343553a1fe9e (16 commits) (flutter/engine#6175) e6d9b34 Remove the old location of the ICU data asset (flutter/engine#6170) 9f0ad8b Fixes negative end selection offset. (flutter/engine#6171) 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (flutter#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@de4c7a5...5f61056 git log de4c7a5..5f61056 --no-merges --oneline 5f61056 Revert "Dart SDK roll for 2018/09/04 (flutter#6161)" (flutter/engine#6183) 897178c Roll src/third_party/skia 71f8475a0dba..33d3d31a7e28 (6 commits) (flutter/engine#6182) 1768bed Roll src/third_party/skia ffbcc3fadfa1..71f8475a0dba (3 commits) (flutter/engine#6181) ade0f22 Remove unused file picture_serializer. (flutter/engine#6179) 572753f Roll src/third_party/skia 343553a1fe9e..ffbcc3fadfa1 (6 commits) (flutter/engine#6178) 108e0a6 Add transparency helpers to FlutterView.java (flutter/engine#6172) f6ad3e0 Roll Tonic (flutter/engine#6177) a0f30b3 Roll src/third_party/skia 9d1c88d9912d..343553a1fe9e (16 commits) (flutter/engine#6175) e6d9b34 Remove the old location of the ICU data asset (flutter/engine#6170) 9f0ad8b Fixes negative end selection offset. (flutter/engine#6171) 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (flutter#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@de4c7a5...5f61056 git log de4c7a5..5f61056 --no-merges --oneline 5f61056 Revert "Dart SDK roll for 2018/09/04 (#6161)" (flutter/engine#6183) 897178c Roll src/third_party/skia 71f8475a0dba..33d3d31a7e28 (6 commits) (flutter/engine#6182) 1768bed Roll src/third_party/skia ffbcc3fadfa1..71f8475a0dba (3 commits) (flutter/engine#6181) ade0f22 Remove unused file picture_serializer. (flutter/engine#6179) 572753f Roll src/third_party/skia 343553a1fe9e..ffbcc3fadfa1 (6 commits) (flutter/engine#6178) 108e0a6 Add transparency helpers to FlutterView.java (flutter/engine#6172) f6ad3e0 Roll Tonic (flutter/engine#6177) a0f30b3 Roll src/third_party/skia 9d1c88d9912d..343553a1fe9e (16 commits) (flutter/engine#6175) e6d9b34 Remove the old location of the ICU data asset (flutter/engine#6170) 9f0ad8b Fixes negative end selection offset. (flutter/engine#6171) 0981731 Enable transparent FlutterViews (flutter/engine#6163) 3a7d0b5 Roll buildroot to 7aadfaf196f9cd8a299f9ad78fab63362800466d (flutter/engine#6169) 564d214 Roll src/third_party/skia d0f0cb8ffc5e..9d1c88d9912d (12 commits) (flutter/engine#6168) 6af60d7 Remove obsolete discovery mechanism from FlutterView (flutter/engine#6157) b22badf Dart SDK roll for 2018/09/04 (flutter/engine#6161) 6d0fbc7 Roll src/third_party/skia 9478f7a38e6c..d0f0cb8ffc5e (1 commits) (flutter/engine#6167) 5063a8a Roll src/third_party/skia 72a02112a99f..9478f7a38e6c (1 commits) (flutter/engine#6166) 19a3bc8 Roll src/third_party/skia 85f4e40c5481..72a02112a99f (1 commits) (flutter/engine#6165) 9643a50 Roll src/third_party/skia fddc6fa394cb..85f4e40c5481 (1 commits) (flutter/engine#6164) 6ad3183 Fix windows build. (flutter/engine#6162) 30af2f2 Roll src/third_party/skia e486bbaae296..fddc6fa394cb (2 commits) (flutter/engine#6159) b32ceaf Add some more logs for diagnosing screenshot failures (flutter/engine#6156) c173655 Roll src/third_party/skia b84576af0a43..e486bbaae296 (9 commits) (flutter/engine#6155) aaf98fb Use double multiplication by a scale instead of 3 divides for speed. (flutter/engine#6154) 593ed59 Revert "Use Skia normalize again after Skia precision fix. (#6121)" (flutter/engine#6122) 137389a Roll src/third_party/skia a45e1a71f548..b84576af0a43 (16 commits) (flutter/engine#6153) f89a386 Roll src/third_party/skia cff3fd834ca8..a45e1a71f548 (1 commits) (flutter/engine#6152) b0b8daa Unregister onFrameAvailable callbacks when a TextureEntry is released. (flutter/engine#6079) 2dc8271 Roll src/third_party/skia 24e58341fbcd..cff3fd834ca8 (1 commits) (flutter/engine#6151) eea3a21 Roll src/third_party/skia bf67741140fd..24e58341fbcd (2 commits) (flutter/engine#6148) bdcbe80 Roll src/third_party/skia 88119de2b849..bf67741140fd (1 commits) (flutter/engine#6147) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
@mklim Maybe I already asked this, but why was the background color removed? You said it was unused but you removed code that reads the value from incoming attributes which means it may very well be used. Can you explain the thinking there? I have to make analogous changes within my refactor but I'm not sure we should have removed that. |
On it being unused: as far as I can tell the I removed the code as a refactor while I was already going through these bits of code to work on the related |
So here are the lines in question:
Notice that color may be set to There are 2 questions I still think need to be answered:
So my thinking is that we should provide general support for a color. That color might be transparent, translucent, or opaque, and we should apply it accordingly. Any reason why that would be a problem? |
I think the AndroidView layout attributes probably shouldn't control the background color, because then Flutter devs would need to tweak Android and iOS layout files individually for add-to-app scenarios instead of being able to control the entire thing from one place, within their main flutter UI layout. It seems like that would also introduce potential strange bugs where any one of the three conflicted. |
Spoke offline. The primary use-case in my mind is around splash color while Flutter is loading. I'm going to try to segment the API such that developers have splash color control, and then general transparency control for when Flutter is rendering, but we'll avoid supporting a general background color that goes from Android to Flutter. |
- Changes rasterizer to clear the canvas with `SkColor_TRANSPARENT` - Removes the unused `backgroundColor` param from `FlutterView.java`
- Changes rasterizer to clear the canvas with `SkColor_TRANSPARENT` - Removes the unused `backgroundColor` param from `FlutterView.java`
SkColor_TRANSPARENT
backgroundColor
param fromFlutterView.java
Partially addresses #9627