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

Conversation

@flar
Copy link
Contributor

@flar flar commented Aug 4, 2022

Fixes: flutter/flutter#104025

Labelling a WIP for now until I can test on Android, but I was able to get an embedded Google Map to show underneath the flutter navigation layers on iPhone with this code. Theoretically it will also work for Android.

@flar flar requested review from bdero and chinmaygarde August 4, 2022 18:41
@flar flar changed the title Embedders use dl Embedders use DisplayListBuilder for compositing Aug 4, 2022
Copy link
Member

@bdero bdero left a comment

Choose a reason for hiding this comment

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

Looks like the Fuchsia embedder needs to be updated to use the new wrappers as well, but otherwise LGTM. 👍

.checkerboard_offscreen_layers = checkerboard_offscreen_layers_,
.frame_device_pixel_ratio = device_pixel_ratio_,
.raster_cached_entries = &raster_cache_items_,
.display_list_enabled = frame.display_list_builder() != nullptr,
Copy link
Member

Choose a reason for hiding this comment

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

So if I'm understanding this right, this always ends up being true for Impeller because Impeller's Surfaces always produce SurfaceFrames that have a display list builder, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it is true iff Impeller is being used.

We might eventually switch to all DLs all the time even for Skia, but that remains to be seen.

@flar flar added autosubmit Merge PR when tree becomes green via auto submit App and removed autosubmit Merge PR when tree becomes green via auto submit App labels Aug 4, 2022
@auto-submit auto-submit bot merged commit 9638811 into flutter:main Aug 4, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 4, 2022
betrevisan pushed a commit to betrevisan/engine that referenced this pull request Aug 5, 2022
emilyabest pushed a commit to emilyabest/engine that referenced this pull request Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

DisplayList-ify platform view compositing

2 participants