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

Issue 2244223004: Make GrReducedClip's gen ID only apply to the element list (Closed)

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

Make GrReducedClip's gen ID only apply to the element list Renames fGenID to fElementsGenID and designates this value as undefined when when the element list is empty. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2244223004 Committed: https://skia.googlesource.com/skia/+/8d3f92a92be713cedfee48e01987264bd4f3083f

Patch Set 1 #

Patch Set 2 : Fix GrReducedClip::fGenID to be kEmpty/kWideOpen when appropriate #

Total comments: 2

Patch Set 3 : Make GrReducedClip's gen ID only apply to the element list #

Patch Set 4 : Make GrReducedClip's gen ID only apply to the element list #

Total comments: 2

Patch Set 5 : Make GrReducedClip's gen ID only apply to the element list #

Patch Set 6 : bug #

Patch Set 7 : more improved testing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -48 lines) Patch
M src/gpu/GrClipStackClip.cpp View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/GrReducedClip.h View 1 2 3 4 3 chunks +7 lines, -6 lines 0 comments Download
M src/gpu/GrReducedClip.cpp View 1 2 3 4 5 4 chunks +2 lines, -15 lines 0 comments Download
M tests/ClipStackTest.cpp View 1 2 3 4 5 6 5 chunks +41 lines, -23 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
csmartdalton
4 years, 4 months ago (2016-08-16 02:54:48 UTC) #3
csmartdalton
Actually I'm not so sure this is a good idea. https://codereview.chromium.org/2244223004/diff/20001/src/gpu/GrReducedClip.cpp File src/gpu/GrReducedClip.cpp (right): https://codereview.chromium.org/2244223004/diff/20001/src/gpu/GrReducedClip.cpp#newcode321 ...
4 years, 4 months ago (2016-08-16 05:18:49 UTC) #5
bsalomon
lgtm https://codereview.chromium.org/2244223004/diff/20001/src/gpu/GrReducedClip.cpp File src/gpu/GrReducedClip.cpp (right): https://codereview.chromium.org/2244223004/diff/20001/src/gpu/GrReducedClip.cpp#newcode321 src/gpu/GrReducedClip.cpp:321: *resultGenID = SkClipStack::kWideOpenGenID; On 2016/08/16 05:18:49, csmartdalton wrote: ...
4 years, 4 months ago (2016-08-16 14:14:41 UTC) #6
csmartdalton
Complete redo. I think this approach is much better.
4 years, 4 months ago (2016-08-17 03:31:32 UTC) #8
bsalomon
lgtm w/ note about comment https://codereview.chromium.org/2244223004/diff/60001/src/gpu/GrReducedClip.h File src/gpu/GrReducedClip.h (right): https://codereview.chromium.org/2244223004/diff/60001/src/gpu/GrReducedClip.h#newcode46 src/gpu/GrReducedClip.h:46: * If elements() are ...
4 years, 4 months ago (2016-08-17 13:34:53 UTC) #9
csmartdalton
https://codereview.chromium.org/2244223004/diff/60001/src/gpu/GrReducedClip.h File src/gpu/GrReducedClip.h (right): https://codereview.chromium.org/2244223004/diff/60001/src/gpu/GrReducedClip.h#newcode46 src/gpu/GrReducedClip.h:46: * If elements() are nonempty, uniquely identifies the list ...
4 years, 4 months ago (2016-08-17 14:49:14 UTC) #10
bsalomon
On 2016/08/17 14:49:14, csmartdalton wrote: > https://codereview.chromium.org/2244223004/diff/60001/src/gpu/GrReducedClip.h > File src/gpu/GrReducedClip.h (right): > > https://codereview.chromium.org/2244223004/diff/60001/src/gpu/GrReducedClip.h#newcode46 > ...
4 years, 4 months ago (2016-08-17 14:50:01 UTC) #11
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/2244223004/80001
4 years, 4 months ago (2016-08-17 15:04:08 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-GN-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-GN-Trybot/builds/417)
4 years, 4 months ago (2016-08-17 15:27:39 UTC) #15
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/2244223004/100001
4 years, 4 months ago (2016-08-17 15:52:31 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/2244223004/120001
4 years, 4 months ago (2016-08-17 15:59:01 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 16:39:41 UTC) #24
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/8d3f92a92be713cedfee48e01987264bd4f3083f

Powered by Google App Engine
This is Rietveld 408576698