DescriptionRefactor vulkan buffer mapping and unmapping
A lot of this is so we don't have duplicated code in both the map/unmap and
updateData functions of GrVkBuffer. Also there were slightly differences in
how we handled various things in the two cases that this now unifies.
Also I added a barrier after the vkUpdateBuffer call which I believe was
missing.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2344323002
Committed: https://skia.googlesource.com/skia/+/927ac9c532084c816801434340383e4bd822c726
Patch Set 1 #Patch Set 2 : additional barrier #Patch Set 3 : Don't reset fMapPtr on static #
Total comments: 2
Patch Set 4 : Dont delete static cpu buffer #
Total comments: 5
Patch Set 5 : remove unneeded barrier #
Total comments: 1
Patch Set 6 : inner->internal #
Messages
Total messages: 13 (4 generated)
|