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

Issue 459263003: Add a parameter GR_ALWAYS_ALLOCATE_ON_HEAP to allow for only ever creating temporary buffers on the… (Closed)

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

Description

Add a parameter GR_ALWAYS_ALLOCATE_ON_HEAP to allow for only ever creating temporary buffers on the heap instead of allowing stack allocation Unfortunately this can't be a GR_GL_* config like we'd discussed because there are SkAutoSMalloc buffers that are built outside of gl/ R=bsalomon BUG=skia: Committed: https://skia.googlesource.com/skia/+/b62508be81839be96f3d935d1e568e2ff3663670

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated according to Brian's comments #

Patch Set 3 : Build fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -4 lines) Patch
M include/gpu/GrConfig.h View 1 1 chunk +12 lines, -0 lines 0 comments Download
M include/gpu/GrTypes.h View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrTextStrike.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
gw280
6 years, 4 months ago (2014-08-12 02:03:44 UTC) #1
gw
Related bug at Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1051989
6 years, 4 months ago (2014-08-12 05:29:58 UTC) #2
bsalomon
I think there is another one in SkGr.cpp around line 290. https://codereview.chromium.org/459263003/diff/1/include/gpu/GrConfig.h File include/gpu/GrConfig.h (right): ...
6 years, 4 months ago (2014-08-12 13:43:53 UTC) #3
bsalomon
lgtm
6 years, 4 months ago (2014-08-13 00:49:59 UTC) #4
gw280
The CQ bit was checked by george@mozilla.com
6 years, 4 months ago (2014-08-13 00:50:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/george@mozilla.com/459263003/40001
6 years, 4 months ago (2014-08-13 00:50:53 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 01:01:04 UTC) #7
Message was sent while issue was closed.
Change committed as b62508be81839be96f3d935d1e568e2ff3663670

Powered by Google App Engine
This is Rietveld 408576698