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

Issue 742253002: remove GrAllocPool (Closed)

Created:
6 years, 1 month ago by joshua.litt
Modified:
6 years, 1 month ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : update gyp #

Patch Set 3 : update to use SkVarAlloc #

Total comments: 3

Patch Set 4 : feedback incorporated #

Total comments: 1

Patch Set 5 : feedback inc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -186 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.h View 1 chunk +0 lines, -1 line 0 comments Download
D src/gpu/GrAllocPool.h View 1 chunk +0 lines, -60 lines 0 comments Download
D src/gpu/GrAllocPool.cpp View 1 chunk +0 lines, -116 lines 0 comments Download
M src/gpu/GrTextStrike.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/GrTextStrike.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (6 generated)
joshualitt
Turns out it was used in GrTextStrike
6 years, 1 month ago (2014-11-20 22:15:13 UTC) #2
bsalomon
I'm not familiar with this use and not sure if grmemorypool is a good substitute.
6 years, 1 month ago (2014-11-20 22:21:55 UTC) #4
joshualitt
On 2014/11/20 22:21:55, bsalomon wrote: > I'm not familiar with this use and not sure ...
6 years, 1 month ago (2014-11-20 22:39:34 UTC) #5
joshualitt
On 2014/11/20 22:39:34, joshualitt wrote: > On 2014/11/20 22:21:55, bsalomon wrote: > > I'm not ...
6 years, 1 month ago (2014-11-20 22:46:59 UTC) #6
joshualitt
On 2014/11/20 22:46:59, joshualitt wrote: > On 2014/11/20 22:39:34, joshualitt wrote: > > On 2014/11/20 ...
6 years, 1 month ago (2014-11-20 22:50:54 UTC) #7
joshualitt
On 2014/11/20 22:50:54, joshualitt wrote: > On 2014/11/20 22:46:59, joshualitt wrote: > > On 2014/11/20 ...
6 years, 1 month ago (2014-11-20 22:54:20 UTC) #8
bsalomon
On 2014/11/20 22:54:20, joshualitt wrote: > On 2014/11/20 22:50:54, joshualitt wrote: > > On 2014/11/20 ...
6 years, 1 month ago (2014-11-21 14:21:33 UTC) #9
joshualitt
Adding Mike who wrote VarAlloc. GrAllocPool was also a variable size allocator. It seems like ...
6 years, 1 month ago (2014-11-21 14:46:53 UTC) #11
jvanverth1
On 2014/11/21 14:46:53, joshualitt wrote: > Adding Mike who wrote VarAlloc. > > GrAllocPool was ...
6 years, 1 month ago (2014-11-21 14:52:38 UTC) #12
mtklein
What's the goal here? Faster, better ram usage, less code?
6 years, 1 month ago (2014-11-21 14:55:38 UTC) #13
mtklein
https://codereview.chromium.org/742253002/diff/40001/src/gpu/GrTextStrike.cpp File src/gpu/GrTextStrike.cpp (right): https://codereview.chromium.org/742253002/diff/40001/src/gpu/GrTextStrike.cpp#newcode270 src/gpu/GrTextStrike.cpp:270: GrGlyph* glyph = (GrGlyph*)fPool.alloc(sizeof(GrGlyph), 0); Are you sure you ...
6 years, 1 month ago (2014-11-21 14:57:02 UTC) #14
mtklein
https://codereview.chromium.org/742253002/diff/40001/src/gpu/GrTextStrike.h File src/gpu/GrTextStrike.h (right): https://codereview.chromium.org/742253002/diff/40001/src/gpu/GrTextStrike.h#newcode65 src/gpu/GrTextStrike.h:65: SkVarAlloc fPool; SkGlyphs look relatively small and relocatable. If ...
6 years, 1 month ago (2014-11-21 15:20:23 UTC) #15
mtklein
https://codereview.chromium.org/742253002/diff/40001/src/gpu/GrTextStrike.h File src/gpu/GrTextStrike.h (right): https://codereview.chromium.org/742253002/diff/40001/src/gpu/GrTextStrike.h#newcode65 src/gpu/GrTextStrike.h:65: SkVarAlloc fPool; On 2014/11/21 15:20:22, mtklein wrote: > SkGlyphs ...
6 years, 1 month ago (2014-11-21 15:21:59 UTC) #16
bsalomon
On 2014/11/21 14:55:38, mtklein wrote: > What's the goal here? Faster, better ram usage, less ...
6 years, 1 month ago (2014-11-21 15:27:08 UTC) #17
jvanverth1
On 2014/11/21 15:21:59, mtklein wrote: > https://codereview.chromium.org/742253002/diff/40001/src/gpu/GrTextStrike.h > File src/gpu/GrTextStrike.h (right): > > https://codereview.chromium.org/742253002/diff/40001/src/gpu/GrTextStrike.h#newcode65 > ...
6 years, 1 month ago (2014-11-21 15:34:06 UTC) #18
mtklein
On 2014/11/21 15:34:06, jvanverth1 wrote: > On 2014/11/21 15:21:59, mtklein wrote: > > https://codereview.chromium.org/742253002/diff/40001/src/gpu/GrTextStrike.h > ...
6 years, 1 month ago (2014-11-21 15:39:05 UTC) #19
mtklein
On 2014/11/21 15:39:05, mtklein wrote: > On 2014/11/21 15:34:06, jvanverth1 wrote: > > On 2014/11/21 ...
6 years, 1 month ago (2014-11-21 15:41:15 UTC) #20
joshualitt
On 2014/11/21 15:41:15, mtklein wrote: > On 2014/11/21 15:39:05, mtklein wrote: > > On 2014/11/21 ...
6 years, 1 month ago (2014-11-21 15:59:41 UTC) #21
jvanverth1
https://codereview.chromium.org/742253002/diff/60001/src/gpu/GrMemoryPool.h File src/gpu/GrMemoryPool.h (right): https://codereview.chromium.org/742253002/diff/60001/src/gpu/GrMemoryPool.h#newcode41 src/gpu/GrMemoryPool.h:41: void releaseAll(); You may want to remove this, as ...
6 years, 1 month ago (2014-11-21 16:11:41 UTC) #22
joshualitt
On 2014/11/21 16:11:41, jvanverth1 wrote: > https://codereview.chromium.org/742253002/diff/60001/src/gpu/GrMemoryPool.h > File src/gpu/GrMemoryPool.h (right): > > https://codereview.chromium.org/742253002/diff/60001/src/gpu/GrMemoryPool.h#newcode41 > ...
6 years, 1 month ago (2014-11-21 16:15:54 UTC) #23
jvanverth1
lgtm
6 years, 1 month ago (2014-11-21 16:37:48 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/742253002/80001
6 years, 1 month ago (2014-11-21 16:52:10 UTC) #28
commit-bot: I haz the power
6 years, 1 month ago (2014-11-21 17:03:51 UTC) #29
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/947556f6583e62b1ae19dcda94e0dea78babda2b

Powered by Google App Engine
This is Rietveld 408576698