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

Commit 542f101b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Clarify frame rate as frames per second"

parents 346d6d91 9bb0f07a
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.
 */