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

Unified Diff: gpu/ipc/client/command_buffer_proxy_impl.cc

Issue 1924353002: Added a lock check for CommandBufferProxyImpl::OrderingBarrier(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/client/command_buffer_proxy_impl.cc
diff --git a/gpu/ipc/client/command_buffer_proxy_impl.cc b/gpu/ipc/client/command_buffer_proxy_impl.cc
index ddd9d005a6b907c2125a41df4b22d3254b839bdd..bc36560e8395db6fa61e01227c68b5fb80c56d06 100644
--- a/gpu/ipc/client/command_buffer_proxy_impl.cc
+++ b/gpu/ipc/client/command_buffer_proxy_impl.cc
@@ -240,6 +240,7 @@ void CommandBufferProxyImpl::Flush(int32_t put_offset) {
}
void CommandBufferProxyImpl::OrderingBarrier(int32_t put_offset) {
+ CheckLock();
if (last_state_.error != gpu::error::kNoError)
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698