| commit | dfda84b02ef9989d13ab1ebe02e07ce748bc29b1 | [log] [tgz] |
|---|---|---|
| author | Andrew Wolfers <aswolfers@google.com> | Mon Mar 17 06:26:34 2025 -0700 |
| committer | Andrew Wolfers <aswolfers@google.com> | Mon Mar 31 15:02:43 2025 +0000 |
| tree | 31ba8ecd39b03fab2f5dab0dff9f70424ed9efe6 | |
| parent | 1b7198fc75fe7832a8c183511bb24b9324bcd5b0 [diff] |
Set GRALLOC_USAGE_CURSOR flag This change uses the eCursorWindow flag to determine whether the GRALLOC_USAGE_CURSOR flag should be set when a Surface is locked. The Gralloc flag is utilized during buffer allocation to support cursor specific behaviors. Bug: b/383344900 Flag: com.android.graphics.libgui.flags.cursor_plane_compatibility Test: atest SurfaceTest#SurfaceIsForCursor (cherry picked from https://android-review.googlesource.com/q/commit:dafb9f9e119ecbb486d7548fe6614559b853709c) Change-Id: I997578ce8decb0121acffe3fc6445c981d64fa22