Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(901)

Unified Diff: cc/output/output_surface.h

Issue 2612023002: cc: Implement overdraw feedback debugging feature. (Closed)
Patch Set: fix typo in comment Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index e5199e6d6ccf9961114ac2a4c2cc57b88fdf027d..deb58db8f32e7bef71d51ee4f280904849c958d9 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -44,6 +44,8 @@ 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.
+ bool supports_stencil = false;
};
// Constructor for GL-based compositing.
@@ -94,7 +96,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;

Powered by Google App Engine
This is Rietveld 408576698