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

Issue 6604053: Fixed xoom bug introduced in r5830 (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 xoom doesn't support shader derivatives or dual source blending. The lack of shader derivatives disables the AA convex path renderer resulting in more path's being drawn in software. r5830 short circuited some of the blend optimizations (by hiding the opaque paint color in the vertex colors) so when the resulting path masks were being drawn (in drawRect) the real blend had to be performed. Without dual source blending this is not possible for all blend modes. This change turns off the vertex color-based batching for drawRects with texture thus re-enabling the blend optimizations. It leaves the performance improvement of r5830 unchanged on 'tablebench'.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added check if dual source blending is supported #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -4 lines) Patch
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 chunks +31 lines, -4 lines 0 comments Download

Messages

Total messages: 5
robertphillips
12 years, 1 month ago (2012-10-09 14:33:39 UTC) #1
bsalomon
https://codereview.appspot.com/6604053/diff/1/src/gpu/GrInOrderDrawBuffer.cpp File src/gpu/GrInOrderDrawBuffer.cpp (right): https://codereview.appspot.com/6604053/diff/1/src/gpu/GrInOrderDrawBuffer.cpp#newcode113 src/gpu/GrInOrderDrawBuffer.cpp:113: batchAcrossColors = false; Should we also check whether dualSourceBlending() ...
12 years, 1 month ago (2012-10-09 15:00:03 UTC) #2
robertphillips
https://codereview.appspot.com/6604053/diff/1/src/gpu/GrInOrderDrawBuffer.cpp File src/gpu/GrInOrderDrawBuffer.cpp (right): https://codereview.appspot.com/6604053/diff/1/src/gpu/GrInOrderDrawBuffer.cpp#newcode113 src/gpu/GrInOrderDrawBuffer.cpp:113: batchAcrossColors = false; I added a check for DSB. ...
12 years, 1 month ago (2012-10-09 17:37:08 UTC) #3
bsalomon
On 2012/10/09 17:37:08, robertphillips wrote: > https://codereview.appspot.com/6604053/diff/1/src/gpu/GrInOrderDrawBuffer.cpp > File src/gpu/GrInOrderDrawBuffer.cpp (right): > > https://codereview.appspot.com/6604053/diff/1/src/gpu/GrInOrderDrawBuffer.cpp#newcode113 > ...
12 years, 1 month ago (2012-10-09 17:38:02 UTC) #4
robertphillips
12 years, 1 month ago (2012-10-09 17:40:54 UTC) #5
committed as r5862
Sign in to reply to this message.

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