DescriptionFix 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
Committed: https://skia.googlesource.com/skia/+/fe170d28d722f29ada5f1e2c6069e7d24e6a4b84
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|