Skip to content
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

[android] Add HC++ platform view controller. #56776

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

jonahwilliams
Copy link
Member

@jonahwilliams jonahwilliams commented Nov 23, 2024

Hybrid composition++ has an entirely different mechanism for compositing than the previous approach. To that end, its much simpler to devise a second platform view controller than to add a 4th mechanism to the existing nightmare class.

This change does not actually wire up the new platform view controller to the engine, nor does it add a mechanism for enabling/disabling the new platform views code. This logic should be mostly inert, but I'd prefer to start checking it in now.

@jonahwilliams jonahwilliams changed the title [android] add platform view controller 2. [android] Add HC++ platform view controller. Nov 25, 2024
@jonahwilliams jonahwilliams marked this pull request as ready for review November 25, 2024 20:14
@@ -1129,7 +1129,8 @@ public void attachToFlutterEngine(@NonNull FlutterEngine flutterEngine) {
this,
this.flutterEngine.getTextInputChannel(),
this.flutterEngine.getScribeChannel(),
this.flutterEngine.getPlatformViewsController());
this.flutterEngine.getPlatformViewsController(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Unrelated to your change- would probably be simpler to just pass flutterEngine into this call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants