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

Unified Diff: cc/quads/render_pass.h

Issue 2693723002: cc: Move output color space from DrawingFrame to RenderPass (Closed)
Patch Set: Fix test compile 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 | « cc/output/software_renderer_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 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;
« no previous file with comments | « cc/output/software_renderer_unittest.cc ('k') | cc/quads/render_pass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698