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

Unified Diff: cc/layers/layer_impl.h

Issue 67563002: cc: Plumbing for impl thread micro benchmarks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: speculative fix Created 7 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
« no previous file with comments | « cc/debug/unittest_only_benchmark_impl.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 9d3951b78afe49aeb46c6a24d90f877bad5a446c..e774dface1fecca13f058f0147218a283292066a 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -42,6 +42,7 @@ namespace cc {
class LayerTreeHostImpl;
class LayerTreeImpl;
+class MicroBenchmarkImpl;
class QuadSink;
class Renderer;
class ScrollbarAnimationController;
@@ -490,6 +491,8 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
bool needs_push_properties() const { return true; }
bool descendant_needs_push_properties() const { return true; }
+ virtual void RunMicroBenchmark(MicroBenchmarkImpl* benchmark);
+
protected:
LayerImpl(LayerTreeImpl* layer_impl, int id);
« no previous file with comments | « cc/debug/unittest_only_benchmark_impl.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698