Home
last modified time | relevance | path

Searched refs:getOffsetPointer (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/src/Vulkan/
DVkBuffer.cpp89 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()
DVkDescriptorSetLayout.cpp368 …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()
DVkBufferView.cpp39 return buffer->getOffsetPointer(offset); in getPointer()
DVkDeviceMemory.hpp49 void *getOffsetPointer(VkDeviceSize pOffset) const;
DVkBuffer.hpp39 void *getOffsetPointer(VkDeviceSize offset) const;
DVkDeviceMemory.cpp358 *ppData = getOffsetPointer(pOffset); in map()
368 void *DeviceMemory::getOffsetPointer(VkDeviceSize pOffset) const in getOffsetPointer() function in vk::DeviceMemory
DVkImageView.hpp107 …void *getOffsetPointer(const VkOffset3D &offset, VkImageAspectFlagBits aspect, uint32_t mipLevel, …
DVkImage.cpp301 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()
DVkCommandBuffer.cpp208 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()
DVkImageView.cpp348 void *ImageView::getOffsetPointer(const VkOffset3D &offset, VkImageAspectFlagBits aspect, uint32_t … in getOffsetPointer() function in vk::ImageView
/external/swiftshader/src/WSI/
DDirectFBSurfaceEXT.cpp59 desc.preallocated[0].data = image->getImageMemory()->getOffsetPointer(0); in attachImage()
DXlibSurfaceKHR.cpp66 char *buffer = static_cast<char *>(image->getImageMemory()->getOffsetPointer(0)); in attachImage()
DXcbSurfaceKHR.cpp179 auto buffer = reinterpret_cast<uint8_t *>(image->getImageMemory()->getOffsetPointer(0)); in present()
DMetalSurface.mm179 withBytes:image->getImageMemory()->getOffsetPointer(0)
/external/swiftshader/src/Device/
DContext.cpp112 void *indexBuffer = binding.buffer->getOffsetPointer(binding.offset + first * bytesPerIndex()); in getIndexBuffers()
212 attrib.buffer = vertexInput.buffer ? vertexInput.buffer->getOffsetPointer(offset) : nullptr; in bindVertexInputs()
DRenderer.cpp387 …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()
DBlitter.cpp1899 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()