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

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

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

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

Change-Id: Ie9e0c932b503c8998fc6307e4b0114b87e6fe040
parents 9f371f30 50e37fef
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line 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
 * callback timings, and changes to the time interval at which the system releases buffers back to
 * the application.
 * 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
 * \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
 * 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
 * the default behavior if this function isn't called. The frameRate param does <em>not</em> need to
+3 −0
Original line number Original line Diff line number Diff line
@@ -300,6 +300,9 @@ enum ANativeWindow_ChangeFrameRateStrategy {
 * this ANativeWindow is consumed by something other than the system compositor,
 * this ANativeWindow is consumed by something other than the system compositor,
 * e.g. a media codec, this call has no effect.
 * 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.
 * Available since API level 31.
 *
 *
 * \param window pointer to an ANativeWindow object.
 * \param window pointer to an ANativeWindow object.