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

Commit 172d5a32 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Add docs for ASurfaceControl default behavior

Test: spellcheck
Fixes: 271461920
Change-Id: I7a86abd1f764af73288edf575a288d4fcab02b86
parent a8827e9c
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)