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

Unified Diff: gpu/command_buffer/client/gles2_implementation.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/command_buffer/client/gles2_implementation.cc
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 3424bc2a5310224463bbed535e1e84eed8e336d0..0fcd5058da0ce2e248f88539778d9949e8626243 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -405,6 +405,10 @@ void GLES2Implementation::SignalSyncToken(const gpu::SyncToken& sync_token,
}
}
+bool GLES2Implementation::IsFenceSyncReleased(uint64_t release_count) {
piman 2016/12/02 19:21:48 nit: please add a comment that this can be called
sunnyps 2016/12/07 03:31:22 Done.
+ return gpu_control_->IsFenceSyncReleased(release_count);
+}
+
void GLES2Implementation::SignalQuery(uint32_t query,
const base::Closure& callback) {
// Flush previously entered commands to ensure ordering with any

Powered by Google App Engine
This is Rietveld 408576698