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

Commit da6c7b9d authored by Vishnu Nair's avatar Vishnu Nair Committed by Automerger Merge Worker
Browse files

Merge "Add docs for ASurfaceControl default behavior" into udc-dev am:...

Merge "Add docs for ASurfaceControl default behavior" into udc-dev am: 85bffd53 am: 0f4b3ed6 am: 890c22ef

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/22871136



Change-Id: I4ff0d11e71fc5c0e5a783a29aede72f61e29f0e5
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents ff1011d1 890c22ef
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -54,6 +54,12 @@ typedef struct ASurfaceControl ASurfaceControl;
 * The caller takes ownership of the ASurfaceControl returned and must release it
 * using ASurfaceControl_release below.
 *
 * By default the \a ASurfaceControl will be visible and display any buffer submitted. In
 * addition, the default buffer submission control may release and not display all buffers
 * that are submitted before receiving a callback for the previous buffer. See
 * \a ASurfaceTransaction_setVisibility and \a ASurfaceTransaction_setEnableBackPressure to
 * change the default behaviors after creation.
 *
 * Available since API level 29.
 */
ASurfaceControl* ASurfaceControl_createFromWindow(ANativeWindow* parent, const char* debug_name)