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

Conversation

@cyanglaz
Copy link
Contributor

Currently, we copy the mutator stack everywhere.
This PR let the ExternalViewEmbedder owns the EmbeddedViewParams which contains the stack. Since the PaintContext holds a pointer to the ExternalViewEmbedder, we won't copy the stack at unnecessary places again.

@cyanglaz cyanglaz requested a review from amirh June 26, 2019 00:41
ExternalViewEmbedder() = default;

// the params object used to composite the platform views.
EmbeddedViewParams embedded_view_params;
Copy link
Contributor

Choose a reason for hiding this comment

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

The ExternalViewEmbedder is the objects that's responsible for embedding all platform views, it's a little strange to have it keep the parameters of a specific view here.

Discussed offline: we probably want to std:move the params in platform_view_layer.cc

@cyanglaz
Copy link
Contributor Author

cyanglaz commented Jul 1, 2019

Closing this PR as we want to do it another way. New PR is created here #9640

@cyanglaz cyanglaz closed this Jul 1, 2019
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