Home
last modified time | relevance | path

Searched refs:bufferIsSource (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp548 void Image::copy(Buffer *buffer, const VkBufferImageCopy2KHR &region, bool bufferIsSource) in copy() argument
582 uint8_t *srcMemory = bufferIsSource ? bufferMemory : imageMemory; in copy()
583 uint8_t *dstMemory = bufferIsSource ? imageMemory : bufferMemory; in copy()
587 int srcSlicePitchBytes = bufferIsSource ? bufferSlicePitchBytes : imageSlicePitchBytes; in copy()
588 int dstSlicePitchBytes = bufferIsSource ? imageSlicePitchBytes : bufferSlicePitchBytes; in copy()
589 int srcRowPitchBytes = bufferIsSource ? bufferRowPitchBytes : imageRowPitchBytes; in copy()
590 int dstRowPitchBytes = bufferIsSource ? imageRowPitchBytes : bufferRowPitchBytes; in copy()
623 VkDeviceSize srcLayerSize = bufferIsSource ? bufferSlicePitchBytes : imageLayerSize; in copy()
624 VkDeviceSize dstLayerSize = bufferIsSource ? imageLayerSize : bufferSlicePitchBytes; in copy()
630 ASSERT(((bufferIsSource ? dstMemory : srcMemory) + copySize) < end()); in copy()
[all …]
DVkImage.hpp122 void copy(Buffer *buffer, const VkBufferImageCopy2KHR &region, bool bufferIsSource);