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

Issue 2072763002: Check for some potential subheap allocation failures. (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

Check for some potential subheap allocation failures. Need to make sure we can allocate areas larger than our specified subheap sizes, and deal with potential fragmentation in the main system heap. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2072763002 Committed: https://skia.googlesource.com/skia/+/6dc3af4499893045f7b187d5d85bc785b6e44baa

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add some asserts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -1 line) Patch
M src/gpu/vk/GrVkMemory.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/vk/GrVkMemory.cpp View 1 4 chunks +39 lines, -1 line 0 comments Download
M tests/VkHeapTests.cpp View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
jvanverth1
4 years, 6 months ago (2016-06-16 16:59:33 UTC) #3
egdaniel
https://codereview.chromium.org/2072763002/diff/1/src/gpu/vk/GrVkMemory.cpp File src/gpu/vk/GrVkMemory.cpp (right): https://codereview.chromium.org/2072763002/diff/1/src/gpu/vk/GrVkMemory.cpp#newcode547 src/gpu/vk/GrVkMemory.cpp:547: if (0 == alloc.fSize) { How does this affect ...
4 years, 6 months ago (2016-06-16 18:55:23 UTC) #4
jvanverth1
https://codereview.chromium.org/2072763002/diff/1/src/gpu/vk/GrVkMemory.cpp File src/gpu/vk/GrVkMemory.cpp (right): https://codereview.chromium.org/2072763002/diff/1/src/gpu/vk/GrVkMemory.cpp#newcode547 src/gpu/vk/GrVkMemory.cpp:547: if (0 == alloc.fSize) { On 2016/06/16 18:55:23, egdaniel ...
4 years, 6 months ago (2016-06-16 20:26:53 UTC) #5
egdaniel
lgtm
4 years, 6 months ago (2016-06-16 20:36:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072763002/20001
4 years, 6 months ago (2016-06-16 20:37:01 UTC) #8
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 21:05:17 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/6dc3af4499893045f7b187d5d85bc785b6e44baa

Powered by Google App Engine
This is Rietveld 408576698