commit | 927ac9c532084c816801434340383e4bd822c726 | [log] [tgz] |
---|---|---|
author | egdaniel <egdaniel@google.com> | Mon Sep 19 09:32:09 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Sep 19 09:32:09 2016 -0700 |
tree | 18a4a54190489672c4ee781b0aa507ac3c56af60 | |
parent | 56b7dc476ba5e4a53ab24b5830b5ed03e404006d [diff] |
Refactor 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 Review-Url: https://codereview.chromium.org/2344323002