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

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

Issue 2550583002: gpu: Thread-safe command buffer state lookup. (Closed)
Patch Set: Created 4 years 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.cc
diff --git a/gpu/ipc/service/gpu_command_buffer_stub.cc b/gpu/ipc/service/gpu_command_buffer_stub.cc
index b6396195afabdcb5ec8d6c46d8e5f253f00e02fe..3986ecf8629545ce21e926878c20fbf60e581916 100644
--- a/gpu/ipc/service/gpu_command_buffer_stub.cc
+++ b/gpu/ipc/service/gpu_command_buffer_stub.cc
@@ -948,6 +948,7 @@ void GpuCommandBufferStub::OnFenceSyncRelease(uint64_t release) {
}
sync_point_client_->ReleaseFenceSync(release);
+ command_buffer_->SetReleaseCount(release);
piman 2016/12/02 19:21:48 nit: do this before ReleaseFenceSync, to ensure co
sunnyps 2016/12/07 03:31:22 Done.
}
void GpuCommandBufferStub::OnDescheduleUntilFinished() {

Powered by Google App Engine
This is Rietveld 408576698