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

Commit 6bb4d0d0 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: 85bffd53

parents 19dedae0 85bffd53
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line 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
 * The caller takes ownership of the ASurfaceControl returned and must release it
 * using ASurfaceControl_release below.
 * 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.
 * Available since API level 29.
 */
 */
ASurfaceControl* ASurfaceControl_createFromWindow(ANativeWindow* parent, const char* debug_name)
ASurfaceControl* ASurfaceControl_createFromWindow(ANativeWindow* parent, const char* debug_name)