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

Issue 4536070: Improve edge AA performance (Closed)

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

Description

Batch up draws into triangle fans as large as possible when drawing convex edge AA polys, so we minimize state changes and GL calls. This requires querying GL for the maximum number of fragment uniforms. It also makes the shader generator produce custom shaders for the number of relevant edges. This gives a ~5X speedup on the "Shapes" SampleApp.

Patch Set 1 #

Total comments: 5

Patch Set 2 : Updated as per review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -67 lines) Patch
gpu/include/GrDrawTarget.h View 1 6 chunks +37 lines, -5 lines 0 comments Download
gpu/include/GrGLDefines.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
gpu/src/GrDrawTarget.cpp View 1 2 chunks +5 lines, -3 lines 0 comments Download
gpu/src/GrGLProgram.h View 1 1 chunk +1 line, -1 line 0 comments Download
gpu/src/GrGLProgram.cpp View 1 2 chunks +29 lines, -15 lines 0 comments Download
gpu/src/GrGpuGL.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
gpu/src/GrGpuGL.cpp View 1 3 chunks +17 lines, -0 lines 0 comments Download
gpu/src/GrGpuGLShaders.cpp View 1 3 chunks +10 lines, -9 lines 0 comments Download
gpu/src/GrTesselatedPathRenderer.cpp View 1 3 chunks +22 lines, -33 lines 0 comments Download
src/gpu/GrPrintf_skia.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9
Stephen White
13 years, 4 months ago (2011-05-18 20:23:55 UTC) #1
bsalomon
Overall looks like a good change. The performance gains sound great! In one of the ...
13 years, 4 months ago (2011-05-18 21:00:54 UTC) #2
Stephen White
Thanks for the review. New version incoming. On 2011/05/18 21:00:54, bsalomon wrote: > Overall looks ...
13 years, 4 months ago (2011-05-18 22:11:06 UTC) #3
Stephen White
Updated as per review comments
13 years, 4 months ago (2011-05-18 22:11:42 UTC) #4
bsalomon
On 2011/05/18 22:11:42, Stephen White wrote: > Updated as per review comments I gotcha about ...
13 years, 4 months ago (2011-05-19 13:54:22 UTC) #5
Stephen White
On 2011/05/19 13:54:22, bsalomon wrote: > On 2011/05/18 22:11:42, Stephen White wrote: > > Updated ...
13 years, 4 months ago (2011-05-19 14:22:45 UTC) #6
Stephen White
On 2011/05/19 14:22:45, Stephen White wrote: > Yes, one of them was an enum value, ...
13 years, 4 months ago (2011-05-19 16:13:40 UTC) #7
bsalomon
On Thu, May 19, 2011 at 12:13 PM, <senorblanco@chromium.org> wrote: > On 2011/05/19 14:22:45, Stephen ...
13 years, 4 months ago (2011-05-19 17:01:26 UTC) #8
Stephen White
13 years, 4 months ago (2011-05-19 18:36:22 UTC) #9
Landed as r1380, closing.
Sign in to reply to this message.

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