Commit c2827f8f authored by sievers's avatar sievers Committed by Commit bot

gpu: Don't switch context for SignalSyncPoint

Review URL: https://codereview.chromium.org/619993002

Cr-Commit-Position: refs/heads/master@{#297746}
parent e8623a04
...@@ -229,7 +229,8 @@ bool GpuCommandBufferStub::OnMessageReceived(const IPC::Message& message) { ...@@ -229,7 +229,8 @@ bool GpuCommandBufferStub::OnMessageReceived(const IPC::Message& message) {
if (decoder_.get() && message.type() != GpuCommandBufferMsg_Echo::ID && if (decoder_.get() && message.type() != GpuCommandBufferMsg_Echo::ID &&
message.type() != GpuCommandBufferMsg_WaitForTokenInRange::ID && message.type() != GpuCommandBufferMsg_WaitForTokenInRange::ID &&
message.type() != GpuCommandBufferMsg_WaitForGetOffsetInRange::ID && message.type() != GpuCommandBufferMsg_WaitForGetOffsetInRange::ID &&
message.type() != GpuCommandBufferMsg_RetireSyncPoint::ID) { message.type() != GpuCommandBufferMsg_RetireSyncPoint::ID &&
message.type() != GpuCommandBufferMsg_SignalSyncPoint::ID) {
if (!MakeCurrent()) if (!MakeCurrent())
return false; return false;
have_context = true; have_context = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment