| Index: cc/quads/texture_draw_quad.cc
|
| diff --git a/cc/quads/texture_draw_quad.cc b/cc/quads/texture_draw_quad.cc
|
| index 6d4c64e966cd4f7d29486214bfa5320f0fd727c2..2cb6f5189c7e7a1e6f2398b11ad30fb4cbb34154 100644
|
| --- a/cc/quads/texture_draw_quad.cc
|
| +++ b/cc/quads/texture_draw_quad.cc
|
| @@ -38,7 +38,8 @@ void TextureDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| SkColor background_color,
|
| const float vertex_opacity[4],
|
| bool y_flipped,
|
| - bool nearest_neighbor) {
|
| + bool nearest_neighbor,
|
| + bool secure_output_only) {
|
| bool needs_blending = vertex_opacity[0] != 1.0f || vertex_opacity[1] != 1.0f
|
| || vertex_opacity[2] != 1.0f || vertex_opacity[3] != 1.0f;
|
| DrawQuad::SetAll(shared_quad_state, DrawQuad::TEXTURE_CONTENT, rect,
|
| @@ -55,6 +56,7 @@ void TextureDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| this->vertex_opacity[3] = vertex_opacity[3];
|
| this->y_flipped = y_flipped;
|
| this->nearest_neighbor = nearest_neighbor;
|
| + this->secure_output_only = secure_output_only;
|
| }
|
|
|
| void TextureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| @@ -70,7 +72,8 @@ void TextureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| SkColor background_color,
|
| const float vertex_opacity[4],
|
| bool y_flipped,
|
| - bool nearest_neighbor) {
|
| + bool nearest_neighbor,
|
| + bool secure_output_only) {
|
| DrawQuad::SetAll(shared_quad_state, DrawQuad::TEXTURE_CONTENT, rect,
|
| opaque_rect, visible_rect, needs_blending);
|
| resources.ids[kResourceIdIndex] = resource_id;
|
| @@ -86,6 +89,7 @@ void TextureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| this->vertex_opacity[3] = vertex_opacity[3];
|
| this->y_flipped = y_flipped;
|
| this->nearest_neighbor = nearest_neighbor;
|
| + this->secure_output_only = secure_output_only;
|
| }
|
|
|
| const TextureDrawQuad* TextureDrawQuad::MaterialCast(const DrawQuad* quad) {
|
|
|