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

Issue 2356343003: Some Vulkan memory fixes and cleanup (Closed)

Created:
4 years, 3 months ago by jvanverth1
Modified:
4 years, 2 months ago
Reviewers:
Brian Osman, egdaniel
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Some Vulkan memory fixes and cleanup * Switch back to not setting transfer_dst on all buffers * Add some missing unit tests * Add tracking of heap usage for debugging purposes * Fall back to non-device-local memory if device-local allocation fails BUG=skia:5031 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2356343003 Committed: https://skia.googlesource.com/skia/+/c5850e9fdb62cc4ae5ed2b6af51aea92cac07455 Committed: https://skia.googlesource.com/skia/+/68c3d30702c8af5ae249c78b30a9ea2351f875ed

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix heap index #

Patch Set 3 : Fix release build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -48 lines) Patch
M src/gpu/vk/GrVkBuffer.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkMemory.h View 1 2 3 chunks +15 lines, -9 lines 0 comments Download
M src/gpu/vk/GrVkMemory.cpp View 1 2 15 chunks +61 lines, -19 lines 0 comments Download
M tests/VkHeapTests.cpp View 4 chunks +45 lines, -19 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
jvanverth1
4 years, 3 months ago (2016-09-21 20:13:13 UTC) #3
egdaniel
https://codereview.chromium.org/2356343003/diff/1/src/gpu/vk/GrVkMemory.cpp File src/gpu/vk/GrVkMemory.cpp (right): https://codereview.chromium.org/2356343003/diff/1/src/gpu/vk/GrVkMemory.cpp#newcode99 src/gpu/vk/GrVkMemory.cpp:99: !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { do we need ...
4 years, 2 months ago (2016-09-22 13:25:46 UTC) #4
jvanverth1
https://codereview.chromium.org/2356343003/diff/1/src/gpu/vk/GrVkMemory.cpp File src/gpu/vk/GrVkMemory.cpp (right): https://codereview.chromium.org/2356343003/diff/1/src/gpu/vk/GrVkMemory.cpp#newcode99 src/gpu/vk/GrVkMemory.cpp:99: !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { On 2016/09/22 13:25:46, ...
4 years, 2 months ago (2016-09-22 14:14:51 UTC) #5
egdaniel
lgtm
4 years, 2 months ago (2016-09-22 17:48:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2356343003/20001
4 years, 2 months ago (2016-09-22 17:56:44 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/c5850e9fdb62cc4ae5ed2b6af51aea92cac07455
4 years, 2 months ago (2016-09-22 19:47:38 UTC) #10
jvanverth1
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2358123004/ by jvanverth@google.com. ...
4 years, 2 months ago (2016-09-22 20:45:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2356343003/40001
4 years, 2 months ago (2016-09-23 17:14:29 UTC) #15
commit-bot: I haz the power
4 years, 2 months ago (2016-09-23 17:30:06 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/68c3d30702c8af5ae249c78b30a9ea2351f875ed

Powered by Google App Engine
This is Rietveld 408576698