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

Unified Diff: cc/quads/render_pass.h

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Fix for patch 1. Created 3 years, 7 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/layers/solid_color_layer_impl_unittest.cc ('k') | cc/quads/render_pass.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/render_pass.h
diff --git a/cc/quads/render_pass.h b/cc/quads/render_pass.h
index 0ad8debc8928f0c5d07506d39a0dbd11aa6e070c..815bf9ab5b4acb41a631a821a8ba4bebf6ab5edf 100644
--- a/cc/quads/render_pass.h
+++ b/cc/quads/render_pass.h
@@ -85,7 +85,8 @@ class CC_EXPORT RenderPass {
const FilterOperations& filters,
const FilterOperations& background_filters,
const gfx::ColorSpace& color_space,
- bool has_transparent_background);
+ bool has_transparent_background,
+ bool force_render_surface);
void AsValueInto(base::trace_event::TracedValue* dict) const;
@@ -127,6 +128,8 @@ class CC_EXPORT RenderPass {
// If false, the pixels in the render pass' texture are all opaque.
bool has_transparent_background = true;
+ bool force_render_surface = false;
danakj 2017/05/11 19:56:50 Please add documentation for new fields added to s
wutao 2017/05/26 03:38:22 Done.
+
// If non-empty, the renderer should produce a copy of the render pass'
// contents as a bitmap, and give a copy of the bitmap to each callback in
// this list. This property should not be serialized between compositors, as
« no previous file with comments | « cc/layers/solid_color_layer_impl_unittest.cc ('k') | cc/quads/render_pass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698