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

Unified Diff: gpu/ipc/service/gpu_command_buffer_stub.h

Issue 2378583003: Ping watchdog thread during GpuChannel destruction (Closed)
Patch Set: revert to passing via destructor 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
Index: gpu/ipc/service/gpu_command_buffer_stub.h
diff --git a/gpu/ipc/service/gpu_command_buffer_stub.h b/gpu/ipc/service/gpu_command_buffer_stub.h
index 48c7752b1d49845f4497c1325d62a69c5585449a..775a821905d91e188717a935cc2b2c29e2adec1e 100644
--- a/gpu/ipc/service/gpu_command_buffer_stub.h
+++ b/gpu/ipc/service/gpu_command_buffer_stub.h
@@ -23,6 +23,7 @@
#include "gpu/command_buffer/service/command_buffer_service.h"
#include "gpu/command_buffer/service/command_executor.h"
#include "gpu/command_buffer/service/context_group.h"
+#include "gpu/command_buffer/service/progress_reporter.h"
#include "gpu/gpu_export.h"
#include "gpu/ipc/common/surface_handle.h"
#include "gpu/ipc/service/gpu_memory_manager.h"
@@ -59,6 +60,7 @@ struct WaitForCommandState;
class GPU_EXPORT GpuCommandBufferStub
: public IPC::Listener,
public IPC::Sender,
+ public gles2::ProgressReporter,
public base::SupportsWeakPtr<GpuCommandBufferStub> {
public:
class DestructionObserver {
@@ -88,6 +90,9 @@ class GPU_EXPORT GpuCommandBufferStub
// IPC::Sender implementation:
bool Send(IPC::Message* msg) override;
+ // ProgressReporter implementation
danakj 2016/10/05 21:36:15 period, or.. colon based on similar comments here.
ericrk 2016/10/05 22:36:17 Done.
+ void ReportProgress() override;
+
gles2::MemoryTracker* GetMemoryTracker() const;
// Whether this command buffer can currently handle IPC messages.

Powered by Google App Engine
This is Rietveld 408576698