mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-23 06:39:54 +00:00
补充注释说明
Signed-off-by: lihui <lihui359@huawei.com>
This commit is contained in:
parent
f4f0d6caf3
commit
f8ed65b489
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user