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

Issue 2258403002: check for wide-open inside quickContains (Closed)

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

Description

check for wide-open inside quickContains Seems to shave off 1-2% from simplerects, but a little hard to tell for sure given its a slightly noisy gm. This is because the early-out allows us to skip creating the modified rect to check against (which includes 2 int->float steps). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2258403002

Patch Set 1 #

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

Messages

Total messages: 12 (6 generated)
reed1
4 years, 4 months ago (2016-08-20 17:50:21 UTC) #4
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/2258403002/1
4 years, 4 months ago (2016-08-20 17:51:18 UTC) #7
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Please ask for an LGTM from a full ...
4 years, 4 months ago (2016-08-22 13:01:07 UTC) #9
bsalomon
On 2016/08/22 13:01:07, commit-bot: I haz the power wrote: > No LGTM from a valid ...
4 years, 4 months ago (2016-08-22 13:35:03 UTC) #10
reed1
Are you suggesting to do that instead of this CL, or to also make isWideOpen ...
4 years, 4 months ago (2016-08-22 16:12:47 UTC) #11
bsalomon
4 years, 4 months ago (2016-08-22 16:20:56 UTC) #12
On 2016/08/22 16:12:47, reed1 wrote:
> Are you suggesting to do that instead of this CL, or to also make isWideOpen
> inlined?

I was thinking both (inline isWideOpen() and make SkClipStack::quickContains()
have an inline fast path that relies on it).

Powered by Google App Engine
This is Rietveld 408576698