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

Unified Diff: tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/ui/base/utils.html ('k') | tracing/tracing/ui/extras/chrome/cc/picture_debugger.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html b/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html
index a01dd114563bc68309fe782263157af2bb7befe0..c6d8fb82f279b7b484b40403cd040c6ebab6418d 100644
--- a/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html
+++ b/tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html
@@ -6,9 +6,9 @@ found in the LICENSE file.
-->
<link rel="import" href="/tracing/base/color.html">
-<link rel="import" href="/tracing/base/quad.html">
+<link rel="import" href="/tracing/base/math/quad.html">
+<link rel="import" href="/tracing/base/math/range.html">
<link rel="import" href="/tracing/base/raf.html">
-<link rel="import" href="/tracing/base/range.html">
<link rel="import" href="/tracing/base/unit_scale.html">
<link rel="import" href="/tracing/extras/chrome/cc/debug_colors.html">
<link rel="import" href="/tracing/extras/chrome/cc/picture.html">
@@ -423,7 +423,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
var lthi = this.layerTreeImpl_.layerTreeHostImpl;
var lthiInstance = lthi.objectInstance;
- var worldViewportRect = tr.b.Rect.fromXYWH(
+ var worldViewportRect = tr.b.math.Rect.fromXYWH(
0, 0,
lthi.deviceViewportSize.width, lthi.deviceViewportSize.height);
this.quadStackView_.deviceRect = worldViewportRect;
@@ -702,7 +702,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
return;
var rect = layer.animationBoundsRect;
- var abq = tr.b.Quad.fromRect(rect);
+ var abq = tr.b.math.Quad.fromRect(rect);
abq.backgroundColor = 'rgba(164,191,48,0.5)';
abq.borderColor = 'rgba(205,255,0,0.75)';
@@ -884,7 +884,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
},
getMinMaxForHeatmap_: function(tiles, heatmapType) {
- var range = new tr.b.Range();
+ var range = new tr.b.math.Range();
if (heatmapType === TILE_HEATMAP_TYPE.USING_GPU_MEMORY) {
range.addValue(0);
range.addValue(1);
@@ -1116,7 +1116,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
for (var i = 0; i < tracedInputLatencies.length; i++) {
var coordinatesArray = tracedInputLatencies[i].args.data.coordinates;
for (var j = 0; j < coordinatesArray.length; j++) {
- var inputQuad = tr.b.Quad.fromXYWH(
+ var inputQuad = tr.b.math.Quad.fromXYWH(
coordinatesArray[j].x - 25,
coordinatesArray[j].y - 25,
50,
« no previous file with comments | « tracing/tracing/ui/base/utils.html ('k') | tracing/tracing/ui/extras/chrome/cc/picture_debugger.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698