补充注释说明

Signed-off-by: lihui <lihui359@huawei.com>
This commit is contained in:
lihui 2024-09-19 11:03:42 +08:00
parent f4f0d6caf3
commit f8ed65b489

View File

@ -254,8 +254,15 @@ typedef enum NativeWindowOperation {
*/
SET_SDR_WHITE_POINT_BRIGHTNESS,
/**
* set native window buffer desiredPresentTimestamp,
* variable parameter in function is
* Set native window buffer desiredPresentTimestamp, indicates the desired time to present the buffer.\n
* Which should be generated by std::chrono::steady_clock in nanoseconds.\n
* It is only effective when RenderService is the consumer.\n
* The buffer will wait until desiredPresentTimestamp is reached before being consumed and displayed.\n
* If multiple buffers reach desiredPresentTimestamp, the earlier buffer will be dropped.\n
* This Operation should be called before calling <b>OH_NativeWindow_NativeWindowFlushBuffer</b>.\n
* If desiredPresentTimestamp is greater than 1 second of the consumer-provided timestamp,
* the desiredPresentTimestamp will be ignored.\n
* Variable parameter in function is
* [in] int64_t desiredPresentTimestamp.
* @since 13
*/