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

Issue 2128673002: Pull out freelist allocation from GrVkSubHeap (Closed)

Created:
4 years, 5 months ago by jvanverth1
Modified:
4 years, 5 months ago
Reviewers:
egdaniel, 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 : Clean up and fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -79 lines) Patch
M src/gpu/vk/GrVkMemory.h View 2 chunks +46 lines, -13 lines 0 comments Download
M src/gpu/vk/GrVkMemory.cpp View 1 5 chunks +56 lines, -66 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
jvanverth1
This is a stepping stone to suballocating buffers (I'll be subclassing GrVkFreeListAlloc).
4 years, 5 months ago (2016-07-06 20:22:34 UTC) #3
bsalomon
lgtm
4 years, 5 months ago (2016-07-07 13:29:01 UTC) #4
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/2128673002/20001
4 years, 5 months ago (2016-07-07 13:59:03 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/82356cc41f360c607a1612cb9aead2423c0846a0
4 years, 5 months ago (2016-07-07 14:16:45 UTC) #8
rmistry
4 years, 5 months ago (2016-07-07 14:34:18 UTC) #9
Message was sent while issue was closed.
On 2016/07/07 14:16:45, commit-bot: I haz the power wrote:
> Committed patchset #2 (id:20001) as
> https://skia.googlesource.com/skia/+/82356cc41f360c607a1612cb9aead2423c0846a0

Looks like this called the vulcan compile bot to fail:


FAILED: /usr/bin/ccache
/b/work/skia/platform_tools/android/bin/../toolchains/arm-r11c-24/bin/arm-linux-androideabi-g++
-MMD -MF obj/src/gpu/vk/skgpu.GrVkMemory.o.d -DSK_INTERNAL
-DSK_GAMMA_APPLY_TO_A8 -DQT_NO_KEYWORDS -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0
-DSK_SUPPORT_GPU=1 -DSK_FORCE_DISTANCE_FIELD_TEXT=0 -DSK_HAS_GIF_LIBRARY
-DSK_HAS_JPEG_LIBRARY -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_TEST_QCMS
-DSK_VULKAN -DSK_IS_BOT -DSK_CODEC_DECODES_RAW -DSK_ARM_HAS_NEON
-DSK_BUILD_FOR_ANDROID -DSK_GAMMA_EXPONENT=1.4 -DSK_GAMMA_CONTRAST=0.0
-DSKIA_DLL -DSKIA_IMPLEMENTATION=1 -DSK_SUPPORT_LEGACY_CLIPTOLAYERFLAG
-DGR_CHROME_UTILS=1 -DGR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE=1 -DSK_DEBUG=1
-I../../../include/gpu -I../../../include/private -I../../../src/core
-I../../../src/gpu -I../../../src/image -I../../../src/sksl -I../../../include/c
-I../../../include/config -I../../../include/core -I../../../include/pathops
-I../../../include/utils -I../../../src/utils -I../../../third_party/etc1
-I../../../third_party/ktx
-I../../../third_party/externals/shaderc2/libshaderc/include -fPIC -g
-fno-exceptions -fstrict-aliasing -Wall -Wextra -Winit-self -Wpointer-arith
-Wsign-compare -Wvla -Wno-unused-parameter -Werror -march=armv7-a -mthumb
-mfpu=neon -mfloat-abi=softfp -fuse-ld=gold -std=c++11 -fno-rtti
-fno-threadsafe-statics -Wnon-virtual-dtor  -c
../../../src/gpu/vk/GrVkMemory.cpp -o obj/src/gpu/vk/skgpu.GrVkMemory.o
../../../src/gpu/vk/GrVkMemory.cpp: In member function 'bool
GrVkFreeListAlloc::alloc(VkDeviceSize, VkDeviceSize*, VkDeviceSize*)':
../../../src/gpu/vk/GrVkMemory.cpp:323:26: error: ordered comparison of pointer
with integer zero [-Werror=extra]
         SkASSERT(allocSize > 0);
                          ^
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
step returned non-zero exit code: 1
@@@STEP_FAILURE@@@



Complete build is here:
https://uberchromegw.corp.google.com/i/client.skia.compile/builders/Build-Ubu...

Powered by Google App Engine
This is Rietveld 408576698