/external/swiftshader/src/Vulkan/ |
D | VkBuffer.cpp | 89 memory = pDeviceMemory->getOffsetPointer(pMemoryOffset); in bind() 96 memcpy(getOffsetPointer(pOffset), srcMemory, pSize); in copyFrom() 103 memcpy(dstMemory, getOffsetPointer(pOffset), pSize); in copyTo() 108 copyTo(dstBuffer->getOffsetPointer(pRegion.dstOffset), pRegion.size, pRegion.srcOffset); in copyTo() 117 uint32_t *memToWrite = static_cast<uint32_t *>(getOffsetPointer(dstOffset)); in fill() 131 memcpy(getOffsetPointer(dstOffset), pData, dataSize); in update() 134 void *Buffer::getOffsetPointer(VkDeviceSize offset) const in getOffsetPointer() function in vk::Buffer 141 return reinterpret_cast<uint8_t *>(getOffsetPointer(size + 1)); in end()
|
D | VkDescriptorSetLayout.cpp | 368 …texture->mipmap[0].buffer = imageView->getOffsetPointer(offset, VK_IMAGE_ASPECT_PLANE_0_BIT, level… in WriteDescriptorSet() 369 …texture->mipmap[1].buffer = imageView->getOffsetPointer(offset, VK_IMAGE_ASPECT_PLANE_1_BIT, level… in WriteDescriptorSet() 372 …texture->mipmap[2].buffer = imageView->getOffsetPointer(offset, VK_IMAGE_ASPECT_PLANE_2_BIT, level… in WriteDescriptorSet() 406 mipmap.buffer = imageView->getOffsetPointer(offset, aspect, level, 0, ImageView::SAMPLING); in WriteDescriptorSet() 411 mipmap.buffer = imageView->getOffsetPointer(offset, aspect, level, 0, ImageView::SAMPLING); in WriteDescriptorSet() 442 storageImage[i].ptr = imageView->getOffsetPointer({ 0, 0, 0 }, VK_IMAGE_ASPECT_COLOR_BIT, 0, 0); in WriteDescriptorSet() 457 …storageImage[i].stencilPtr = imageView->getOffsetPointer({ 0, 0, 0 }, VK_IMAGE_ASPECT_STENCIL_BIT,… in WriteDescriptorSet() 494 bufferDescriptor[i].ptr = buffer->getOffsetPointer(update->offset); in WriteDescriptorSet()
|
D | VkBufferView.cpp | 39 return buffer->getOffsetPointer(offset); in getPointer()
|
D | VkDeviceMemory.hpp | 49 void *getOffsetPointer(VkDeviceSize pOffset) const;
|
D | VkBuffer.hpp | 39 void *getOffsetPointer(VkDeviceSize offset) const;
|
D | VkDeviceMemory.cpp | 358 *ppData = getOffsetPointer(pOffset); in map() 368 void *DeviceMemory::getOffsetPointer(VkDeviceSize pOffset) const in getOffsetPointer() function in vk::DeviceMemory
|
D | VkImageView.hpp | 107 …void *getOffsetPointer(const VkOffset3D &offset, VkImageAspectFlagBits aspect, uint32_t mipLevel, …
|
D | VkImage.cpp | 301 uint8_t *srcBuffer = static_cast<uint8_t *>(deviceMemory->getOffsetPointer(0)); in prepareForExternalUseANDROID() 550 uint8_t *bufferMemory = static_cast<uint8_t *>(buffer->getOffsetPointer(region.bufferOffset)); in copy() 662 return deviceMemory->getOffsetPointer(texelOffsetBytesInStorage(offset, subresource) + in getTexelPointer() 839 …return reinterpret_cast<uint8_t *>(deviceMemory->getOffsetPointer(deviceMemory->getCommittedMemory… in end()
|
D | VkCommandBuffer.cpp | 208 auto cmd = reinterpret_cast<VkDispatchIndirectCommand const *>(buffer->getOffsetPointer(offset)); in play() 582 …auto cmd = reinterpret_cast<VkDrawIndirectCommand const *>(buffer->getOffsetPointer(offset + drawI… in play() 611 …auto cmd = reinterpret_cast<VkDrawIndexedIndirectCommand const *>(buffer->getOffsetPointer(offset … in play() 1171 dstBuffer->getOffsetPointer(dstOffset), stride, flags); in play()
|
D | VkImageView.cpp | 348 void *ImageView::getOffsetPointer(const VkOffset3D &offset, VkImageAspectFlagBits aspect, uint32_t … in getOffsetPointer() function in vk::ImageView
|
/external/swiftshader/src/WSI/ |
D | DirectFBSurfaceEXT.cpp | 59 desc.preallocated[0].data = image->getImageMemory()->getOffsetPointer(0); in attachImage()
|
D | XlibSurfaceKHR.cpp | 66 char *buffer = static_cast<char *>(image->getImageMemory()->getOffsetPointer(0)); in attachImage()
|
D | XcbSurfaceKHR.cpp | 179 auto buffer = reinterpret_cast<uint8_t *>(image->getImageMemory()->getOffsetPointer(0)); in present()
|
D | MetalSurface.mm | 179 withBytes:image->getImageMemory()->getOffsetPointer(0)
|
/external/swiftshader/src/Device/ |
D | Context.cpp | 112 void *indexBuffer = binding.buffer->getOffsetPointer(binding.offset + first * bytesPerIndex()); in getIndexBuffers() 212 attrib.buffer = vertexInput.buffer ? vertexInput.buffer->getOffsetPointer(offset) : nullptr; in bindVertexInputs()
|
D | Renderer.cpp | 387 …data->colorBuffer[index] = (unsigned int *)attachments.renderTarget[index]->getOffsetPointer({ 0, … in draw() 398 …data->depthBuffer = (float *)attachments.depthBuffer->getOffsetPointer({ 0, 0, 0 }, VK_IMAGE_ASPEC… in draw() 405 …data->stencilBuffer = (unsigned char *)attachments.stencilBuffer->getOffsetPointer({ 0, 0, 0 }, VK… in draw()
|
D | Blitter.cpp | 1899 uint8_t *source = (uint8_t *)src->getOffsetPointer({ 0, 0, 0 }, VK_IMAGE_ASPECT_DEPTH_BIT, 0, 0); in resolveDepth() 1900 uint8_t *dest = (uint8_t *)dst->getOffsetPointer({ 0, 0, 0 }, VK_IMAGE_ASPECT_DEPTH_BIT, 0, 0); in resolveDepth() 1930 …uint8_t *source = reinterpret_cast<uint8_t *>(src->getOffsetPointer({ 0, 0, 0 }, VK_IMAGE_ASPECT_S… in resolveStencil() 1931 …uint8_t *dest = reinterpret_cast<uint8_t *>(dst->getOffsetPointer({ 0, 0, 0 }, VK_IMAGE_ASPECT_STE… in resolveStencil()
|