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

Side by Side Diff: cc/layers/heads_up_display_layer_impl.h

Issue 26880010: gfx: Add FrameTime and DisplayTime classes (Closed) Base URL: http://git.chromium.org/chromium/src.git@checkHighResNow4
Patch Set: WIP 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 unified diff | Download patch
« no previous file with comments | « cc/input/top_controls_manager.cc ('k') | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 scoped_ptr<ScopedResource> hud_resource_; 112 scoped_ptr<ScopedResource> hud_resource_;
113 scoped_ptr<SkCanvas> hud_canvas_; 113 scoped_ptr<SkCanvas> hud_canvas_;
114 114
115 skia::RefPtr<SkTypeface> typeface_; 115 skia::RefPtr<SkTypeface> typeface_;
116 116
117 Graph fps_graph_; 117 Graph fps_graph_;
118 Graph paint_time_graph_; 118 Graph paint_time_graph_;
119 MemoryHistory::Entry memory_entry_; 119 MemoryHistory::Entry memory_entry_;
120 120
121 base::TimeTicks time_of_last_graph_update_; 121 gfx::FrameTime time_of_last_graph_update_;
122 122
123 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); 123 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl);
124 }; 124 };
125 125
126 } // namespace cc 126 } // namespace cc
127 127
128 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 128 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/input/top_controls_manager.cc ('k') | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698