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

Unified Diff: content/common/gpu/image_transport_surface_fbo_mac.h

Issue 636003002: Clean up GPU back-pressure with remote CALayers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: O(1) more compile issue Created 6 years, 2 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: content/common/gpu/image_transport_surface_fbo_mac.h
diff --git a/content/common/gpu/image_transport_surface_fbo_mac.h b/content/common/gpu/image_transport_surface_fbo_mac.h
index 44eeec79fd18e5dbe8ddae247163d3b232a15b89..b0747f537b0eb99e7fb1b8561ebd35a5fd1b466d 100644
--- a/content/common/gpu/image_transport_surface_fbo_mac.h
+++ b/content/common/gpu/image_transport_surface_fbo_mac.h
@@ -53,8 +53,9 @@ class ImageTransportSurfaceFBO
virtual void DiscardBackbuffer() = 0;
// Called once for every SwapBuffers call when the IPC for the present has
- // been processed by the browser.
- virtual void SwapBuffersAckedByBrowser() = 0;
+ // been processed by the browser. |disable_throttling| is set if the
+ // browser suspects that GPU back-pressure should be disabled.
+ virtual void SwapBuffersAckedByBrowser(bool disable_throttling) = 0;
};
ImageTransportSurfaceFBO(GpuChannelManager* manager,
« no previous file with comments | « content/common/gpu/image_transport_surface_calayer_mac.mm ('k') | content/common/gpu/image_transport_surface_fbo_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698