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

Refactor MacOS to use Compositor to create backing stores using FlutterSurfaceManager #22500

Closed
wants to merge 5 commits into from

Conversation

RichardJCai
Copy link
Contributor

@RichardJCai RichardJCai commented Nov 13, 2020

Creating FlutterMacOSCompositor and use FlutterSurfaceManager to provide backing stores.
This will allow us to add Platform view support for MacOS through future changes to FlutterMacOSCompositor.

@google-cla google-cla bot added the cla: yes label Nov 13, 2020
@RichardJCai RichardJCai force-pushed the compositor_with_fsm branch 3 times, most recently from 5ffd44e to 4cd6408 Compare November 13, 2020 18:46
@RichardJCai RichardJCai changed the title Compositor with fsm Refactor MacOS to use Compositor to create backing stores using FlutterSurfaceManager Nov 13, 2020
@RichardJCai RichardJCai requested a review from cyanglaz November 13, 2020 21:42
@RichardJCai RichardJCai marked this pull request as ready for review November 13, 2020 21:42
@RichardJCai RichardJCai force-pushed the compositor_with_fsm branch 3 times, most recently from c99ae44 to ebb0657 Compare November 16, 2020 19:33
@RichardJCai RichardJCai force-pushed the compositor_with_fsm branch 2 times, most recently from 1696d63 to cde9c1b Compare November 16, 2020 21:27
ASSERT_TRUE(macos_compositor->Present(nil, 0));
ASSERT_TRUE(flag);
}

Copy link
Contributor

Choose a reason for hiding this comment

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

add a test to ensure after collect backing store gets called, we invoke the destructor.

…form view

in the layer tree.

Otherwise the current render path will be used.

This is to avoid regression as Compositor currently doesn't
fully support resizing.
@RichardJCai
Copy link
Contributor Author

Closing this in favor of smaller PRs.

@RichardJCai
Copy link
Contributor Author

Broken into multiple prs:
#22656
#22663

WIP:
#22679

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.

3 participants