| Index: cc/output/output_surface.h
|
| diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
|
| index e5199e6d6ccf9961114ac2a4c2cc57b88fdf027d..740039cbc686eef5e9cf707f85b1100d632e307f 100644
|
| --- a/cc/output/output_surface.h
|
| +++ b/cc/output/output_surface.h
|
| @@ -44,6 +44,10 @@ class CC_EXPORT OutputSurface {
|
| bool uses_default_gl_framebuffer = true;
|
| // Whether this OutputSurface is flipped or not.
|
| bool flipped_output_surface = false;
|
| + // Whether this OutputSurface supports stencil operations or not.
|
| + // Note: HasExternalStencilTest() must return false when an output surface
|
| + // has been configured for stencil usage.
|
| + bool supports_stencil = false;
|
| };
|
|
|
| // Constructor for GL-based compositing.
|
| @@ -94,7 +98,8 @@ class CC_EXPORT OutputSurface {
|
| virtual void Reshape(const gfx::Size& size,
|
| float device_scale_factor,
|
| const gfx::ColorSpace& color_space,
|
| - bool has_alpha) = 0;
|
| + bool has_alpha,
|
| + bool use_stencil) = 0;
|
|
|
| virtual bool HasExternalStencilTest() const = 0;
|
| virtual void ApplyExternalStencil() = 0;
|
|
|