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

Unified Diff: content/common/gpu/image_transport_surface.cc

Issue 9303009: Add IPC allowing GPU process to tell browser process to temporarily drop a front buffer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 | « content/common/gpu/image_transport_surface.h ('k') | ui/gfx/surface/accelerated_surface_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface.cc
===================================================================
--- content/common/gpu/image_transport_surface.cc (revision 119674)
+++ content/common/gpu/image_transport_surface.cc (working copy)
@@ -172,6 +172,10 @@
return decoder->MakeCurrent();
}
+void ImageTransportHelper::Suspend() {
+ manager_->Send(new GpuHostMsg_AcceleratedSurfaceSuspend(stub_->surface_id()));
+}
+
gpu::GpuScheduler* ImageTransportHelper::Scheduler() {
if (!stub_.get())
return NULL;
« no previous file with comments | « content/common/gpu/image_transport_surface.h ('k') | ui/gfx/surface/accelerated_surface_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698