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

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

Issue 2626413002: Route D3D VSync signal to Compositor (Closed)
Patch Set: Implement GPU VSync provider as gl::VSyncProvider Created 3 years, 11 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 91b8dfe1c36ff3978808b7af5933d2ee276e8c31..f6056898ec35bc81113e2d4e553b2f79ca7534da 100644
--- a/gpu/ipc/service/gpu_command_buffer_stub.h
+++ b/gpu/ipc/service/gpu_command_buffer_stub.h
@@ -96,6 +96,9 @@ class GPU_EXPORT GpuCommandBufferStub
void UpdateVSyncParameters(base::TimeTicks timebase,
base::TimeDelta interval) override;
+ void AddFilter(IPC::MessageFilter* message_filter) override;
+ int32_t GetRouteID() const override { return route_id_; }
+
gles2::MemoryTracker* GetMemoryTracker() const;
// Whether this command buffer can currently handle IPC messages.
@@ -111,10 +114,6 @@ class GPU_EXPORT GpuCommandBufferStub
// Unique command buffer ID for this command buffer stub.
CommandBufferId command_buffer_id() const { return command_buffer_id_; }
- // Identifies the various GpuCommandBufferStubs in the GPU process belonging
- // to the same renderer process.
- int32_t route_id() const { return route_id_; }
-
// Identifies the stream for this command buffer.
int32_t stream_id() const { return stream_id_; }

Powered by Google App Engine
This is Rietveld 408576698