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

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

Issue 1943513002: [Reland 1] Pepper takes ownership of a mailbox before passing it to the texture layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a test. Created 4 years, 8 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 bf40d4f691792e47dc0f3aba6bb65dc8e311db30..d99f59b4529b1567e81c46bbc8ca18e497ccad3a 100644
--- a/gpu/ipc/service/gpu_command_buffer_stub.h
+++ b/gpu/ipc/service/gpu_command_buffer_stub.h
@@ -160,7 +160,10 @@ class GPU_EXPORT GpuCommandBufferStub
void OnInitialize(base::SharedMemoryHandle shared_state_shm,
IPC::Message* reply_message);
void OnSetGetBuffer(int32_t shm_id, IPC::Message* reply_message);
- void OnProduceFrontBuffer(const Mailbox& mailbox);
+ void OnTakeFrontBuffer(const Mailbox& mailbox);
+ void OnReturnFrontBuffer(const Mailbox& mailbox,
+ const SyncToken& sync_token,
+ bool is_lost);
void OnGetState(IPC::Message* reply_message);
void OnWaitForTokenInRange(int32_t start,
int32_t end,

Powered by Google App Engine
This is Rietveld 408576698