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

Commit 591994a8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Update setFrameRate documentation" into sc-dev am: 50e37fef am: d7eb29cf

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

Change-Id: Iaee85f758882f6f32d151b65e67cb6863430fa4e
parents f9e21993 d7eb29cf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -526,6 +526,9 @@ void ASurfaceTransaction_setFrameRate(ASurfaceTransaction* transaction,
 * callback timings, and changes to the time interval at which the system releases buffers back to
 * the application.
 *
 * You can register for changes in the refresh rate using
 * \a AChoreographer_registerRefreshRateCallback.
 *
 * \param frameRate is the intended frame rate of this surface, in frames per second. 0 is a special
 * value that indicates the app will accept the system's choice for the display frame rate, which is
 * the default behavior if this function isn't called. The frameRate param does <em>not</em> need to
+3 −0
Original line number Diff line number Diff line
@@ -300,6 +300,9 @@ enum ANativeWindow_ChangeFrameRateStrategy {
 * this ANativeWindow is consumed by something other than the system compositor,
 * e.g. a media codec, this call has no effect.
 *
 * You can register for changes in the refresh rate using
 * \a AChoreographer_registerRefreshRateCallback.
 *
 * Available since API level 31.
 *
 * \param window pointer to an ANativeWindow object.