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

Issue 2338963004: Use STDArray to for tracked resources in vulkan command buffer (Closed)

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

Description

Use STDArray to for tracked resources in vulkan command buffer This is a minor speed improvement to help with the number of times we are freeing and re-allocating the tracked resource arrays BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2338963004 Committed: https://skia.googlesource.com/skia/+/594739c7924f46e1632d2f97a9b0822082b1169d

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 4

Patch Set 3 : review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -11 lines) Patch
M src/gpu/vk/GrVkCommandBuffer.h View 1 2 2 chunks +17 lines, -8 lines 0 comments Download
M src/gpu/vk/GrVkCommandBuffer.cpp View 1 2 1 chunk +12 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
egdaniel
4 years, 3 months ago (2016-09-14 17:59:30 UTC) #3
egdaniel
https://codereview.chromium.org/2338963004/diff/20001/src/gpu/vk/GrVkCommandBuffer.h File src/gpu/vk/GrVkCommandBuffer.h (right): https://codereview.chromium.org/2338963004/diff/20001/src/gpu/vk/GrVkCommandBuffer.h#newcode175 src/gpu/vk/GrVkCommandBuffer.h:175: static const int kMaxNumberofRewindResets = 8; also if anyone ...
4 years, 3 months ago (2016-09-14 18:02:55 UTC) #4
egdaniel
On 2016/09/14 18:02:55, egdaniel wrote: > https://codereview.chromium.org/2338963004/diff/20001/src/gpu/vk/GrVkCommandBuffer.h > File src/gpu/vk/GrVkCommandBuffer.h (right): > > https://codereview.chromium.org/2338963004/diff/20001/src/gpu/vk/GrVkCommandBuffer.h#newcode175 > ...
4 years, 3 months ago (2016-09-19 17:20:57 UTC) #5
Brian Osman
Hmm. If this is/was a performance problem, doesn't this strategy just make it less frequent? ...
4 years, 3 months ago (2016-09-19 18:51:04 UTC) #6
jvanverth1
This is outside of this change, but one thing I've been wondering is how many ...
4 years, 3 months ago (2016-09-19 18:51:04 UTC) #7
egdaniel
https://codereview.chromium.org/2338963004/diff/20001/src/gpu/vk/GrVkCommandBuffer.cpp File src/gpu/vk/GrVkCommandBuffer.cpp (right): https://codereview.chromium.org/2338963004/diff/20001/src/gpu/vk/GrVkCommandBuffer.cpp#newcode77 src/gpu/vk/GrVkCommandBuffer.cpp:77: fTrackedRecycledResources.setReserve(kInitialTrackedResourcesCount); On 2016/09/19 18:51:04, jvanverth1 wrote: > fNumResets = ...
4 years, 3 months ago (2016-09-19 19:52:37 UTC) #8
egdaniel
On 2016/09/19 19:52:37, egdaniel wrote: > https://codereview.chromium.org/2338963004/diff/20001/src/gpu/vk/GrVkCommandBuffer.cpp > File src/gpu/vk/GrVkCommandBuffer.cpp (right): > > https://codereview.chromium.org/2338963004/diff/20001/src/gpu/vk/GrVkCommandBuffer.cpp#newcode77 > ...
4 years, 3 months ago (2016-09-20 14:08:26 UTC) #9
jvanverth1
lgtm
4 years, 3 months ago (2016-09-20 15:42:35 UTC) #10
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/2338963004/40001
4 years, 3 months ago (2016-09-20 17:05:21 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 19:39:27 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/594739c7924f46e1632d2f97a9b0822082b1169d

Powered by Google App Engine
This is Rietveld 408576698