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

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

Issue 2025223002: Remove invalid fence order DCHECKs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also remove DCHECK from GpuCommandBufferStub::OnCreateImage Created 4 years, 7 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 | « gpu/command_buffer/service/sync_point_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8cc19d9ffc4662b2129560f6891552d033551846..f6747ac08aad592bf9ed6aee4ee706454b66880b 100644
--- a/gpu/ipc/service/gpu_command_buffer_stub.cc
+++ b/gpu/ipc/service/gpu_command_buffer_stub.cc
@@ -990,8 +990,10 @@ void GpuCommandBufferStub::OnCreateImage(
image_manager->AddImage(image.get(), id);
if (image_release_count) {
- DCHECK_EQ(image_release_count,
- sync_point_client_->client_state()->fence_sync_release() + 1);
+ DLOG_IF(ERROR,
+ image_release_count !=
+ sync_point_client_->client_state()->fence_sync_release() + 1)
+ << "Client released fences out of order.";
sync_point_client_->ReleaseFenceSync(image_release_count);
}
}
« no previous file with comments | « gpu/command_buffer/service/sync_point_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698