Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 <include src="gpu_internals/browser_bridge.js"/> | |
| 6 <include src="tracing/overlay.js"/> | |
| 7 <include src="tracing/tracing_controller.js"/> | |
| 8 <include src="tracing/timeline_model.js"/> | |
| 9 <include src="tracing/sorted_array_utils.js"/> | |
| 10 <include src="tracing/timeline.js"/> | |
| 11 <include src="tracing/timeline_track.js"/> | |
| 12 <include src="tracing/fast_rect_renderer.js"/> | |
| 13 <include src="tracing/profiling_view.js"/> | |
| 14 <include src="tracing/timeline_view.js"/> | |
| 15 | |
| 16 var browserBridge; | |
| 17 var tracingController; | |
| 18 var profilingView; // made global for debugging purposes only | |
| 19 | |
| 20 /** | |
| 21 * Main entry point. called once the page has loaded. | |
| 22 */ | |
| 23 function onLoad() { | |
| 24 browserBridge = new gpu.BrowserBridge(); | |
|
nduca
2011/08/04 00:50:48
I think we can ditch the browserbridge... or copy
dominich
2011/08/04 16:55:28
TracingController saves the clientInfo and gpuInfo
| |
| 25 tracingController = new tracing.TracingController(); | |
| 26 | |
| 27 profilingView = $('profiling-view'); | |
| 28 cr.ui.decorate(profilingView, tracing.ProfilingView); | |
| 29 } | |
| 30 | |
| 31 document.addEventListener('DOMContentLoaded', onLoad); | |
| OLD | NEW |