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

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

Issue 7762013: Added GPU process "echo" IPC message. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/gpu_scheduler_linux.cc ('k') | gpu/command_buffer/service/gpu_scheduler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_scheduler_mac.cc
===================================================================
--- gpu/command_buffer/service/gpu_scheduler_mac.cc (revision 98655)
+++ gpu/command_buffer/service/gpu_scheduler_mac.cc (working copy)
@@ -120,6 +120,14 @@
surface_.reset();
}
+void GpuScheduler::SetSwapBuffersCallback(
+ Callback0::Type* callback) {
+ wrapped_swap_buffers_callback_.reset(callback);
+ decoder_->SetSwapBuffersCallback(
+ NewCallback(this,
+ &GpuScheduler::WillSwapBuffers));
+}
+
void GpuScheduler::WillSwapBuffers() {
DCHECK(decoder_.get());
DCHECK(decoder_->GetGLContext());
« no previous file with comments | « gpu/command_buffer/service/gpu_scheduler_linux.cc ('k') | gpu/command_buffer/service/gpu_scheduler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698