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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 1336623004: content/gpu: Simplify gpu channel message handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: couple of things missed in the last patch Created 5 years, 3 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: content/common/gpu/gpu_command_buffer_stub.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index ed4724388ca7403be0717f4bb3f7f2c48c304565..67677b752dd74421429dbc44e504fadb01292dba 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -142,7 +142,7 @@ class GpuCommandBufferStub
// Associates a sync point to this stub. When the stub is destroyed, it will
// retire all sync points that haven't been previously retired.
- void AddSyncPoint(uint32 sync_point);
+ void AddSyncPoint(uint32 sync_point, bool retire);
void SetPreemptByFlag(scoped_refptr<gpu::PreemptionFlag> flag);
@@ -182,7 +182,6 @@ class GpuCommandBufferStub
IPC::Message* reply_message);
void OnAsyncFlush(int32 put_offset, uint32 flush_count,
const std::vector<ui::LatencyInfo>& latency_info);
- void OnRescheduled();
void OnRegisterTransferBuffer(int32 id,
base::SharedMemoryHandle transfer_buffer,
uint32 size);

Powered by Google App Engine
This is Rietveld 408576698