commit | 2a0f4592f29c59e70977be6079e7c3d43bd620d4 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 30 10:08:22 2014 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 30 10:08:22 2014 |
tree | 1fd121b060253aa9c508c49381d8c336382e66db | |
parent | 3ac9f9326647f1d497da72e89a020d6f9dd35483 [diff] |
Fix the rendering error of SkDraw::drawVertices in gpu path for solid color. If both textures and vertex-colors are NULL, drawVertices should stroke hairlines with the paint's color. This behavior is a useful debugging mode to visualize the mesh. BUG=skia:2266 R=bsalomon@google.com, reed@google.com Author: yunchao.he@intel.com Review URL: https://codereview.chromium.org/189963004 git-svn-id: http://skia.googlecode.com/svn/trunk/include@14985 2bbb7eff-a529-9590-31e7-b0007b416f81