Flutter Engine
The Flutter Engine
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
13namespace flutter {
14
15/// Abstract class that reprents a platform specific mechanism to report current
16/// refresh rates.
25
26} // namespace flutter
27
28#endif // FLUTTER_SHELL_COMMON_VARIABLE_REFRESH_RATE_REPORTER_H_
virtual double GetRefreshRate() const =0
FML_DISALLOW_COPY_AND_ASSIGN(VariableRefreshRateReporter)