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

Unified Diff: gpu/command_buffer/service/progress_reporter_stub.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/progress_reporter.h ('k') | gpu/command_buffer/service/shader_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/progress_reporter_stub.h
diff --git a/gpu/command_buffer/service/progress_reporter_stub.h b/gpu/command_buffer/service/progress_reporter_stub.h
new file mode 100644
index 0000000000000000000000000000000000000000..fb45b8757d9eb9cc5a352c84792b289ac83691ac
--- /dev/null
+++ b/gpu/command_buffer/service/progress_reporter_stub.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef GPU_COMMAND_BUFFER_SERVICE_PROGRESS_REPORTER_STUB_H_
+#define GPU_COMMAND_BUFFER_SERVICE_PROGRESS_REPORTER_STUB_H_
+
+#include "gpu/command_buffer/service/progress_reporter.h"
+
+namespace gpu {
+namespace gles2 {
+
+// A no-op ProgressReporter implementation.
+class ProgressReporterStub : public ProgressReporter {
ericrk 2016/10/05 18:07:32 I sort of hate making this its own file (so small)
+ public:
+ void ReportProgress() override {}
+};
+
+} // namespace gles2
+} // namespace gpu
+
+#endif // GPU_COMMAND_BUFFER_SERVICE_PROGRESS_REPORTER_STUB_H_
« no previous file with comments | « gpu/command_buffer/service/progress_reporter.h ('k') | gpu/command_buffer/service/shader_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698