GPU workaround to simulate Out of Memory errors with large textures
[chromium-blink-merge.git] / cc / output / vsync_parameter_observer.h
blobe586925e110e5e2b1a9e3cbadbf854a76332d0c4
1 // Copyright 2014 The Chromium 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.
5 #ifndef CC_OUTPUT_VSYNC_PARAMETER_OBSERVER_H_
6 #define CC_OUTPUT_VSYNC_PARAMETER_OBSERVER_H_
8 #include "base/time/time.h"
10 // Interface for a class which observes the parameters regarding vsync
11 // information.
12 class VSyncParameterObserver {
13 public:
14 virtual void OnUpdateVSyncParameters(base::TimeTicks timebase,
15 base::TimeDelta interval) = 0;
18 #endif // CC_OUTPUT_VSYNC_PARAMETER_OBSERVER_H_