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

Issue 2018933004: Add offset to memory allocations (Closed)

Created:
4 years, 6 months ago by jvanverth1
Modified:
4 years, 6 months ago
Reviewers:
egdaniel
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add offset to memory allocations This is setting up for suballocations within one large allocation BUG=skia:5031 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2018933004 TBR=bsalomon@google.com Committed: https://skia.googlesource.com/skia/+/1e305ba0d6a4237020d36234e9e286d3b0489401

Patch Set 1 #

Patch Set 2 : Take care of some additional FreeMemorys #

Total comments: 6

Patch Set 3 : Start to encapsulate memory and offset #

Patch Set 4 : Finish encapsulating allocation #

Patch Set 5 : Make GrVkImage consistent with GrVkBuffer #

Patch Set 6 : Fix tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -60 lines) Patch
M include/gpu/vk/GrVkTypes.h View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkBuffer.h View 1 2 3 4 3 chunks +8 lines, -5 lines 0 comments Download
M src/gpu/vk/GrVkBuffer.cpp View 1 2 3 7 chunks +12 lines, -8 lines 1 comment Download
M src/gpu/vk/GrVkGpu.cpp View 1 2 3 4 9 chunks +13 lines, -11 lines 0 comments Download
M src/gpu/vk/GrVkImage.h View 1 2 3 4 4 chunks +11 lines, -8 lines 0 comments Download
M src/gpu/vk/GrVkImage.cpp View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/vk/GrVkMemory.h View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M src/gpu/vk/GrVkMemory.cpp View 1 2 3 1 chunk +26 lines, -10 lines 0 comments Download
M src/gpu/vk/GrVkRenderTarget.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/vk/GrVkStencilAttachment.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/vk/GrVkTexture.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/vk/GrVkTextureRenderTarget.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M tests/VkWrapTests.cpp View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M tools/viewer/Viewer.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M tools/viewer/sk_app/VulkanWindowContext.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (7 generated)
jvanverth1
4 years, 6 months ago (2016-05-27 19:57:51 UTC) #3
egdaniel
https://codereview.chromium.org/2018933004/diff/20001/src/gpu/vk/GrVkBuffer.h File src/gpu/vk/GrVkBuffer.h (right): https://codereview.chromium.org/2018933004/diff/20001/src/gpu/vk/GrVkBuffer.h#newcode61 src/gpu/vk/GrVkBuffer.h:61: VkDeviceMemory fAlloc; I haven't though deeply into this, but ...
4 years, 6 months ago (2016-05-31 13:22:14 UTC) #4
jvanverth1
https://codereview.chromium.org/2018933004/diff/20001/src/gpu/vk/GrVkBuffer.h File src/gpu/vk/GrVkBuffer.h (right): https://codereview.chromium.org/2018933004/diff/20001/src/gpu/vk/GrVkBuffer.h#newcode61 src/gpu/vk/GrVkBuffer.h:61: VkDeviceMemory fAlloc; On 2016/05/31 13:22:14, egdaniel wrote: > I ...
4 years, 6 months ago (2016-05-31 22:05:57 UTC) #5
egdaniel
lgtm https://codereview.chromium.org/2018933004/diff/100001/src/gpu/vk/GrVkBuffer.cpp File src/gpu/vk/GrVkBuffer.cpp (right): https://codereview.chromium.org/2018933004/diff/100001/src/gpu/vk/GrVkBuffer.cpp#newcode146 src/gpu/vk/GrVkBuffer.cpp:146: VK_WHOLE_SIZE, 0, &fMapPtr)); Does whole size here just ...
4 years, 6 months ago (2016-06-01 16:02:47 UTC) #6
jvanverth1
On 2016/06/01 16:02:47, egdaniel wrote: > lgtm > > https://codereview.chromium.org/2018933004/diff/100001/src/gpu/vk/GrVkBuffer.cpp > File src/gpu/vk/GrVkBuffer.cpp (right): > ...
4 years, 6 months ago (2016-06-01 16:09:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2018933004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2018933004/100001
4 years, 6 months ago (2016-06-01 16:16:48 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/10089)
4 years, 6 months ago (2016-06-01 16:18:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2018933004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2018933004/100001
4 years, 6 months ago (2016-06-01 16:29:39 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 16:39:19 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/1e305ba0d6a4237020d36234e9e286d3b0489401

Powered by Google App Engine
This is Rietveld 408576698