Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
Loading...
Searching...
No Matches
variable_refresh_rate_reporter.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef FLUTTER_SHELL_COMMON_VARIABLE_REFRESH_RATE_REPORTER_H_
6
#define FLUTTER_SHELL_COMMON_VARIABLE_REFRESH_RATE_REPORTER_H_
7
8
#include <functional>
9
#include <memory>
10
#include <mutex>
11
#include <unordered_map>
12
13
namespace
flutter
{
14
15
/// Abstract class that reprents a platform specific mechanism to report current
16
/// refresh rates.
17
class
VariableRefreshRateReporter
{
18
public
:
19
VariableRefreshRateReporter
() =
default
;
20
21
virtual
double
GetRefreshRate
()
const
= 0;
22
23
FML_DISALLOW_COPY_AND_ASSIGN
(
VariableRefreshRateReporter
);
24
};
25
26
}
// namespace flutter
27
28
#endif
// FLUTTER_SHELL_COMMON_VARIABLE_REFRESH_RATE_REPORTER_H_
flutter::VariableRefreshRateReporter
Definition
variable_refresh_rate_reporter.h:17
flutter::VariableRefreshRateReporter::GetRefreshRate
virtual double GetRefreshRate() const =0
flutter::VariableRefreshRateReporter::VariableRefreshRateReporter
VariableRefreshRateReporter()=default
flutter::VariableRefreshRateReporter::FML_DISALLOW_COPY_AND_ASSIGN
FML_DISALLOW_COPY_AND_ASSIGN(VariableRefreshRateReporter)
flutter
Definition
asset_manager.cc:10
shell
common
variable_refresh_rate_reporter.h
Generated on Mon Dec 1 2025 04:54:25 for Flutter Engine Uber Docs by
1.9.8