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

Issue 2029763002: Create free list heap for suballocation (Closed)

Created:
4 years, 6 months ago by jvanverth1
Modified:
4 years, 6 months ago
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 : Freelist mostly working #

Patch Set 3 : Subheaps kind of working #

Patch Set 4 : Add heaps to GrVkGpu #

Patch Set 5 : Tuning allocations and strategy #

Patch Set 6 : Add faster method for updating largest block; some cleanup #

Patch Set 7 : Clean up whitespace #

Total comments: 16

Patch Set 8 : Address comments; clean up debug code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+554 lines, -98 lines) Patch
M include/gpu/vk/GrVkTypes.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/vk/GrVkBuffer.h View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M src/gpu/vk/GrVkBuffer.cpp View 1 2 3 2 chunks +5 lines, -19 lines 0 comments Download
M src/gpu/vk/GrVkGpu.h View 1 2 3 4 5 6 7 3 chunks +24 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkGpu.cpp View 1 2 3 4 5 6 7 5 chunks +15 lines, -11 lines 0 comments Download
M src/gpu/vk/GrVkImage.h View 1 2 3 4 5 6 5 chunks +8 lines, -8 lines 0 comments Download
M src/gpu/vk/GrVkImage.cpp View 1 2 3 4 chunks +10 lines, -8 lines 0 comments Download
M src/gpu/vk/GrVkMemory.h View 1 2 3 4 5 6 7 2 chunks +87 lines, -5 lines 0 comments Download
M src/gpu/vk/GrVkMemory.cpp View 1 2 3 4 5 6 7 4 chunks +397 lines, -41 lines 0 comments Download
M src/gpu/vk/GrVkTexture.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/viewer/sk_app/VulkanWindowContext.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
jvanverth1
I may do some tweaking tomorrow, but I think this is pretty much done. PTAL.
4 years, 6 months ago (2016-06-09 20:16:07 UTC) #3
bsalomon
Do you think having some unit tests for the block list stuff would be helpful? ...
4 years, 6 months ago (2016-06-10 15:14:53 UTC) #4
jvanverth1
On 2016/06/10 15:14:53, bsalomon wrote: > Do you think having some unit tests for the ...
4 years, 6 months ago (2016-06-10 15:41:21 UTC) #5
jvanverth1
https://codereview.chromium.org/2029763002/diff/120001/src/gpu/vk/GrVkGpu.h File src/gpu/vk/GrVkGpu.h (right): https://codereview.chromium.org/2029763002/diff/120001/src/gpu/vk/GrVkGpu.h#newcode131 src/gpu/vk/GrVkGpu.h:131: kVertexBuffer_Heap, On 2016/06/10 15:41:20, jvanverth1 wrote: > On 2016/06/10 ...
4 years, 6 months ago (2016-06-10 18:31:55 UTC) #6
jvanverth1
Adding brianosman@ for comments.
4 years, 6 months ago (2016-06-10 18:39:29 UTC) #8
egdaniel
https://codereview.chromium.org/2029763002/diff/120001/src/gpu/vk/GrVkMemory.cpp File src/gpu/vk/GrVkMemory.cpp (right): https://codereview.chromium.org/2029763002/diff/120001/src/gpu/vk/GrVkMemory.cpp#newcode242 src/gpu/vk/GrVkMemory.cpp:242: &allocInfo, align these will allocate memory? https://codereview.chromium.org/2029763002/diff/120001/src/gpu/vk/GrVkMemory.cpp#newcode287 src/gpu/vk/GrVkMemory.cpp:287: if ...
4 years, 6 months ago (2016-06-13 16:44:44 UTC) #9
jvanverth1
Comments addressed. Given the deadline, I'd prefer to defer the unit tests. https://codereview.chromium.org/2029763002/diff/120001/src/gpu/vk/GrVkGpu.h File src/gpu/vk/GrVkGpu.h ...
4 years, 6 months ago (2016-06-13 19:59:23 UTC) #10
bsalomon
lgtm
4 years, 6 months ago (2016-06-13 20:04:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029763002/140001
4 years, 6 months ago (2016-06-13 21:02:12 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://skia.googlesource.com/skia/+/6b6ffc4ab6ecee9f46425a5467ef0fbebbb8c9cd
4 years, 6 months ago (2016-06-13 21:28:12 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-13 21:28:15 UTC) #16
Message was sent while issue was closed.
CQ bit was unchecked

Powered by Google App Engine
This is Rietveld 408576698