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

Unified Diff: cc/test/test_context_support.cc

Issue 2550583002: gpu: Thread-safe command buffer state lookup. (Closed)
Patch Set: state_lock_ -> last_state_lock_ 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: cc/test/test_context_support.cc
diff --git a/cc/test/test_context_support.cc b/cc/test/test_context_support.cc
index e1b94a5d278b63d738e9ee61311c432380fccff3..74d9983efbd8c5a4e80f667314da3eac39e79781 100644
--- a/cc/test/test_context_support.cc
+++ b/cc/test/test_context_support.cc
@@ -27,6 +27,10 @@ void TestContextSupport::SignalSyncToken(const gpu::SyncToken& sync_token,
weak_ptr_factory_.GetWeakPtr()));
}
+bool TestContextSupport::IsFenceSyncReleased(uint64_t release) {
+ return true;
+}
+
void TestContextSupport::SignalQuery(uint32_t query,
const base::Closure& callback) {
sync_point_callbacks_.push_back(callback);

Powered by Google App Engine
This is Rietveld 408576698