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
Loading
Please register or sign in to comment