Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Fix EntityPass/SaveLayer draw ordering#143

Merged
bdero merged 1 commit intoflutter:mainfrom
bdero:bdero/fix-layer-order
Apr 19, 2022
Merged

Fix EntityPass/SaveLayer draw ordering#143
bdero merged 1 commit intoflutter:mainfrom
bdero:bdero/fix-layer-order

Conversation

@bdero
Copy link
Contributor

@bdero bdero commented Apr 19, 2022

Interleave Entities and Subpasses in EntityPass. Before this change, all subpasses would draw over all entities for the pass.

Minimal repro:

impeller_unittests --gtest_filter=Play/AiksTest.SaveLayerDrawsBehindSubsequentEntities/Metal --timeout=0

Skia fiddle: https://fiddle.skia.org/c/9e03de8567ffb49e7e83f53b64bcf636

Before:

Screen Shot 2022-04-18 at 6 11 03 PM

After:

Screen Shot 2022-04-18 at 6 09 12 PM

@bdero bdero requested review from chinmaygarde, dnfield and flar April 19, 2022 01:18
@bdero bdero merged commit 39970d9 into flutter:main Apr 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants