This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 2 files changed +3
-6
lines changed 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ typedef uint64_t DisplayId;
16
16
// / in such cases. There must only be one screen in such cases.
17
17
static constexpr DisplayId kSingleScreenDeviceId = 0 ;
18
18
19
- // / To be used when the display refresh rate is unknown. This is in frames per
20
- // / second.
19
+ // / To be used when the display refresh rate is unknown.
21
20
static constexpr double kUnknownDisplayRefreshRate = 0 ;
22
21
23
22
// / Display refers to a graphics hardware system consisting of a framebuffer,
Original file line number Diff line number Diff line change @@ -974,11 +974,9 @@ typedef struct {
974
974
975
975
FlutterEngineDisplayId display_id ;
976
976
977
- /// A double-precision floating-point value representing the actual refresh
978
- /// period in seconds. This value may be zero if the device is not running or
979
- /// unavaliable or unknown.
977
+ /// This represents the refresh period in frames per second. This value may be
978
+ /// zero if the device is not running or unavaliable or unknown.
980
979
double refresh_rate ;
981
-
982
980
} FlutterEngineDisplay ;
983
981
984
982
/// The update type parameter that is passed to
You can’t perform that action at this time.
0 commit comments