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

Unified Diff: tools/win/DebugVisualizers/skia.natvis

Issue 176893005: Add DebugVisualizers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more line endings. Created 6 years, 10 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 | « tools/win/DebugVisualizers/chrome.natvis ('k') | tools/win/DebugVisualizers/webkit.natvis » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/win/DebugVisualizers/skia.natvis
diff --git a/tools/win/DebugVisualizers/skia.natvis b/tools/win/DebugVisualizers/skia.natvis
new file mode 100644
index 0000000000000000000000000000000000000000..2254a47389fb3f5021eaa1ad45c68552cb4549bb
--- /dev/null
+++ b/tools/win/DebugVisualizers/skia.natvis
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<AutoVisualizer
+ xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
+ <Type Name="SkPoint">
+ <AlternativeType Name="SkIPoint"/>
+ <DisplayString>({fX}, {fY})</DisplayString>
+ <Expand>
+ <Item Name="X">fX</Item>
+ <Item Name="Y">fY</Item>
+ </Expand>
+ </Type>
+ <Type Name="SkSize">
+ <DisplayString>({fWidth}, {fHeight})</DisplayString>
+ <Expand>
+ <Item Name="Width">fWidth</Item>
+ <Item Name="Height">fHeight</Item>
+ </Expand>
+ </Type>
+ <Type Name="SkRect">
+ <AlternativeType Name="SkIRect"/>
+ <DisplayString>({fLeft}, {fTop}) x ({fRight - fLeft}, {fBottom - fTop})</DisplayString>
+ <Expand>
+ <Item Name="Left">fLeft</Item>
+ <Item Name="Top">fTop</Item>
+ <Item Name="Right">fRight</Item>
+ <Item Name="Bottom">fBottom</Item>
+ <Synthetic Name="Width">
+ <DisplayString>{fRight - fLeft}</DisplayString>
+ </Synthetic>
+ <Synthetic Name="Height">
+ <DisplayString>{fBottom - fTop}</DisplayString>
+ </Synthetic>
+ </Expand>
+ </Type>
+</AutoVisualizer>
« no previous file with comments | « tools/win/DebugVisualizers/chrome.natvis ('k') | tools/win/DebugVisualizers/webkit.natvis » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698