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