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

Unified Diff: cc/output/direct_renderer.h

Issue 208213003: Plumb overlay processing into DirectRenderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | cc/output/direct_renderer.cc » ('j') | cc/output/direct_renderer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/direct_renderer.h
diff --git a/cc/output/direct_renderer.h b/cc/output/direct_renderer.h
index a08feef4211fd6abc9812914aa4af956af768e52..d5d1da01b18543cebfcb578578571704bc9f160f 100644
--- a/cc/output/direct_renderer.h
+++ b/cc/output/direct_renderer.h
@@ -9,6 +9,7 @@
#include "base/callback.h"
#include "base/containers/scoped_ptr_hash_map.h"
#include "cc/base/cc_export.h"
+#include "cc/output/overlay_processor.h"
#include "cc/output/renderer.h"
#include "cc/resources/resource_provider.h"
#include "cc/resources/scoped_resource.h"
@@ -43,6 +44,7 @@ class CC_EXPORT DirectRenderer : public Renderer {
DrawingFrame();
~DrawingFrame();
+ const RenderPassList* render_passes_in_draw_order;
const RenderPass* root_render_pass;
const RenderPass* current_render_pass;
const ScopedResource* current_texture;
@@ -123,6 +125,7 @@ class CC_EXPORT DirectRenderer : public Renderer {
base::ScopedPtrHashMap<RenderPass::Id, ScopedResource> render_pass_textures_;
OutputSurface* output_surface_;
ResourceProvider* resource_provider_;
+ scoped_ptr<OverlayProcessor> overlay_processor_;
// For use in coordinate conversion, this stores the output rect, viewport
// rect (= unflipped version of glViewport rect), and the size of target
« no previous file with comments | « no previous file | cc/output/direct_renderer.cc » ('j') | cc/output/direct_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698