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

Unified Diff: cc/output/direct_renderer.h

Issue 2646243002: Use IDCompositionSurface to implement DirectCompositionSurfaceWin. (Closed)
Patch Set: rebase Created 3 years, 10 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 | « android_webview/browser/parent_output_surface.cc ('k') | cc/output/direct_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/direct_renderer.h
diff --git a/cc/output/direct_renderer.h b/cc/output/direct_renderer.h
index 623c7e7af5144e35474ddc42e1ca3f9fec06e7d3..8153e8eef7d34de78ffef7c34abb1270a2a841a0 100644
--- a/cc/output/direct_renderer.h
+++ b/cc/output/direct_renderer.h
@@ -177,11 +177,13 @@ class CC_EXPORT DirectRenderer {
// Whether it's valid to SwapBuffers with an empty rect. Trivially true when
// using partial swap.
- bool allow_empty_swap_;
+ bool allow_empty_swap_ = false;
// Whether partial swap can be used.
- bool use_partial_swap_;
+ bool use_partial_swap_ = false;
// Whether overdraw feedback is enabled and can be used.
bool overdraw_feedback_ = false;
+ // Whether the SetDrawRectangle command is in use.
+ bool use_set_draw_rectangle_ = false;
// TODO(danakj): Just use a vector of pairs here? Hash map is way overkill.
std::unordered_map<int, std::unique_ptr<ScopedResource>>
« no previous file with comments | « android_webview/browser/parent_output_surface.cc ('k') | cc/output/direct_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698