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

Issue 6620045: Moved paint color to vertex colors for batched rects (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by robertphillips
Modified:
12 years, 1 month ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

The Eq/NotEq change doesn't fill me with joy but overall this seems to be a win and not to awful. Before this CL: tablebench 8888: cmsecs = 14.43 GPU: cmsecs = 54.76 gmsecs = 51.49 NULLGPU: cmsecs = 43.99 gmsecs = 0.09 After this CL: tablebench 8888: cmsecs = 13.81 GPU: cmsecs = 17.78 gmsecs = 14.17 NULLGPU: cmsecs = 16.38 gmsecs = 0.09

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added comment & fixed getColor #

Patch Set 3 : added AutoColorRestore class and updated CL #

Patch Set 4 : Fixed dumb bugs #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -6 lines) Patch
M src/gpu/GrDrawTarget.h View 1 2 3 2 chunks +21 lines, -0 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 4 chunks +24 lines, -4 lines 1 comment Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 7
robertphillips
12 years, 1 month ago (2012-10-04 20:02:53 UTC) #1
bsalomon
Your changes reveals some unfortunate coupling... that the GrDrawState's color is ignored if the vertex ...
12 years, 1 month ago (2012-10-04 20:30:09 UTC) #2
robertphillips
On the coupling - Yep - I was surprised when stuff just started working after ...
12 years, 1 month ago (2012-10-05 13:26:33 UTC) #3
bsalomon
On 2012/10/05 13:26:33, robertphillips wrote: > On the coupling - Yep - I was surprised ...
12 years, 1 month ago (2012-10-05 13:34:22 UTC) #4
robertphillips
The AutoColorRestore class was a good call. I think this may be ready for prime ...
12 years, 1 month ago (2012-10-05 15:27:43 UTC) #5
bsalomon
Yeah, the change is much smaller now. And it may come in handy in the ...
12 years, 1 month ago (2012-10-05 15:32:42 UTC) #6
robertphillips
12 years, 1 month ago (2012-10-05 15:37:25 UTC) #7
committed as r5830
Sign in to reply to this message.

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