Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@harryterkelsen
Copy link
Contributor

@auto-assign auto-assign bot requested a review from chinmaygarde December 9, 2019 18:30
@chinmaygarde chinmaygarde removed their request for review December 9, 2019 19:25
@override
void paint(PaintContext context) {
SkCanvas canvas = context.viewEmbedder.compositeEmbeddedView(viewId);
context.leafNodesCanvas = canvas;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove the preceding canvas from the n-way canvas? Any operations that follow a platform view no longer apply to canvases composited under the platform view.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we discussed offline. This could cause problems if we don't restore from previous saves.

@harryterkelsen
Copy link
Contributor Author

Thanks, Yegor! PTAL

@harryterkelsen harryterkelsen merged commit 434f6f9 into flutter:master Dec 10, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 10, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Dec 10, 2019
flutter/engine@2805da9...12bf95f

git log 2805da9..12bf95f --first-parent --oneline
2019-12-10 skia-flutter-autoroll@skia.org Roll src/third_party/skia 095d2468a075..e56cc054dbae (4 commits) (flutter/engine#14270)
2019-12-10 hterkelsen@users.noreply.github.com Add support for platform views in the CanvasKit backend (flutter/engine#14263)


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 on the revert to ensure that a human
is aware of the problem.

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/+/master/autoroll/README.md
filmil pushed a commit to filmil/engine that referenced this pull request Mar 13, 2020
* Add support for platform views in the CanvasKit backend

* Respond to comments

* Update license file
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CanvasKit backend should support Platform Views

3 participants