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

Side by Side Diff: tools/skpdiff/SkPMetricUtil_generated.h

Issue 19608005: move skpdiff into tools (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « tools/skpdiff/SkPMetric.cpp ('k') | tools/skpdiff/diff_viewer.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 // To regenerate SkPMetricUtil_generated.h, simply run ./generate_pmetric_tables .py 7 // To regenerate SkPMetricUtil_generated.h, simply run ./generate_pmetric_tables .py
8 namespace SkPMetricUtil { 8 namespace SkPMetricUtil {
9 static float gCubeRootTable[] = { 9 static float gCubeRootTable[] = {
10 0.0000000000f,0.0992125657f,0.1250000000f,0.1430892803f,0.1574901312f,0.1696 511010f, 10 0.0000000000f,0.0992125657f,0.1250000000f,0.1430892803f,0.1574901312f,0.1696 511010f,
(...skipping 2566 matching lines...) Expand 10 before | Expand all | Expand 10 after
2577 331.5898095702f,331.6480686385f,331.7063233212f,331.7645736196f,331.82281953 51f,331.8810610693f, 2577 331.5898095702f,331.6480686385f,331.7063233212f,331.7645736196f,331.82281953 51f,331.8810610693f,
2578 331.9392982234f,331.9975309989f,332.0557593973f,332.1139834200f,332.17220306 84f,332.2304183439f, 2578 331.9392982234f,331.9975309989f,332.0557593973f,332.1139834200f,332.17220306 84f,332.2304183439f,
2579 332.2886292480f,332.3468357821f,332.4050379475f,332.4632357458f, 2579 332.2886292480f,332.3468357821f,332.4050379475f,332.4632357458f,
2580 }; 2580 };
2581 static float get_visual_mask(float value) { 2581 static float get_visual_mask(float value) {
2582 SkASSERT(value >= 0.0f); 2582 SkASSERT(value >= 0.0f);
2583 SkASSERT(value < 4000.0f); 2583 SkASSERT(value < 4000.0f);
2584 return gVisualMaskTable[(int)value]; 2584 return gVisualMaskTable[(int)value];
2585 } 2585 }
2586 } 2586 }
OLDNEW
« no previous file with comments | « tools/skpdiff/SkPMetric.cpp ('k') | tools/skpdiff/diff_viewer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698