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

Issue 1656143003: Move Google3-specific stack limitation logic to template classes. Remove #ifdefs in other files. (Closed)

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

Description

Move Google3-specific stack limitation logic to template classes. Remove #ifdefs in other files. Does not change the public API. TBR=reed GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1656143003 Committed: https://skia.googlesource.com/skia/+/c92159c8250c62cc47b7b63686538d61d54d2835

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Rename constants, update documentation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -49 lines) Patch
M include/core/SkTypes.h View 1 5 chunks +29 lines, -22 lines 0 comments Download
M include/private/SkTemplates.h View 1 7 chunks +35 lines, -11 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M src/gpu/batches/GrDrawPathBatch.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 39 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656143003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656143003/1
4 years, 10 months ago (2016-02-02 01:50:00 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/5786)
4 years, 10 months ago (2016-02-02 01:52:24 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656143003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656143003/20001
4 years, 10 months ago (2016-02-02 02:09:28 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/5804)
4 years, 10 months ago (2016-02-02 02:13:23 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656143003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656143003/40001
4 years, 10 months ago (2016-02-02 02:20:02 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-02 02:36:48 UTC) #15
dogben
After https://codereview.chromium.org/1513393002, I got tired of having to fix this every time it happens.
4 years, 10 months ago (2016-02-02 02:36:56 UTC) #17
mtklein
I like this approach. I'd also strongly approve an approach that sprinkled unconditional asserts like ...
4 years, 10 months ago (2016-02-02 03:04:29 UTC) #18
reed1
I think we have other places where we (naively) assume lots of stack-space when allocating ...
4 years, 10 months ago (2016-02-02 13:41:17 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656143003/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656143003/50001
4 years, 10 months ago (2016-02-02 19:09:56 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-02 19:28:25 UTC) #24
dogben
On 2016/02/02 at 03:04:29, mtklein wrote: > I like this approach. I'd also strongly approve ...
4 years, 10 months ago (2016-02-02 19:39:21 UTC) #25
dogben
https://codereview.chromium.org/1656143003/diff/40001/include/core/SkTypes.h File include/core/SkTypes.h (right): https://codereview.chromium.org/1656143003/diff/40001/include/core/SkTypes.h#newcode614 include/core/SkTypes.h:614: template <size_t kSize> class SkAutoSMalloc : SkNoncopyable { On ...
4 years, 10 months ago (2016-02-02 19:39:34 UTC) #26
mtklein
lgtm I might try removing the #ifdef GOOGLE3 parts as a follow up, to make ...
4 years, 10 months ago (2016-02-02 19:53:29 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656143003/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656143003/50001
4 years, 10 months ago (2016-02-02 20:06:02 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/5950)
4 years, 10 months ago (2016-02-02 20:08:09 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656143003/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656143003/50001
4 years, 10 months ago (2016-02-02 20:14:25 UTC) #34
commit-bot: I haz the power
Committed patchset #2 (id:50001) as https://skia.googlesource.com/skia/+/c92159c8250c62cc47b7b63686538d61d54d2835
4 years, 10 months ago (2016-02-02 20:48:22 UTC) #36
reed1
lgtm
4 years, 10 months ago (2016-02-03 00:00:46 UTC) #37
dogben
A revert of this CL (patchset #2 id:50001) has been created in https://codereview.chromium.org/1666503002/ by benjaminwagner@google.com. ...
4 years, 10 months ago (2016-02-03 00:01:22 UTC) #38
dogben
4 years, 10 months ago (2016-02-04 18:55:59 UTC) #39
Message was sent while issue was closed.
On 2016/02/03 at 00:01:22, Ben Wagner wrote:
> A revert of this CL (patchset #2 id:50001) has been created in
https://codereview.chromium.org/1666503002/ by benjaminwagner@google.com.
> 
> The reason for reverting is: See https://codereview.chromium.org/1665603002.

Reapplying in https://codereview.chromium.org/1666203002

Powered by Google App Engine
This is Rietveld 408576698