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

Commit 9bb0f07a authored by Steven Thomas's avatar Steven Thomas
Browse files

Clarify frame rate as frames per second

Bug: 137287430
Test: n/a
Change-Id: Icf1ad4c5b9551d3690af2329290d5cc30c8016b0
parent b7a0b449
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -419,11 +419,11 @@ void ASurfaceTransaction_setHdrMetadata_cta861_3(ASurfaceTransaction* transactio
 * callback timings, and changes to the time interval at which the system releases buffers back to
 * the application.
 *
 * |frameRate| is the intended frame rate of this surface. 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 *not* need to be a valid refresh rate for
 * this device's display - e.g., it's fine to pass 30fps to a device that can only run the display
 * at 60fps.
 * |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 *not* need to be a
 * valid refresh rate for this device's display - e.g., it's fine to pass 30fps to a device that can
 * only run the display at 60fps.
 *
 * Available since API level 30.
 */
+6 −6
Original line number Diff line number Diff line
@@ -250,12 +250,12 @@ int32_t ANativeWindow_getBuffersDataSpace(ANativeWindow* window) __INTRODUCED_IN
 *
 * Available since API level 30.
 *
 * \param frameRate The intended frame rate of this window. 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 *not* need to be a valid refresh rate for this device's
 * display - e.g., it's fine to pass 30fps to a device that can only run the
 * display at 60fps.
 * \param frameRate The intended frame rate of this window, 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 *not* need to be a valid
 * refresh rate for this device's display - e.g., it's fine to pass 30fps to a
 * device that can only run the display at 60fps.
 *
 * \return 0 for success, -EINVAL if the window or frame rate are invalid.
 */