Home
last modified time | relevance | path

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

/external/swiftshader/src/Vulkan/
DVkImage.cpp406 void Image::copy(Buffer *buffer, const VkBufferImageCopy &region, bool bufferIsSource) in copy() argument
433 uint8_t *srcMemory = bufferIsSource ? bufferMemory : imageMemory; in copy()
434 uint8_t *dstMemory = bufferIsSource ? imageMemory : bufferMemory; in copy()
438 int srcSlicePitchBytes = bufferIsSource ? bufferSlicePitchBytes : imageSlicePitchBytes; in copy()
439 int dstSlicePitchBytes = bufferIsSource ? imageSlicePitchBytes : bufferSlicePitchBytes; in copy()
440 int srcRowPitchBytes = bufferIsSource ? bufferRowPitchBytes : imageRowPitchBytes; in copy()
441 int dstRowPitchBytes = bufferIsSource ? imageRowPitchBytes : bufferRowPitchBytes; in copy()
480 VkDeviceSize srcLayerSize = bufferIsSource ? bufferLayerSize : imageLayerSize; in copy()
481 VkDeviceSize dstLayerSize = bufferIsSource ? imageLayerSize : bufferLayerSize; in copy()
487 ASSERT(((bufferIsSource ? dstMemory : srcMemory) + copySize) < end()); in copy()
[all …]
DVkImage.hpp100 void copy(Buffer *buffer, const VkBufferImageCopy &region, bool bufferIsSource);