-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1863688 - Fix translucent + opaque RGBA compositor surface overla…
…ys. r=gfx-reviewers,lsalzman Differential Revision: https://phabricator.services.mozilla.com/D193713 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/00534ecc53abe81a11e756c0beee1566f9472600
- Loading branch information
Glenn Watson
committed
Nov 17, 2023
1 parent
2481259
commit efd7814
Showing
5 changed files
with
59 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
wrench/reftests/compositor-surface/transparent-opaque-image-ref.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
root: | ||
items: | ||
- type: rect | ||
bounds: [50, 50, 362, 362] | ||
color: green | ||
- image: checkerboard(2,16,16) | ||
bounds: [100, 100, 262, 262] |
14 changes: 14 additions & 0 deletions
14
wrench/reftests/compositor-surface/transparent-opaque-image.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Verify that an RGBA compositor surface that is translucent, followed | ||
# by an RGBA compositor surface that is opaque draws correctly. | ||
--- | ||
root: | ||
items: | ||
- type: rect | ||
bounds: [50, 50, 362, 362] | ||
color: green | ||
- image: transparent-checkerboard(2,16,16) | ||
bounds: [100, 100, 262, 262] | ||
prefer-compositor-surface: true | ||
- image: checkerboard(2,16,16) | ||
bounds: [100, 100, 262, 262] | ||
prefer-compositor-surface: true |