Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69c0121d authored by Ady Abraham's avatar Ady Abraham Committed by Android (Google) Code Review
Browse files

Merge "Clarify that the buffer passed to ASurfaceTransaction_setBuffer needs...

Merge "Clarify that the buffer passed to ASurfaceTransaction_setBuffer needs to have AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE." into sc-dev
parents ce9e187a 38605fc3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -286,6 +286,9 @@ void ASurfaceTransaction_setZOrder(ASurfaceTransaction* transaction,
 * The frameworks takes ownership of the \a acquire_fence_fd passed and is responsible
 * for closing it.
 *
 * Note that the buffer must be allocated with AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE
 * as the surface control might be composited using the GPU.
 *
 * Available since API level 29.
 */
void ASurfaceTransaction_setBuffer(ASurfaceTransaction* transaction,