This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 77
88namespace flutter {
99
10- // / Unique IO per display that is stable until the Flutter application restarts.
10+ // / Unique ID per display that is stable until the Flutter application restarts.
1111// / See also: `flutter::Display`
1212typedef uint64_t DisplayId;
1313
@@ -16,8 +16,7 @@ typedef uint64_t DisplayId;
1616// / in such cases. There must only be one screen in such cases.
1717static constexpr DisplayId kSingleScreenDeviceId = 0 ;
1818
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.
2120static constexpr double kUnknownDisplayRefreshRate = 0 ;
2221
2322// / 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 {
974974
975975 FlutterEngineDisplayId display_id ;
976976
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.
980979 double refresh_rate ;
981-
982980} FlutterEngineDisplay ;
983981
984982/// The update type parameter that is passed to
You can’t perform that action at this time.
0 commit comments