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

Side by Side Diff: ui/compositor/compositor.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 unified diff | Download patch
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 UI_COMPOSITOR_COMPOSITOR_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_
6 #define UI_COMPOSITOR_COMPOSITOR_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 // LayerTreeHostClient implementation. 230 // LayerTreeHostClient implementation.
231 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {} 231 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {}
232 virtual void DidBeginMainFrame() OVERRIDE {} 232 virtual void DidBeginMainFrame() OVERRIDE {}
233 virtual void BeginMainFrame(const cc::BeginFrameArgs& args) OVERRIDE; 233 virtual void BeginMainFrame(const cc::BeginFrameArgs& args) OVERRIDE;
234 virtual void Layout() OVERRIDE; 234 virtual void Layout() OVERRIDE;
235 virtual void ApplyViewportDeltas( 235 virtual void ApplyViewportDeltas(
236 const gfx::Vector2d& scroll_delta, 236 const gfx::Vector2d& scroll_delta,
237 float page_scale, 237 float page_scale,
238 float top_controls_delta) OVERRIDE {} 238 float top_controls_delta) OVERRIDE {}
239 virtual void RecordCommitTiming(
240 int64_t,
241 const std::pair<int, base::TimeTicks>&) OVERRIDE {}
242 virtual void RecordCompositeTiming(
243 int64_t,
244 const std::vector<std::pair<int, base::TimeTicks> >&) OVERRIDE {}
239 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) 245 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
240 OVERRIDE; 246 OVERRIDE;
241 virtual void DidInitializeOutputSurface() OVERRIDE {} 247 virtual void DidInitializeOutputSurface() OVERRIDE {}
242 virtual void WillCommit() OVERRIDE {} 248 virtual void WillCommit() OVERRIDE {}
243 virtual void DidCommit() OVERRIDE; 249 virtual void DidCommit() OVERRIDE;
244 virtual void DidCommitAndDrawFrame() OVERRIDE; 250 virtual void DidCommitAndDrawFrame() OVERRIDE;
245 virtual void DidCompleteSwapBuffers() OVERRIDE; 251 virtual void DidCompleteSwapBuffers() OVERRIDE;
246 252
247 // cc::LayerTreeHostSingleThreadClient implementation. 253 // cc::LayerTreeHostSingleThreadClient implementation.
248 virtual void ScheduleComposite() OVERRIDE; 254 virtual void ScheduleComposite() OVERRIDE;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 LayerAnimatorCollection layer_animator_collection_; 323 LayerAnimatorCollection layer_animator_collection_;
318 324
319 base::WeakPtrFactory<Compositor> schedule_draw_factory_; 325 base::WeakPtrFactory<Compositor> schedule_draw_factory_;
320 326
321 DISALLOW_COPY_AND_ASSIGN(Compositor); 327 DISALLOW_COPY_AND_ASSIGN(Compositor);
322 }; 328 };
323 329
324 } // namespace ui 330 } // namespace ui
325 331
326 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 332 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698