A Display where the refresh rate can change over time. More...
#include <variable_refresh_rate_display.h>
Public Member Functions | |
| VariableRefreshRateDisplay (DisplayId display_id, const std::weak_ptr< VariableRefreshRateReporter > &refresh_rate_reporter, double width, double height, double device_pixel_ratio) | |
| ~VariableRefreshRateDisplay ()=default | |
| double | GetRefreshRate () const override |
Public Member Functions inherited from flutter::Display | |
| Display (DisplayId display_id, double refresh_rate, double width, double height, double device_pixel_ratio) | |
| Construct a new Display object in case where the display id of the display is known. | |
| virtual | ~Display ()=default |
| DisplayId | GetDisplayId () const |
Returns the DisplayId of the display. | |
| virtual double | GetWidth () const |
| The width of the display in physical pixels. | |
| virtual double | GetHeight () const |
| The height of the display in physical pixels. | |
| virtual double | GetDevicePixelRatio () const |
| The device pixel ratio of the display. | |
| DisplayData | GetDisplayData () |
A Display where the refresh rate can change over time.
Definition at line 17 of file variable_refresh_rate_display.h.
|
explicit |
Definition at line 19 of file variable_refresh_rate_display.cc.
|
default |
|
overridevirtual |
Reimplemented from flutter::Display.
Definition at line 32 of file variable_refresh_rate_display.cc.
References GetInitialRefreshRate().