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

[fuchsia] Avoid creating separate system layers for PhysicalShapeLayers. #16975

Closed
wants to merge 1 commit into from

Conversation

mikejurka
Copy link
Contributor

Change PhysicalShapeLayers to be composited by
Flutter by default. In this case, shadows will be
rendered too.

If there is embedded Fuchsia content in the scene
(a ChildSceneLayer), PhysicalShapeLayers that
appear above the embedded content will be turned
into their own Scenic layers.
In this case, there will be no shadows rendered, as
it is in the current implementation. We will change
this later after clients adjust their usage of PSL
once this change lands.

Change PhysicalShapeLayers to be composited by
Flutter by default. In this case, shadows will be
rendered too.

If there is embedded Fuchsia content in the scene
(a ChildSceneLayer),  PhysicalShapeLayers that 
appear above the embedded content will be turned
into their own Scenic layers.
In this case, there will be no shadows rendered, as
it is in the current implementation. We will change
this later after clients adjust their usage of PSL
once this change lands.
@mikejurka
Copy link
Contributor Author

Two of us have done heavy manual testing, and the one issue turned out to be related to the texture format Scenic gets handed -- that's actually a bug that was uncovered and will be fixed in Escher/Scenic. So, no known bugs.

Let us know what's the best way to get this reviewed. As with previous changes, this one could probably be split up into multiple (i think 3) if this is difficult to review.

@mikejurka
Copy link
Contributor Author

I created a new pull request which breaks this into smaller pieces: #17005

@mikejurka mikejurka closed this Mar 7, 2020
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.

2 participants