OLD | NEW |
| (Empty) |
1 // Copyright 2015 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. | |
4 | |
5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_ | |
6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_ | |
7 | |
8 #include <stdint.h> | |
9 | |
10 #include "ui/gfx/swap_result.h" | |
11 | |
12 namespace base { | |
13 class TimeDelta; | |
14 class TimeTicks; | |
15 } | |
16 | |
17 namespace mus { | |
18 | |
19 class CommandBufferLocalClient { | |
20 public: | |
21 virtual void UpdateVSyncParameters(const base::TimeTicks& timebase, | |
22 const base::TimeDelta& interval) = 0; | |
23 virtual void GpuCompletedSwapBuffers(gfx::SwapResult result) = 0; | |
24 | |
25 protected: | |
26 virtual ~CommandBufferLocalClient() {} | |
27 }; | |
28 | |
29 } // namespace mus | |
30 | |
31 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_ | |
OLD | NEW |