OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2016 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 GPU_COMMAND_BUFFER_SERVICE_PROGRESS_REPORTER_H_ | |
6 #define GPU_COMMAND_BUFFER_SERVICE_PROGRESS_REPORTER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 | |
10 namespace gpu { | |
11 namespace gles2 { | |
12 | |
13 // ProgressReporter is used by ContextGroup to report when it is making forward | |
14 // progress in execution, delaying activation of the watchdog timeout. | |
15 class ProgressReporter { | |
16 public: | |
17 ProgressReporter() = default; | |
danakj
2016/10/05 01:53:48
no constructor needed
ericrk
2016/10/05 18:07:31
ah, yeah, removed.
| |
18 virtual ~ProgressReporter() = default; | |
19 | |
20 virtual void ReportProgress() = 0; | |
21 | |
22 private: | |
23 DISALLOW_COPY_AND_ASSIGN(ProgressReporter); | |
danakj
2016/10/05 01:53:48
you dont need this for interfaces IMO
ericrk
2016/10/05 18:07:31
Done.
| |
24 }; | |
25 | |
26 } // namespace gles2 | |
27 } // namespace gpu | |
28 | |
29 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRESS_REPORTER_H_ | |
OLD | NEW |