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

Unified Diff: components/mus/gles2/command_buffer_driver.cc

Issue 1348363003: content/gpu: Simplify stub scheduling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu_channel_stream
Patch Set: fix android compile error sigh Created 5 years, 3 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 | « no previous file | components/mus/gles2/command_buffer_local.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/command_buffer_driver.cc
diff --git a/components/mus/gles2/command_buffer_driver.cc b/components/mus/gles2/command_buffer_driver.cc
index 814787ec92d29bc519d5e9b96f26a4d43c90a290..d634fcb21b23ca42ae6164ec79b878db0e958d7f 100644
--- a/components/mus/gles2/command_buffer_driver.cc
+++ b/components/mus/gles2/command_buffer_driver.cc
@@ -288,7 +288,7 @@ bool CommandBufferDriver::OnWaitSyncPoint(uint32_t sync_point) {
gpu_state_->sync_point_manager()->AddSyncPointCallback(
sync_point, base::Bind(&CommandBufferDriver::OnSyncPointRetired,
weak_factory_.GetWeakPtr()));
- return scheduler_->IsScheduled();
+ return scheduler_->scheduled();
}
void CommandBufferDriver::OnSyncPointRetired() {
« no previous file with comments | « no previous file | components/mus/gles2/command_buffer_local.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698