Commit e11c48f
Andrew Wolfers
Flag: Add flag for cursor plane behavior
This change adds a flag which is used to gate behavior changes to the
cursor surface that allows it to be presented on the cursor plane.
In subsequent CLs, when the cursor_plane_compatibility flag is set,
Sprite surfaces will use BGRA pixel format, and will allocate buffers
with the GRALLOC_USAGE_CURSOR flag. These modifications enable the
requirements of the cursor plane to be met.
Flag: com.android.graphics.libgui.flags.cursor_plane_compatibility
Bug: 404877772
Change-Id: I0eee89a99f340af642fcf1de187f6e550ce995271 parent 09ae6bf commit e11c48f
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
352 | 356 | | |
353 | 357 | | |
354 | 358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
0 commit comments