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

Issue 2160093002: Allow GrReducedClip to take non-integer query bounds (Closed)

Created:
4 years, 5 months ago by csmartdalton
Modified:
4 years, 5 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

Allow GrReducedClip to take non-integer query bounds Fixes places where AA bloat was being conflated with geometric boundaries and updates GrReducedClip to work with non-integer query bounds. This allows for better clip reduction with AA shared edges. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2160093002 Committed: https://skia.googlesource.com/skia/+/cbecb082d15da3c9cc5ac7192b243fd26dc29a57

Patch Set 1 #

Patch Set 2 : Allow GrReducedClip to take non-integer query bounds #

Total comments: 7

Patch Set 3 : Allow GrReducedClip to take non-integer query bounds #

Total comments: 2

Patch Set 4 : CMM bug #

Patch Set 5 : Fix inside-out bounds #

Patch Set 6 : MSVC warnings #

Patch Set 7 : msvc warnings #

Patch Set 8 : fix tests on ubuntu #

Unified diffs Side-by-side diffs Delta from patch set Stats (+503 lines, -287 lines) Patch
M include/gpu/GrClip.h View 1 2 1 chunk +68 lines, -17 lines 0 comments Download
M src/gpu/GrClip.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 2 3 4 5 6 6 chunks +20 lines, -29 lines 0 comments Download
M src/gpu/GrReducedClip.h View 1 1 chunk +20 lines, -17 lines 0 comments Download
M src/gpu/GrReducedClip.cpp View 1 2 3 4 5 6 7 15 chunks +117 lines, -136 lines 0 comments Download
M src/gpu/gl/GrGLIRect.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M src/utils/SkLua.cpp View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M tests/ClipStackTest.cpp View 1 2 3 4 5 6 7 13 chunks +273 lines, -80 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (7 generated)
csmartdalton
4 years, 5 months ago (2016-07-18 22:27:13 UTC) #3
bsalomon
This looks like a good improvement. From the try logs I'm guessing that the fuzz ...
4 years, 5 months ago (2016-07-19 13:33:12 UTC) #4
csmartdalton
https://codereview.chromium.org/2160093002/diff/20001/include/gpu/GrClip.h File include/gpu/GrClip.h (right): https://codereview.chromium.org/2160093002/diff/20001/include/gpu/GrClip.h#newcode123 include/gpu/GrClip.h:123: constexpr static SkScalar kClipBoundsFuzz = 1e-3f; On 2016/07/19 13:33:12, ...
4 years, 5 months ago (2016-07-19 15:59:01 UTC) #5
csmartdalton
Looks like there were quite a few issues that came up with the golds. We ...
4 years, 5 months ago (2016-07-19 16:50:22 UTC) #6
csmartdalton
On 2016/07/19 16:50:22, csmartdalton wrote: > Looks like there were quite a few issues that ...
4 years, 5 months ago (2016-07-19 22:23:29 UTC) #7
bsalomon
lgtm https://codereview.chromium.org/2160093002/diff/20001/src/gpu/GrReducedClip.cpp File src/gpu/GrReducedClip.cpp (right): https://codereview.chromium.org/2160093002/diff/20001/src/gpu/GrReducedClip.cpp#newcode351 src/gpu/GrReducedClip.cpp:351: // TODO: Some way to indicate there are ...
4 years, 5 months ago (2016-07-20 13:34:29 UTC) #8
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/2160093002/80001
4 years, 5 months ago (2016-07-20 18:26:44 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/9845) Build-Win-MSVC-x86_64-Debug-Trybot on master.client.skia.compile (JOB_FAILED, ...
4 years, 5 months ago (2016-07-20 18:37:58 UTC) #12
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/2160093002/140001
4 years, 5 months ago (2016-07-22 15:39:53 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 15:59:11 UTC) #17
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://skia.googlesource.com/skia/+/cbecb082d15da3c9cc5ac7192b243fd26dc29a57

Powered by Google App Engine
This is Rietveld 408576698