| 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 a3ac431bbaf5ac8f12603d169d48115f0234584e..abe8d3f37ff1281f0d5704644fa736370f1260a9 100644
|
| --- a/cc/quads/yuv_video_draw_quad.cc
|
| +++ b/cc/quads/yuv_video_draw_quad.cc
|
| @@ -31,6 +31,7 @@ void YUVVideoDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| 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,6 +48,7 @@ void YUVVideoDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| 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;
|
| @@ -66,6 +68,7 @@ void YUVVideoDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| 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) {
|
| @@ -81,6 +84,7 @@ void YUVVideoDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| 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;
|
|
|