-
Notifications
You must be signed in to change notification settings - Fork 29.8k
[Android] HC++ external view embedder and JNI plumbing. #162493
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
Conversation
| // |PlatformView| | ||
| std::shared_ptr<ExternalViewEmbedder> | ||
| PlatformViewAndroid::CreateExternalViewEmbedder() { | ||
| if (android_use_new_platform_view_) { |
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 the thing we switch on to enable it.
Still need to wire up a switch and 2) expose the ability to query this in Java and then add some dart code to conditionally use the right HC platform view.
|
friendly ping @johnmccutchan |
| const fml::RefPtr<fml::RasterThreadMerger>& | ||
| raster_thread_merger) override; | ||
|
|
||
| bool SupportsDynamicThreadMerging() override; |
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.
The above overrides all indicate the base class |ExternalViewEmbedder| should these last two overrides have the same 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.
Fixed
Part of HC++ work. still not wired up end to end, but only requires a few more swapchain changes and a runtime flag...