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

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

Issue 2378583003: Ping watchdog thread during GpuChannel destruction (Closed)
Patch Set: Fix lifetime and use nullptr 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 #include "gpu/gpu_export.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 GPU_EXPORT ProgressReporter {
16 public:
17 virtual ~ProgressReporter() = default;
18
19 virtual void ReportProgress() = 0;
20 };
21
22 } // namespace gles2
23 } // namespace gpu
24
25 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRESS_REPORTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698