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

Unified Diff: include/core/SkCanvas.h

Issue 189963004: Fix the rendering error of SkDraw::drawVertices in gpu path for solid color (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update document for SkVertState.h, and fix a small bug" Created 6 years, 7 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
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 70cfe287b85bb9226803dbdaf045db185eeb96a8..0e8265dba47213892ef08948bc5c8f3bab311293 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1002,6 +1002,11 @@ public:
};
/** Draw the array of vertices, interpreted as triangles (based on mode).
+
+ If both textures and vertex-colors are NULL, we strokes hairlines with
+ the paint's color. This behavior is a useful debugging mode to visualize
+ the mesh.
+
@param vmode How to interpret the array of vertices
@param vertexCount The number of points in the vertices array (and
corresponding texs and colors arrays if non-null)
« no previous file with comments | « gyp/core.gypi ('k') | include/core/SkVertState.h » ('j') | include/core/SkVertState.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698