| 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 b5029713adeef38790dee2d9d21f4eb6e7a31015..a3ac431bbaf5ac8f12603d169d48115f0234584e 100644
|
| --- a/cc/quads/yuv_video_draw_quad.cc
|
| +++ b/cc/quads/yuv_video_draw_quad.cc
|
| @@ -32,7 +32,8 @@ void YUVVideoDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| unsigned a_plane_resource_id,
|
| ColorSpace color_space,
|
| float offset,
|
| - float multiplier) {
|
| + float multiplier,
|
| + uint32_t bits_per_channel) {
|
| bool needs_blending = false;
|
| DrawQuad::SetAll(shared_quad_state, DrawQuad::YUV_VIDEO_CONTENT, rect,
|
| opaque_rect, visible_rect, needs_blending);
|
| @@ -48,6 +49,7 @@ void YUVVideoDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| this->color_space = color_space;
|
| this->resource_offset = offset;
|
| this->resource_multiplier = multiplier;
|
| + this->bits_per_channel = bits_per_channel;
|
| }
|
|
|
| void YUVVideoDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| @@ -65,7 +67,8 @@ void YUVVideoDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| unsigned a_plane_resource_id,
|
| ColorSpace color_space,
|
| float offset,
|
| - float multiplier) {
|
| + float multiplier,
|
| + uint32_t bits_per_channel) {
|
| DrawQuad::SetAll(shared_quad_state, DrawQuad::YUV_VIDEO_CONTENT, rect,
|
| opaque_rect, visible_rect, needs_blending);
|
| this->ya_tex_coord_rect = ya_tex_coord_rect;
|
| @@ -80,6 +83,7 @@ void YUVVideoDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| this->color_space = color_space;
|
| this->resource_offset = offset;
|
| this->resource_multiplier = multiplier;
|
| + this->bits_per_channel = bits_per_channel;
|
| }
|
|
|
| const YUVVideoDrawQuad* YUVVideoDrawQuad::MaterialCast(
|
|
|