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

Unified Diff: cc/output/renderer.h

Issue 1489153002: DirectRenderer allows empty swap rects for CommitOverlayPlanes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initialize allow_empty_swap 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
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/renderer.h
diff --git a/cc/output/renderer.h b/cc/output/renderer.h
index 82b3ae307c0b1712455b2935845a04c34db91f8a..f91b039e673422f3e11087abbfe7517b0eaccc8f 100644
--- a/cc/output/renderer.h
+++ b/cc/output/renderer.h
@@ -34,6 +34,9 @@ struct RendererCapabilitiesImpl {
// Capabilities used on compositor thread only.
bool using_partial_swap;
+ // Whether it's valid to SwapBuffers with an empty rect. Trivially true when
+ // |using_partial_swap|.
+ bool allow_empty_swap;
bool using_egl_image;
bool using_image;
bool using_discard_framebuffer;
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698