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

Unified Diff: cc/quads/render_pass.h

Issue 208213003: Plumb overlay processing into DirectRenderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ScopedGLLock Created 6 years, 9 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/quads/render_pass.h
diff --git a/cc/quads/render_pass.h b/cc/quads/render_pass.h
index 5cada2a2f146ac4906cff82495cf91386c6a992e..4285e53010311d27d7b4fd58ddb70f81b15354c0 100644
--- a/cc/quads/render_pass.h
+++ b/cc/quads/render_pass.h
@@ -62,11 +62,6 @@ class CC_EXPORT RenderPass {
}
};
- // Specifies whether the pass is going into an overlay, needs to be rendered
- // into a buffer before it can be presented to overlay hardware or a quad
- // inside it is presented as is.
- enum OverlayState { NO_OVERLAY, RENDER_AND_OVERLAY, SIMPLE_OVERLAY, };
-
~RenderPass();
static scoped_ptr<RenderPass> Create();
@@ -89,8 +84,7 @@ class CC_EXPORT RenderPass {
const gfx::Rect& output_rect,
const gfx::RectF& damage_rect,
const gfx::Transform& transform_to_root_target,
- bool has_transparent_background,
- OverlayState overlay_state);
+ bool has_transparent_background);
scoped_ptr<base::Value> AsValue() const;
@@ -117,8 +111,6 @@ class CC_EXPORT RenderPass {
QuadList quad_list;
SharedQuadStateList shared_quad_state_list;
- OverlayState overlay_state;
-
protected:
explicit RenderPass(size_t num_layers);
RenderPass();

Powered by Google App Engine
This is Rietveld 408576698