5#include "flutter/shell/common/variable_refresh_rate_display.h"
6#include "flutter/fml/logging.h"
9 const std::weak_ptr<flutter::VariableRefreshRateReporter>&
10 refresh_rate_reporter) {
11 if (
auto reporter = refresh_rate_reporter.lock()) {
21 const std::weak_ptr<VariableRefreshRateReporter>& refresh_rate_reporter,
24 double device_pixel_ratio)
30 refresh_rate_reporter_(refresh_rate_reporter) {}
VariableRefreshRateDisplay(DisplayId display_id, const std::weak_ptr< VariableRefreshRateReporter > &refresh_rate_reporter, double width, double height, double device_pixel_ratio)
double GetRefreshRate() const override
static double GetInitialRefreshRate(const std::weak_ptr< flutter::VariableRefreshRateReporter > &refresh_rate_reporter)