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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc

Issue 2722883002: gpu: Allow waiting on sync tokens without sync token client. (Closed)
Patch Set: review Created 3 years, 10 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
Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
index 178f3692bb6e6598e7801f7c6d41de91542a7d16..86f13e5f7f1415ae334d057bc187bf23e2c3abd1 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
@@ -425,9 +425,9 @@ void GLES2DecoderPassthroughImpl::SetFenceSyncReleaseCallback(
fence_sync_release_callback_ = callback;
}
-void GLES2DecoderPassthroughImpl::SetWaitFenceSyncCallback(
- const WaitFenceSyncCallback& callback) {
- wait_fence_sync_callback_ = callback;
+void GLES2DecoderPassthroughImpl::SetWaitSyncTokenCallback(
+ const WaitSyncTokenCallback& callback) {
+ wait_sync_token_callback_ = callback;
}
void GLES2DecoderPassthroughImpl::SetDescheduleUntilFinishedCallback(

Powered by Google App Engine
This is Rietveld 408576698