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

Unified Diff: cc/layers/layer_impl.h

Issue 397443002: [not for review] Add Draw entries to window Performance Timeline Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use damage rect not viewport rect 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/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 65143ab514c386de3cc217c8f73cbd467dfab298..59050e2da81d2db799a38b49344164a881a5d635 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -7,6 +7,8 @@
#include <set>
#include <string>
+#include <utility>
+#include <vector>
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
@@ -26,6 +28,7 @@
#include "cc/output/filter_operations.h"
#include "cc/quads/shared_quad_state.h"
#include "cc/resources/resource_provider.h"
+#include "cc/trees/layer_tree_host_common.h"
#include "skia/ext/refptr.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkImageFilter.h"
@@ -444,6 +447,13 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
return touch_event_handler_region_;
}
+ void SetSmoothnessTimingRequests(const SmoothnessTimingRequestsType& rects) {
+ smoothness_timing_requests_ = rects;
+ }
+ const SmoothnessTimingRequestsType& smoothness_timing_requests() const {
+ return smoothness_timing_requests_;
+ }
+
void SetDrawCheckerboardForMissingTiles(bool checkerboard) {
draw_checkerboard_for_missing_tiles_ = checkerboard;
}
@@ -639,6 +649,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
bool is_container_for_fixed_position_layers_ : 1;
Region non_fast_scrollable_region_;
Region touch_event_handler_region_;
+ SmoothnessTimingRequestsType smoothness_timing_requests_;
SkColor background_color_;
float opacity_;
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698