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

Issue 6608043: Fixed bug(s) in batching of 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 clip flag was causing a problem since it was set but, since the clip was wide open, the clipstack was reporting that it did not result from a intersection of rects. I believe the batching test was just incorrect. Before these changes: tablebench 8888: cmsecs = 13.88 GPU: cmsecs = 69.11 gmsecs = 65.64 NULLGPU: cmsecs = 52.42 gmsecs = 0.14 After these changes: tablebench 8888: cmsecs = 13.88 GPU: cmsecs = 52.73 gmsecs = 49.56 NULLGPU: cmsecs = 42.28 gmsecs = 0.12 Altering the bench to always use the same paint (i.e., maximal batching) yields: tablebench 8888: cmsecs = 15.29 GPU: cmsecs = 18.72 gmsecs = 13.25 NULLGPU: cmsecs = 16.54 gmsecs = 0.09

Patch Set 1 #

Total comments: 3

Patch Set 2 : Reset flag when clip is wide open #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M src/gpu/GrContext.cpp View 1 1 chunk +6 lines, -1 line 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
robertphillips
12 years, 1 month ago (2012-10-04 15:16:37 UTC) #1
bsalomon
The difference between w/ the fix and maximal batching is still huge. Any idea what ...
12 years, 1 month ago (2012-10-04 15:23:16 UTC) #2
robertphillips
On 2012/10/04 15:23:16, bsalomon wrote: > The difference between w/ the fix and maximal batching ...
12 years, 1 month ago (2012-10-04 16:27:56 UTC) #3
robertphillips
https://codereview.appspot.com/6608043/diff/1/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): https://codereview.appspot.com/6608043/diff/1/src/gpu/GrContext.cpp#newcode573 src/gpu/GrContext.cpp:573: if (!clipData->fClipStack->isWideOpen()) { On 2012/10/04 15:23:16, bsalomon wrote: > ...
12 years, 1 month ago (2012-10-04 17:50:49 UTC) #4
bsalomon
On 2012/10/04 17:50:49, robertphillips wrote: > https://codereview.appspot.com/6608043/diff/1/src/gpu/GrContext.cpp > File src/gpu/GrContext.cpp (right): > > https://codereview.appspot.com/6608043/diff/1/src/gpu/GrContext.cpp#newcode573 > ...
12 years, 1 month ago (2012-10-04 17:55:09 UTC) #5
robertphillips
12 years, 1 month ago (2012-10-04 17:57:29 UTC) #6
committed as r5811
Sign in to reply to this message.

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