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

Issue 2271053004: Convert drawPaint to drawRRect in simple cases (Closed)

Created:
4 years, 3 months ago by bsalomon
Modified:
4 years, 3 months ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Converts a drawPaint through a rrect clip to a drawRRect in GrDrawContext. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2271053004 Committed: https://skia.googlesource.com/skia/+/cb31e51d9355adb1d25ce3e121cde21b05ecf63e

Patch Set 1 #

Patch Set 2 : update to consider rt bounds #

Patch Set 3 : Catch more cases #

Patch Set 4 : only do rrects #

Patch Set 5 : cleanup #

Patch Set 6 : cleanup #

Total comments: 4

Patch Set 7 : doc clarity #

Patch Set 8 : more doc #

Patch Set 9 : Fix msvc, add gm #

Patch Set 10 : gm comment #

Patch Set 11 : fix another msvs warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -0 lines) Patch
A gm/rrectclipdrawpaint.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +53 lines, -0 lines 0 comments Download
M include/core/SkClipStack.h View 1 2 3 4 5 6 7 1 chunk +15 lines, -0 lines 0 comments Download
M include/gpu/GrClip.h View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M src/core/SkClipStack.cpp View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download
M src/gpu/GrClipStackClip.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrClipStackClip.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M src/gpu/GrFixedClip.h View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
bsalomon
4 years, 3 months ago (2016-08-26 13:37:53 UTC) #4
robertphillips
https://codereview.chromium.org/2271053004/diff/100001/include/core/SkClipStack.h File include/core/SkClipStack.h (right): https://codereview.chromium.org/2271053004/diff/100001/include/core/SkClipStack.h#newcode371 include/core/SkClipStack.h:371: * @param bounds A bounds on the geometry that ...
4 years, 3 months ago (2016-08-26 14:00:44 UTC) #5
bsalomon
Hopefully the docs are clearer now. https://codereview.chromium.org/2271053004/diff/100001/include/core/SkClipStack.h File include/core/SkClipStack.h (right): https://codereview.chromium.org/2271053004/diff/100001/include/core/SkClipStack.h#newcode371 include/core/SkClipStack.h:371: * @param bounds ...
4 years, 3 months ago (2016-08-26 14:19:18 UTC) #6
robertphillips
lgtm. I think the new comment is better.
4 years, 3 months ago (2016-08-26 14:31:54 UTC) #9
robertphillips
Do any of our GMs exercise this?
4 years, 3 months ago (2016-08-26 15:06:24 UTC) #12
bsalomon
On 2016/08/26 15:06:24, robertphillips wrote: > Do any of our GMs exercise this? One happened ...
4 years, 3 months ago (2016-08-26 15:51:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2271053004/180001
4 years, 3 months ago (2016-08-26 15:53:12 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86_64-Release-Vulkan-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Release-Vulkan-Trybot/builds/1201)
4 years, 3 months ago (2016-08-26 16:02:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2271053004/200001
4 years, 3 months ago (2016-08-26 17:14:33 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 17:48:22 UTC) #23
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://skia.googlesource.com/skia/+/cb31e51d9355adb1d25ce3e121cde21b05ecf63e

Powered by Google App Engine
This is Rietveld 408576698