Flutter Engine
The Flutter Engine
|
Manages lifecycle of the connected displays. This class is thread-safe. More...
#include <display_manager.h>
Public Member Functions | |
DisplayManager () | |
~DisplayManager () | |
double | GetMainDisplayRefreshRate () const |
void | HandleDisplayUpdates (std::vector< std::unique_ptr< Display > > displays) |
Handles the display updates. More... | |
Manages lifecycle of the connected displays. This class is thread-safe.
Definition at line 16 of file display_manager.h.
|
default |
|
default |
double flutter::DisplayManager::GetMainDisplayRefreshRate | ( | ) | const |
Returns the display refresh rate of the main display. In cases where there is only one display connected, it will return that. We do not yet support cases where there are multiple displays.
When there are no registered displays, it returns kUnknownDisplayRefreshRate
.
Definition at line 16 of file display_manager.cc.
void flutter::DisplayManager::HandleDisplayUpdates | ( | std::vector< std::unique_ptr< Display > > | displays | ) |
Handles the display updates.
Definition at line 25 of file display_manager.cc.