Chromium Code Reviews| Index: cc/quads/render_pass.h |
| diff --git a/cc/quads/render_pass.h b/cc/quads/render_pass.h |
| index cc87ff674b370248f7878cf0247c33202cc3dea8..5dde2b4ab7377c0a243f7654508d7cd2da54209d 100644 |
| --- a/cc/quads/render_pass.h |
| +++ b/cc/quads/render_pass.h |
| @@ -19,6 +19,7 @@ |
| #include "cc/output/filter_operations.h" |
| #include "cc/quads/draw_quad.h" |
| #include "cc/quads/largest_draw_quad.h" |
| +#include "ui/gfx/color_space.h" |
| #include "ui/gfx/geometry/rect.h" |
| #include "ui/gfx/geometry/rect_f.h" |
| #include "ui/gfx/transform.h" |
| @@ -84,6 +85,7 @@ class CC_EXPORT RenderPass { |
| const gfx::Transform& transform_to_root_target, |
| const FilterOperations& filters, |
| const FilterOperations& background_filters, |
| + const gfx::ColorSpace& color_space, |
| bool has_transparent_background); |
| void AsValueInto(base::trace_event::TracedValue* dict) const; |
| @@ -120,6 +122,9 @@ class CC_EXPORT RenderPass { |
| // background of the render pass, from behind it. |
| FilterOperations background_filters; |
| + // The color space into which content will be render for this render pass. |
|
enne (OOO)
2017/02/13 05:07:06
rendered?
ccameron
2017/02/13 18:15:55
Done.
|
| + gfx::ColorSpace color_space; |
| + |
| // If false, the pixels in the render pass' texture are all opaque. |
| bool has_transparent_background = true; |