Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1304)

Issue 435743002: Always use both a color and coverage attribute in GrAARectRenderer. (Closed)

Created:
6 years, 4 months ago by bsalomon
Modified:
6 years, 4 months ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Always use both a color and coverage attribute in GrAARectRenderer. Committed: https://skia.googlesource.com/skia/+/9c0822a4150e23cec9f9b72bd1abc2c5f9ea5a3b

Patch Set 1 #

Patch Set 2 : Add tests to ignored-tests.txt #

Patch Set 3 : Fix assert #

Patch Set 4 : Rebase onto Greg's change. #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : Remove unused function, isIRect #

Patch Set 8 : Clear vertex attribs in prepareToDraw rather than setFromPaint to keep txt ctx code working. #

Patch Set 9 : Update ignored-tests.txt #

Total comments: 2

Patch Set 10 : Fix line wrap #

Patch Set 11 : Remove old ignored tests by bungeman that were accidentally re-added. #

Total comments: 6

Patch Set 12 : Address comments #

Patch Set 13 : rebase #

Patch Set 14 : fix unsigned/signed issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -129 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +17 lines, -0 lines 0 comments Download
M include/gpu/GrColor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download
M src/gpu/GrAARectRenderer.h View 5 chunks +5 lines, -14 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 14 chunks +40 lines, -63 lines 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 6 7 8 9 8 chunks +18 lines, -49 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
bsalomon
This solves the batching problem for rotated_rects_aa_change_color.
6 years, 4 months ago (2014-07-31 20:47:21 UTC) #1
robertphillips
So this CL is paused, right?
6 years, 4 months ago (2014-08-04 15:33:10 UTC) #2
bsalomon
On 2014/08/04 15:33:10, robertphillips wrote: > So this CL is paused, right? yes
6 years, 4 months ago (2014-08-04 15:42:44 UTC) #3
bsalomon
Unpaused. On my windows machine the significant perf changes are: rotated_rects_aa_alternating_transparent_and_opaque_src goes from 5.65us to ...
6 years, 4 months ago (2014-08-11 15:08:20 UTC) #4
bsalomon
The only significant change on the N10 is rotated_rects_aa_changing_opaque_src goes from 33us to 10.8us.
6 years, 4 months ago (2014-08-11 15:17:58 UTC) #5
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 4 months ago (2014-08-11 15:20:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/435743002/200001
6 years, 4 months ago (2014-08-11 15:20:40 UTC) #7
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 4 months ago (2014-08-11 15:20:41 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Mac10.8-Clang-x86_64-Release-Trybot on tryserver.skia ...
6 years, 4 months ago (2014-08-11 15:24:31 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-11 15:25:50 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac10.8-Clang-x86_64-Release-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Mac10.8-Clang-x86_64-Release-Trybot/builds/1054) Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on tryserver.skia (http://108.170.220.120:10117/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/138)
6 years, 4 months ago (2014-08-11 15:25:51 UTC) #11
robertphillips
lgtm + suggestions https://codereview.chromium.org/435743002/diff/200001/src/gpu/GrAARectRenderer.cpp File src/gpu/GrAARectRenderer.cpp (right): https://codereview.chromium.org/435743002/diff/200001/src/gpu/GrAARectRenderer.cpp#newcode447 src/gpu/GrAARectRenderer.cpp:447: drawState->setVertexAttribs<gAARectAttribs>(SK_ARRAY_COUNT(gAARectAttribs)); Add a "bool is_opaque(GrColor)" helper ...
6 years, 4 months ago (2014-08-11 15:50:57 UTC) #12
bsalomon
All suggestions done.
6 years, 4 months ago (2014-08-11 17:36:18 UTC) #13
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 4 months ago (2014-08-11 17:36:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/435743002/220001
6 years, 4 months ago (2014-08-11 17:37:25 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-11 17:37:28 UTC) #16
commit-bot: I haz the power
Failed to apply patch for expectations/gm/ignored-tests.txt: While running git apply --index -p1; error: patch failed: ...
6 years, 4 months ago (2014-08-11 17:37:29 UTC) #17
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 4 months ago (2014-08-11 17:44:28 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/435743002/240001
6 years, 4 months ago (2014-08-11 17:45:24 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on tryserver.skia ...
6 years, 4 months ago (2014-08-11 17:52:58 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-11 17:55:58 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot/builds/1117)
6 years, 4 months ago (2014-08-11 17:55:59 UTC) #22
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 4 months ago (2014-08-11 17:59:27 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/435743002/260001
6 years, 4 months ago (2014-08-11 18:00:28 UTC) #24
commit-bot: I haz the power
6 years, 4 months ago (2014-08-11 18:07:53 UTC) #25
Message was sent while issue was closed.
Change committed as 9c0822a4150e23cec9f9b72bd1abc2c5f9ea5a3b

Powered by Google App Engine
This is Rietveld 408576698