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

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

Issue 1493013002: cc: Force commit on the frame after a copy request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments Created 5 years 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/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 e832cc7a9539585e7a413d983fa15b136e86e15a..1bb90dcd17a157e287662cbd36ada6c2e16e077f 100644
--- a/content/browser/compositor/delegated_frame_host.h
+++ b/content/browser/compositor/delegated_frame_host.h
@@ -290,6 +290,13 @@ class CONTENT_EXPORT DelegatedFrameHost
bool skipped_frames_;
std::vector<ui::LatencyInfo> skipped_latency_info_list_;
+ // Workaround to prevent creating unnecessarily persistent render passes.
+ // When a copy request is made, it will force a separate render pass for the
+ // web contents, which will persist until the a commit removes it. Use this
+ // flag to force a full commit on the next frame, to remove that render pass.
+ // http://crbug.com/564832
+ bool force_commit_for_next_frame_;
+
// Holds delegated resources that have been given to a DelegatedFrameProvider,
// and gives back resources when they are no longer in use for return to the
// renderer.
« no previous file with comments | « no previous file | content/browser/compositor/delegated_frame_host.cc » ('j') | content/browser/compositor/delegated_frame_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698