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

Unified Diff: cc/resources/picture_layer_tiling.h

Issue 547723002: Reland of: cc: Add occlusion checker as a fixed view of occlusion tracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/resources/picture_layer_tiling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling.h
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
index 35bbf94a297847aa6122f1d870bccb603ae092bb..e3fffeefd5e4fac0e2d0b5b0ef608d543db8a676 100644
--- a/cc/resources/picture_layer_tiling.h
+++ b/cc/resources/picture_layer_tiling.h
@@ -17,6 +17,7 @@
#include "cc/base/tiling_data.h"
#include "cc/resources/tile.h"
#include "cc/resources/tile_priority.h"
+#include "cc/trees/occlusion.h"
#include "ui/gfx/rect.h"
namespace base {
@@ -27,8 +28,6 @@ class TracedValue;
namespace cc {
-template <typename LayerType>
-class OcclusionTracker;
class PictureLayerTiling;
class PicturePileImpl;
@@ -237,14 +236,11 @@ class CC_EXPORT PictureLayerTiling {
void Reset();
- void UpdateTilePriorities(
- WhichTree tree,
- const gfx::Rect& visible_layer_rect,
- float ideal_contents_scale,
- double current_frame_time_in_seconds,
- const OcclusionTracker<LayerImpl>* occlusion_tracker,
- const LayerImpl* render_target,
- const gfx::Transform& draw_transform);
+ void UpdateTilePriorities(WhichTree tree,
+ const gfx::Rect& visible_layer_rect,
+ float ideal_contents_scale,
+ double current_frame_time_in_seconds,
+ const Occlusion& occlusion_in_layer_space);
// Copies the src_tree priority into the dst_tree priority for all tiles.
// The src_tree priority is reset to the lowest priority possible. This
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/resources/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698