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

Unified Diff: content/browser/compositor/delegated_frame_host.h

Issue 792383004: Run draw callback immediately if no Display is damaged. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « cc/surfaces/surface_manager.cc ('k') | content/browser/compositor/delegated_frame_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/delegated_frame_host.h
diff --git a/content/browser/compositor/delegated_frame_host.h b/content/browser/compositor/delegated_frame_host.h
index 593455b97fb183f9f6372ece5dc6e6d1a239d07e..6642cccf35c8574ce654a68244b101975369cda7 100644
--- a/content/browser/compositor/delegated_frame_host.h
+++ b/content/browser/compositor/delegated_frame_host.h
@@ -25,6 +25,7 @@
namespace cc {
class SurfaceFactory;
+enum class SurfaceDrawStatus;
}
namespace media {
@@ -212,7 +213,7 @@ class CONTENT_EXPORT DelegatedFrameHost
uint32 sync_point);
void SendDelegatedFrameAck(uint32 output_surface_id);
- void SurfaceDrawn(uint32 output_surface_id, bool drawn);
+ void SurfaceDrawn(uint32 output_surface_id, cc::SurfaceDrawStatus drawn);
void SendReturnedDelegatedResources(uint32 output_surface_id);
// DelegatedFrameEvictorClient implementation.
« no previous file with comments | « cc/surfaces/surface_manager.cc ('k') | content/browser/compositor/delegated_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698