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 namespace gpu { |
| 9 namespace gles2 { |
| 10 |
| 11 // ProgressReporter is used by ContextGroup to report when it is making forward |
| 12 // progress in execution, delaying activation of the watchdog timeout. |
| 13 class ProgressReporter { |
| 14 public: |
| 15 virtual ~ProgressReporter() = default; |
| 16 |
| 17 virtual void ReportProgress() = 0; |
| 18 }; |
| 19 |
| 20 } // namespace gles2 |
| 21 } // namespace gpu |
| 22 |
| 23 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRESS_REPORTER_H_ |
OLD | NEW |