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

Issue 1139753002: Refactor GrBufferAllocPools to use resource cache (Closed)

Created:
5 years, 7 months ago by robertphillips
Modified:
5 years, 6 months ago
Reviewers:
joshualitt, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : Actually use scratch buffers #

Patch Set 4 : Clean up #

Total comments: 2

Patch Set 5 : Revision #

Patch Set 6 : clean up #

Total comments: 10

Patch Set 7 : Address code review issues #

Total comments: 2

Patch Set 8 : Patch up GrNextPow2 #

Patch Set 9 : Patch up SkTMax call #

Patch Set 10 : Update to ToT #

Patch Set 11 : update to ToT (again) #

Patch Set 12 : update to ToT (again) #

Patch Set 13 : Add ability to skip reuse #

Patch Set 14 : update to ToT #

Patch Set 15 : fix merge issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -144 lines) Patch
M include/gpu/GrCaps.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -0 lines 0 comments Download
M include/gpu/GrTextureProvider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrBatchTarget.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +8 lines, -8 lines 0 comments Download
M src/gpu/GrBatchTarget.cpp View 1 2 3 4 5 6 2 chunks +4 lines, -15 lines 0 comments Download
M src/gpu/GrBufferAllocPool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +6 lines, -26 lines 0 comments Download
M src/gpu/GrBufferAllocPool.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 13 chunks +35 lines, -89 lines 0 comments Download
M src/gpu/GrCaps.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +10 lines, -2 lines 0 comments Download
M src/gpu/GrIndexBuffer.h View 1 2 3 4 5 2 chunks +16 lines, -1 line 0 comments Download
M src/gpu/GrResourceProvider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M src/gpu/GrResourceProvider.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +56 lines, -1 line 0 comments Download
M src/gpu/GrVertexBuffer.h View 1 2 3 4 5 1 chunk +16 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (19 generated)
robertphillips
5 years, 7 months ago (2015-05-13 14:15:35 UTC) #2
bsalomon
https://codereview.chromium.org/1139753002/diff/60001/src/gpu/GrResourceProvider.h File src/gpu/GrResourceProvider.h (right): https://codereview.chromium.org/1139753002/diff/60001/src/gpu/GrResourceProvider.h#newcode74 src/gpu/GrResourceProvider.h:74: GrIndexBuffer* refScratchIndexBuffer(size_t size, bool dynamic, Do we need a ...
5 years, 7 months ago (2015-05-13 14:41:36 UTC) #3
robertphillips
https://codereview.chromium.org/1139753002/diff/60001/src/gpu/GrResourceProvider.h File src/gpu/GrResourceProvider.h (right): https://codereview.chromium.org/1139753002/diff/60001/src/gpu/GrResourceProvider.h#newcode74 src/gpu/GrResourceProvider.h:74: GrIndexBuffer* refScratchIndexBuffer(size_t size, bool dynamic, Well - the static, ...
5 years, 7 months ago (2015-05-13 14:44:55 UTC) #4
bsalomon
On 2015/05/13 14:44:55, robertphillips wrote: > https://codereview.chromium.org/1139753002/diff/60001/src/gpu/GrResourceProvider.h > File src/gpu/GrResourceProvider.h (right): > > https://codereview.chromium.org/1139753002/diff/60001/src/gpu/GrResourceProvider.h#newcode74 > ...
5 years, 7 months ago (2015-05-13 15:00:08 UTC) #5
robertphillips
PTAL
5 years, 7 months ago (2015-05-13 16:06:05 UTC) #6
bsalomon
https://codereview.chromium.org/1139753002/diff/100001/include/gpu/GrTextureProvider.h File include/gpu/GrTextureProvider.h (right): https://codereview.chromium.org/1139753002/diff/100001/include/gpu/GrTextureProvider.h#newcode163 include/gpu/GrTextureProvider.h:163: bool isAbandoned() const { protected? https://codereview.chromium.org/1139753002/diff/100001/src/gpu/GrBatchTarget.cpp File src/gpu/GrBatchTarget.cpp (right): ...
5 years, 7 months ago (2015-05-13 16:24:07 UTC) #7
bsalomon
https://codereview.chromium.org/1139753002/diff/100001/include/gpu/GrTextureProvider.h File include/gpu/GrTextureProvider.h (right): https://codereview.chromium.org/1139753002/diff/100001/include/gpu/GrTextureProvider.h#newcode163 include/gpu/GrTextureProvider.h:163: bool isAbandoned() const { protected? https://codereview.chromium.org/1139753002/diff/100001/src/gpu/GrBatchTarget.cpp File src/gpu/GrBatchTarget.cpp (right): ...
5 years, 7 months ago (2015-05-13 16:24:07 UTC) #8
robertphillips
https://codereview.chromium.org/1139753002/diff/100001/include/gpu/GrTextureProvider.h File include/gpu/GrTextureProvider.h (right): https://codereview.chromium.org/1139753002/diff/100001/include/gpu/GrTextureProvider.h#newcode163 include/gpu/GrTextureProvider.h:163: bool isAbandoned() const { On 2015/05/13 16:24:07, bsalomon wrote: ...
5 years, 7 months ago (2015-05-13 16:56:15 UTC) #9
bsalomon
lgtm https://codereview.chromium.org/1139753002/diff/120001/src/gpu/GrBufferAllocPool.h File src/gpu/GrBufferAllocPool.h (right): https://codereview.chromium.org/1139753002/diff/120001/src/gpu/GrBufferAllocPool.h#newcode72 src/gpu/GrBufferAllocPool.h:72: virtual ~GrBufferAllocPool(); override?
5 years, 7 months ago (2015-05-13 17:32:50 UTC) #10
robertphillips
https://codereview.chromium.org/1139753002/diff/120001/src/gpu/GrBufferAllocPool.h File src/gpu/GrBufferAllocPool.h (right): https://codereview.chromium.org/1139753002/diff/120001/src/gpu/GrBufferAllocPool.h#newcode72 src/gpu/GrBufferAllocPool.h:72: virtual ~GrBufferAllocPool(); On 2015/05/13 17:32:49, bsalomon wrote: > override? ...
5 years, 7 months ago (2015-05-13 17:39:18 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139753002/120001
5 years, 7 months ago (2015-05-13 17:39:44 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/1048)
5 years, 7 months ago (2015-05-13 17:41:13 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139753002/140001
5 years, 7 months ago (2015-05-13 17:44:50 UTC) #18
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/1036)
5 years, 7 months ago (2015-05-13 17:46:02 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/1139753002/160001
5 years, 7 months ago (2015-05-13 17:48:07 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-13 17:54:16 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139753002/160001
5 years, 7 months ago (2015-05-13 17:55:11 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://skia.googlesource.com/skia/+/c5f1c5414fc8f73cbefadcc1b24ec794056fa203
5 years, 7 months ago (2015-05-13 17:55:40 UTC) #28
robertphillips
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/1129863008/ by robertphillips@google.com. ...
5 years, 7 months ago (2015-05-14 12:24: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/1139753002/260001
5 years, 6 months ago (2015-06-23 14:51:14 UTC) #33
commit-bot: I haz the power
Dry run: Exceeded global retry quota
5 years, 6 months ago (2015-06-23 14:52:01 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139753002/280001
5 years, 6 months ago (2015-06-23 14:55:11 UTC) #38
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-23 15:00:50 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139753002/280001
5 years, 6 months ago (2015-06-23 15:22:20 UTC) #42
commit-bot: I haz the power
Committed patchset #15 (id:280001) as https://skia.googlesource.com/skia/+/e935f1a0e2351373c33600b8388492ce1218014a
5 years, 6 months ago (2015-06-23 15:23:12 UTC) #43
robertphillips
A revert of this CL (patchset #15 id:280001) has been created in https://codereview.chromium.org/1204773003/ by robertphillips@google.com. ...
5 years, 6 months ago (2015-06-23 19:35:44 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139753002/280001
5 years, 6 months ago (2015-06-24 13:53:19 UTC) #46
commit-bot: I haz the power
5 years, 6 months ago (2015-06-24 13:54:16 UTC) #47
Message was sent while issue was closed.
Committed patchset #15 (id:280001) as
https://skia.googlesource.com/skia/+/1b8e1b5c499e31a671232c8ccb10e778e0d8b154

Powered by Google App Engine
This is Rietveld 408576698