Loading include/android/surface_control.h +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading libs/nativewindow/include/android/native_window.h +3 −0 Original line number Diff line number Diff line Loading @@ -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. Loading Loading
include/android/surface_control.h +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
libs/nativewindow/include/android/native_window.h +3 −0 Original line number Diff line number Diff line Loading @@ -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. Loading