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

Unified Diff: cc/quads/yuv_video_draw_quad.cc

Issue 2773103002: cc: Unify all sources of color space for YUVVideoDrawQuad (Closed)
Patch Set: Created 3 years, 9 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/quads/yuv_video_draw_quad.h ('k') | cc/resources/video_resource_updater.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/yuv_video_draw_quad.cc
diff --git a/cc/quads/yuv_video_draw_quad.cc b/cc/quads/yuv_video_draw_quad.cc
index abe8d3f37ff1281f0d5704644fa736370f1260a9..b15faebe3c8d8d9fdd4501f512406794c0a8265b 100644
--- a/cc/quads/yuv_video_draw_quad.cc
+++ b/cc/quads/yuv_video_draw_quad.cc
@@ -30,8 +30,6 @@ void YUVVideoDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
unsigned u_plane_resource_id,
unsigned v_plane_resource_id,
unsigned a_plane_resource_id,
- ColorSpace color_space,
- const gfx::ColorSpace& video_color_space,
float offset,
float multiplier,
uint32_t bits_per_channel) {
@@ -47,8 +45,6 @@ void YUVVideoDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
resources.ids[kVPlaneResourceIdIndex] = v_plane_resource_id;
resources.ids[kAPlaneResourceIdIndex] = a_plane_resource_id;
resources.count = a_plane_resource_id ? 4 : 3;
- this->color_space = color_space;
- this->video_color_space = video_color_space;
this->resource_offset = offset;
this->resource_multiplier = multiplier;
this->bits_per_channel = bits_per_channel;
@@ -67,8 +63,6 @@ void YUVVideoDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
unsigned u_plane_resource_id,
unsigned v_plane_resource_id,
unsigned a_plane_resource_id,
- ColorSpace color_space,
- const gfx::ColorSpace& video_color_space,
float offset,
float multiplier,
uint32_t bits_per_channel) {
@@ -83,8 +77,6 @@ void YUVVideoDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
resources.ids[kVPlaneResourceIdIndex] = v_plane_resource_id;
resources.ids[kAPlaneResourceIdIndex] = a_plane_resource_id;
resources.count = resources.ids[kAPlaneResourceIdIndex] ? 4 : 3;
- this->color_space = color_space;
- this->video_color_space = video_color_space;
this->resource_offset = offset;
this->resource_multiplier = multiplier;
this->bits_per_channel = bits_per_channel;
« no previous file with comments | « cc/quads/yuv_video_draw_quad.h ('k') | cc/resources/video_resource_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698