diff options
| author | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-29 17:42:30 +0000 |
|---|---|---|
| committer | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-29 17:42:30 +0000 |
| commit | cf3edc9c972ce1696d1fe21dcddbabbca2999361 (patch) | |
| tree | d2fb2abc733ad3b840aad0aed49e82d2af31658a /samplecode/SampleApp.cpp | |
| parent | 9d18b7873ce9b44f130a41e0cbd0a3df76ab9adf (diff) | |
Two optimizations for the tesselated path renderer:
1) If the path contains a single convex subpath, and we're not using inverted
fill modes, skip the tesselation and draw the interpolated path as a triangle
fan directly.
2) Use GrDrawTarget.set*SourceToArray(), rather than creating a new
AutoReleaseGeometry, saving a copy of the vertex and index data.
Review URL: http://codereview.appspot.com/4280076/
git-svn-id: http://skia.googlecode.com/svn/trunk@1014 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleApp.cpp')
0 files changed, 0 insertions, 0 deletions
