aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/BlitRowTest.cpp
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2016-03-22 13:15:44 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-22 13:15:44 -0700
commitfe170d28d722f29ada5f1e2c6069e7d24e6a4b84 (patch)
tree4b52f1a61767c629ce0a69ddfd17cbe3f23607f2 /tests/BlitRowTest.cpp
parentbee39c5fbe22704825a2462552f81c0630735ff3 (diff)
Fix borrowed GrVkImage::Resource.
With the current system, if we wrap a given GrVkTextureInfo*, add a command using it to the command buffer, then delete the texture, the command buffer will unref the GrVkImage::Resource when it's done, which will delete the VkImage and VkDeviceMemory. This subclasses GrVkImage::Resource for those cases, and will not delete the data on an unref. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1824123002 Review URL: https://codereview.chromium.org/1824123002
Diffstat (limited to 'tests/BlitRowTest.cpp')
0 files changed, 0 insertions, 0 deletions