| Index: cc/output/gl_renderer.cc
|
| diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
|
| index 2a2ffff1638a7722e4d424cabd443d11ff15e506..cdbde1a9c74a6f2a07e5cba7dea030f60b99e074 100644
|
| --- a/cc/output/gl_renderer.cc
|
| +++ b/cc/output/gl_renderer.cc
|
| @@ -1001,6 +1001,11 @@ const TileDrawQuad* GLRenderer::CanPassBeDrawnDirectly(const RenderPass* pass) {
|
| if (quad->material != DrawQuad::TILED_CONTENT)
|
| return nullptr;
|
|
|
| + // TODO(chrishtr): support could be added for opacity, but care needs
|
| + // to be taken to make sure it is correct w.r.t. non-commutative filters etc.
|
| + if (quad->shared_quad_state->opacity != 1.0f)
|
| + return nullptr;
|
| +
|
| const TileDrawQuad* tile_quad = TileDrawQuad::MaterialCast(quad);
|
| // Hack: this could be supported by passing in a subrectangle to draw
|
| // render pass, although in practice if there is only one quad there
|
|
|