Commit 227bfac
committed
Don't fallback to global capability when skipping client transform
* The display internally already fallsback to global capabilities if the
display capabilities aren't supported
* If HWC doesn't know about the display, then we need to default to the
Output behavior, which today always asks the GPU to skip the client
transform. We do this because today, the per-display color transform
is actually a *global* transform, but we need to exclude the transform
for things like screen recording or projected android auto.
Bug: 395661767
Flag: EXEMPT bug fix
Test: builds
Test: libcompositionengine_test
Test: Overlay displays don't double-sepia
Change-Id: I7f219ec711d1b9dc44d97dfe0cae4bd3b0d8c3471 parent 7d0d256 commit 227bfac
File tree
3 files changed
+4
-3
lines changed- services/surfaceflinger/CompositionEngine
- src
- tests
3 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1714 | 1714 | | |
1715 | 1715 | | |
1716 | 1716 | | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
1717 | 1720 | | |
1718 | 1721 | | |
1719 | 1722 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
693 | | - | |
694 | 692 | | |
695 | 693 | | |
696 | 694 | | |
| |||
0 commit comments