Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(943)

Issue 4280076: Optimize tesselated path renderer (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by Stephen White
Modified:
13 years, 6 months ago
Reviewers:
reed, bsalomon
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

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.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
gpu/src/GrTesselatedPathRenderer.cpp View 2 chunks +9 lines, -8 lines 0 comments Download

Messages

Total messages: 3
Stephen White
13 years, 6 months ago (2011-03-29 16:02:58 UTC) #1
bsalomon
LGTM On Tue, Mar 29, 2011 at 9:02 AM, <senorblanco@chromium.org> wrote: > Reviewers: bsalomon, reed, ...
13 years, 6 months ago (2011-03-29 16:14:08 UTC) #2
Stephen White
13 years, 6 months ago (2011-03-29 17:43:06 UTC) #3
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b