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

Unified Diff: cc/output/direct_renderer.h

Issue 1430813002: cc: Fork OverlayCandidate to CALayerOverlay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master1
Patch Set: Fix init in tests Created 5 years, 1 month 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/direct_renderer.h
diff --git a/cc/output/direct_renderer.h b/cc/output/direct_renderer.h
index 87e64d68073f4535173bbac4437b4d4d753259f7..012027d1a9cfa1170403e8c3692324da7db8735f 100644
--- a/cc/output/direct_renderer.h
+++ b/cc/output/direct_renderer.h
@@ -10,6 +10,7 @@
#include "base/containers/scoped_ptr_hash_map.h"
#include "cc/base/cc_export.h"
#include "cc/base/scoped_ptr_deque.h"
+#include "cc/output/ca_layer_overlay.h"
#include "cc/output/overlay_processor.h"
#include "cc/output/renderer.h"
#include "cc/raster/task_graph_runner.h"
@@ -57,6 +58,7 @@ class CC_EXPORT DirectRenderer : public Renderer {
bool disable_picture_quad_image_filtering;
OverlayCandidateList overlay_list;
+ CALayerOverlayList ca_layer_overlay_list;
};
void SetEnlargePassTextureAmountForTesting(const gfx::Vector2d& amount);
@@ -159,6 +161,10 @@ class CC_EXPORT DirectRenderer : public Renderer {
private:
gfx::Vector2d enlarge_pass_texture_amount_;
+ // Regions that must be drawn in the next frame because they were represented
+ // as CALayers in the current frame.
+ gfx::Rect next_root_damage_rect_;
+
DISALLOW_COPY_AND_ASSIGN(DirectRenderer);
};

Powered by Google App Engine
This is Rietveld 408576698