diff options
author | 2013-01-09 21:04:52 +0000 | |
---|---|---|
committer | 2013-01-09 21:04:52 +0000 | |
commit | 74dda9018e8bdd650698e763404f19144c6d0a42 (patch) | |
tree | 7cfb70a1e2cbbac3e61d10848dfc1f77b93c37e0 /src/core/SkStream.cpp | |
parent | a543b604e425c00ca7957160e73220ca71f75e0b (diff) |
This takes the convex path tesselator from the Android code and hooks it into a
GrPathRenderer. GrAndroidPathRenderer is activated by gyp flag 'skia_android_path_rendering'.
A few changes to get this to work:
- Had to change SkPaint* param to SkStrokeRec& in ConvexPathVertices()
- Had to copy the vertex buffer created by the Android code to GrDrawTarget-generated vertex buffer, and convert float alpha to GrColor for AA paths
git-svn-id: http://skia.googlecode.com/svn/trunk@7110 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkStream.cpp')
0 files changed, 0 insertions, 0 deletions