Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: gpu/command_buffer/service/progress_reporter.h

Issue 2378583003: Ping watchdog thread during GpuChannel destruction (Closed)
Patch Set: feedback Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698