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

Issue 1666203002: Move Google3-specific stack limitation logic to template classes. (Closed)

Created:
4 years, 10 months ago by dogben
Modified:
4 years, 10 months ago
Reviewers:
mtklein
CC:
jcgregorio, reviews_skia.org, timav
Base URL:
https://chromium.googlesource.com/skia.git@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. Reapplies https://codereview.chromium.org/1656143003; removing the implicit constructors for GLPtr and GLPtrAlias resolves the build issue on Android. Also reverts https://codereview.chromium.org/1663013004 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=1666203002 Committed: https://skia.googlesource.com/skia/+/f49c75a8f1eacf8e6cb19ce0dcc1cc9bcbf1f96e

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add comment on mysterious include. #

Patch Set 3 : Fix GLPtr(Alias). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -62 lines) Patch
M include/core/SkTypes.h View 5 chunks +29 lines, -22 lines 0 comments Download
M include/gpu/gl/GrGLInterface.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M include/private/SkTemplates.h View 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/GrTextureToYUVPlanes.cpp View 2 chunks +0 lines, -10 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 2 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 37 (16 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/1666203002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1666203002/1
4 years, 10 months ago (2016-02-04 17:53:45 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-04 18:23:01 UTC) #5
dogben
I reproduced the build error caused by https://codereview.chromium.org/1656143003 using the build instructions here: https://www.chromium.org/developers/how-tos/android-build-instructions This ...
4 years, 10 months ago (2016-02-04 18:53:51 UTC) #8
dogben
On 2016/02/04 at 18:53:51, Ben Wagner wrote: > I reproduced the build error caused by ...
4 years, 10 months ago (2016-02-04 18:55:00 UTC) #9
mtklein
https://codereview.chromium.org/1666203002/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1666203002/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode8 src/gpu/gl/GrGLGpu.cpp:8: #include <functional> // TODO: wtf? We still don't think ...
4 years, 10 months ago (2016-02-04 19:16:05 UTC) #10
dogben
https://codereview.chromium.org/1666203002/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1666203002/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode8 src/gpu/gl/GrGLGpu.cpp:8: #include <functional> On 2016/02/04 at 19:16:05, mtklein wrote: > ...
4 years, 10 months ago (2016-02-04 19:23:39 UTC) #11
dogben
On 2016/02/04 at 19:23:39, Ben Wagner wrote: > https://codereview.chromium.org/1666203002/diff/1/src/gpu/gl/GrGLGpu.cpp > File src/gpu/gl/GrGLGpu.cpp (right): > > ...
4 years, 10 months ago (2016-02-04 19:32:33 UTC) #12
mtklein
https://codereview.chromium.org/1666203002/diff/1/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1666203002/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode8 src/gpu/gl/GrGLGpu.cpp:8: #include <functional> On 2016/02/04 19:23:39, Ben Wagner wrote: > ...
4 years, 10 months ago (2016-02-04 19:48:30 UTC) #13
dogben
On 2016/02/04 at 19:48:30, mtklein wrote: > https://codereview.chromium.org/1666203002/diff/1/src/gpu/gl/GrGLGpu.cpp > File src/gpu/gl/GrGLGpu.cpp (right): > > https://codereview.chromium.org/1666203002/diff/1/src/gpu/gl/GrGLGpu.cpp#newcode8 ...
4 years, 10 months ago (2016-02-04 19:51:51 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1666203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1666203002/40001
4 years, 10 months ago (2016-02-04 21:48:05 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-04 22:14:30 UTC) #18
dogben
Latest patch has results of pair programming.
4 years, 10 months ago (2016-02-05 00:05:11 UTC) #20
mtklein
lgtm
4 years, 10 months ago (2016-02-05 00:08:47 UTC) #21
dogben
4 years, 10 months ago (2016-02-05 00:09:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1666203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1666203002/40001
4 years, 10 months ago (2016-02-05 00:09:16 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1666203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1666203002/40001
4 years, 10 months ago (2016-02-05 14:23:06 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-05 14:23:34 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1666203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1666203002/40001
4 years, 10 months ago (2016-02-05 14:45:02 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-05 14:48:07 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1666203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1666203002/40001
4 years, 10 months ago (2016-02-05 15:00:21 UTC) #35
commit-bot: I haz the power
4 years, 10 months ago (2016-02-05 15:02:41 UTC) #37
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/f49c75a8f1eacf8e6cb19ce0dcc1cc9bcbf1f96e

Powered by Google App Engine
This is Rietveld 408576698