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

Unified Diff: content/renderer/render_widget.h

Issue 12463007: Disable partial swaps for webview guest renderer until we can figure out how to do that properly. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments Created 7 years, 9 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/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 653564e0d482d12b95345643ae51aa8a11274afb..717cef484803e0b08dba815cc9be5374577e6b1f 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -527,6 +527,11 @@ class CONTENT_EXPORT RenderWidget
// Cached on the RenderWidget because determining support is costly.
bool using_asynchronous_swapbuffers_;
+ // Specifies whether partially swapping composited buffers is
+ // allowed for a renderer. Partial swaps will be used if they are both
+ // allowed and supported.
+ bool allow_partial_swap_;
+
// Number of OnSwapBuffersComplete we are expecting. Incremented each time
// WebWidget::composite has been been performed when the RenderWidget subclass
// SupportsAsynchronousSwapBuffers. Decremented in OnSwapBuffers. Will block

Powered by Google App Engine
This is Rietveld 408576698