Home
last modified time | relevance | path

Searched refs:imageMemory (Results 1 - 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/WSI/
H A DVkSurfaceKHR.cpp67 imageMemory = Cast(deviceMemory); in allocateAndBindImageMemory()
76 if(imageMemory) in release()
78 vk::destroy(static_cast<VkDeviceMemory>(*imageMemory), nullptr); in release()
79 imageMemory = nullptr; in release()
H A DVkSurfaceKHR.hpp47 DeviceMemory *getImageMemory() const { return imageMemory; } in getImageMemory()
54 DeviceMemory *imageMemory = nullptr; member in vk::PresentImage
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DImage.cpp40 imageMemory = device.allocateMemory(allocateInfo); in Image()
42 device.bindImageMemory(image, imageMemory, 0); in Image()
60 device.freeMemory(imageMemory); in ~Image()
H A DImage.hpp40 vk::DeviceMemory imageMemory; // Owning handle member in Image
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiSmokeTests.cpp403 const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleTest()
405 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleTest()
664 const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleUnusedResolveAttachmentTest()
666 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleUnusedResolveAttachmentTest()
H A DvktApiImageClearingTests.cpp805 de::MovePtr<Allocation> imageMemory (allocateImage(m_vki, m_vkd, m_context.getPhysicalDevice(), m_device, image, MemoryRequirement::Any, m_allocator, m_params.allocationKind)); in allocateAndBindImageMemory()
806 VK_CHECK(m_vkd.bindImageMemory(m_device, image, imageMemory->getMemory(), imageMemory->getOffset())); in allocateAndBindImageMemory()
807 return imageMemory; in allocateAndBindImageMemory()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiSmokeTests.cpp403 const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleTest()
405 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleTest()
664 const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any)); in renderTriangleUnusedResolveAttachmentTest()
666 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleUnusedResolveAttachmentTest()
H A DvktApiImageClearingTests.cpp729 de::MovePtr<Allocation> imageMemory (allocateImage(m_vki, m_vkd, m_context.getPhysicalDevice(), m_device, image, MemoryRequirement::Any, m_allocator, m_params.allocationKind)); in allocateAndBindImageMemory()
730 VK_CHECK(m_vkd.bindImageMemory(m_device, image, imageMemory->getMemory(), imageMemory->getOffset())); in allocateAndBindImageMemory()
731 return imageMemory; in allocateAndBindImageMemory()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmComputeShaderCase.cpp153 de::MovePtr<Allocation> imageMemory = allocator.allocate(requirements, MemoryRequirement::Any); in createImageAndBindMemory() local
155 VK_CHECK(vkdi.bindImageMemory(device, *image, imageMemory->getMemory(), imageMemory->getOffset())); in createImageAndBindMemory()
156 *outMemory = imageMemory; in createImageAndBindMemory()
H A DvktSpvAsmGraphicsShaderTestUtil.cpp3252 const UniquePtr<Allocation> imageMemory (allocator.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement::Any)); in runAndVerifyDefaultPipeline()
3254 VK_CHECK(vk.bindImageMemory(device, *image, imageMemory->getMemory(), imageMemory->getOffset())); in runAndVerifyDefaultPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmComputeShaderCase.cpp153 de::MovePtr<Allocation> imageMemory = allocator.allocate(requirements, MemoryRequirement::Any); in createImageAndBindMemory() local
155 VK_CHECK(vkdi.bindImageMemory(device, *image, imageMemory->getMemory(), imageMemory->getOffset())); in createImageAndBindMemory()
156 *outMemory = imageMemory; in createImageAndBindMemory()
H A DvktSpvAsmGraphicsShaderTestUtil.cpp3249 const UniquePtr<Allocation> imageMemory (allocator.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement::Any)); in runAndVerifyDefaultPipeline()
3251 VK_CHECK(vk.bindImageMemory(device, *image, imageMemory->getMemory(), imageMemory->getOffset())); in runAndVerifyDefaultPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassTests.cpp786 , imageMemory (imageMemory_) in TestConfig()
809 ImageMemory imageMemory; member
4714 void initializeAttachmentIsLazy (vector<bool>& attachmentIsLazy, const vector<Attachment>& attachments, TestConfig::ImageMemory imageMemory)
4725 if (imageMemory == TestConfig::IMAGEMEMORY_LAZY || (imageMemory & TestConfig::IMAGEMEMORY_LAZY && !lastAttachmentWasLazy))
4731 else if (imageMemory & TestConfig::IMAGEMEMORY_STRICT)
4737 DE_FATAL("Unknown imageMemory");
5211 initializeAttachmentIsLazy(attachmentIsLazy, renderPassInfo.getAttachments(), config.imageMemory);
5699 const TestConfig::ImageMemory imageMemory = rng.choose<TestConfig::ImageMemory>(DE_ARRAY_BEGIN(imageMemories), DE_ARRAY_END(imageMemories));
5717 const VkImageLayout initialLayout = (imageMemory
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassTests.cpp776 , imageMemory (imageMemory_) in TestConfig()
799 ImageMemory imageMemory; member
4700 void initializeAttachmentIsLazy (vector<bool>& attachmentIsLazy, const vector<Attachment>& attachments, TestConfig::ImageMemory imageMemory)
4711 if (imageMemory == TestConfig::IMAGEMEMORY_LAZY || (imageMemory & TestConfig::IMAGEMEMORY_LAZY && !lastAttachmentWasLazy))
4717 else if (imageMemory & TestConfig::IMAGEMEMORY_STRICT)
4723 DE_FATAL("Unknown imageMemory");
5186 initializeAttachmentIsLazy(attachmentIsLazy, renderPassInfo.getAttachments(), config.imageMemory);
5674 const TestConfig::ImageMemory imageMemory = rng.choose<TestConfig::ImageMemory>(DE_ARRAY_BEGIN(imageMemories), DE_ARRAY_END(imageMemories));
5692 const VkImageLayout initialLayout = (imageMemory
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkImage.cpp581 uint8_t *imageMemory = static_cast<uint8_t *>(getTexelPointer(region.imageOffset, ImageSubresource(region.imageSubresource))); in copy() local
582 uint8_t *srcMemory = bufferIsSource ? bufferMemory : imageMemory; in copy()
583 uint8_t *dstMemory = bufferIsSource ? imageMemory : bufferMemory; in copy()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
H A DvktRasterizationProvokingVertexTests.cpp262 de::MovePtr<Allocation> imageMemory; in iterate() local
305 imageMemory = allocator.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement::Any); in iterate()
306 VK_CHECK(vk.bindImageMemory(device, *image, imageMemory->getMemory(), imageMemory->getOffset())); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/
H A DvktRasterizationProvokingVertexTests.cpp255 de::MovePtr<Allocation> imageMemory; in iterate() local
298 imageMemory = allocator.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement::Any); in iterate()
299 VK_CHECK(vk.bindImageMemory(device, *image, imageMemory->getMemory(), imageMemory->getOffset())); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrConversionTests.cpp518 const vector<AllocationSp> imageMemory (allocateAndBindImageMemory(vkd, device, context.getDefaultAllocator(), *image, format, createFlags, memoryRequirement)); in evalShader()
568 fillImageMemory(vkd, device, context.getUniversalQueueFamilyIndex(), *image, imageMemory, imageData, vk::VK_ACCESS_SHADER_READ_BIT, vk::VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in evalShader()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrConversionTests.cpp518 const vector<AllocationSp> imageMemory (allocateAndBindImageMemory(vkd, device, context.getDefaultAllocator(), *image, format, createFlags, memoryRequirement)); in evalShader()
568 fillImageMemory(vkd, device, context.getUniversalQueueFamilyIndex(), *image, imageMemory, imageData, vk::VK_ACCESS_SHADER_READ_BIT, vk::VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in evalShader()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingShaderAccessTests.cpp3671 std::vector<AllocationSp>& imageMemory,
3770 std::vector<AllocationSp>& imageMemory,
3783 imageMemory.push_back(AllocationSp(memory.release()));
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
H A DvktBindingShaderAccessTests.cpp3675 std::vector<AllocationSp>& imageMemory,
3774 std::vector<AllocationSp>& imageMemory,
3787 imageMemory.push_back(AllocationSp(memory.release()));

Completed in 122 milliseconds