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

Unified Diff: chrome/plugin/command_buffer_stub.cc

Issue 6316002: Make CommandBuffer::Flush asynchronous, and add CommandBuffer::FlushSync with former semantics. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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
« no previous file with comments | « chrome/gpu/gpu_command_buffer_stub.cc ('k') | chrome/renderer/command_buffer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/command_buffer_stub.cc
diff --git a/chrome/plugin/command_buffer_stub.cc b/chrome/plugin/command_buffer_stub.cc
index de9bbdb16e28382b8ae2296a40cd40fe50667fff..2ef657a7503b97c6875660a935aba4380577fed2 100644
--- a/chrome/plugin/command_buffer_stub.cc
+++ b/chrome/plugin/command_buffer_stub.cc
@@ -140,11 +140,11 @@ void CommandBufferStub::OnAsyncGetState() {
void CommandBufferStub::OnFlush(int32 put_offset,
gpu::CommandBuffer::State* state) {
- *state = command_buffer_->Flush(put_offset);
+ *state = command_buffer_->FlushSync(put_offset);
}
void CommandBufferStub::OnAsyncFlush(int32 put_offset) {
- gpu::CommandBuffer::State state = command_buffer_->Flush(put_offset);
+ gpu::CommandBuffer::State state = command_buffer_->FlushSync(put_offset);
Send(new GpuCommandBufferMsg_UpdateState(route_id_, state));
}
« no previous file with comments | « chrome/gpu/gpu_command_buffer_stub.cc ('k') | chrome/renderer/command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698