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/
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()
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/
DImage.cpp40 imageMemory = device.allocateMemory(allocateInfo); in Image()
42 device.bindImageMemory(image, imageMemory, 0); in Image()
60 device.freeMemory(imageMemory); in ~Image()
DImage.hpp40 vk::DeviceMemory imageMemory; // Owning handle member in Image
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiSmokeTests.cpp403 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleTest() local
405 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleTest()
664 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleUnusedResolveAttachmentTest() local
666 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleUnusedResolveAttachmentTest()
DvktApiImageClearingTests.cpp729 …de::MovePtr<Allocation> imageMemory (allocateImage(m_vki, m_vkd, m_context.getPhysicalDevice(), m_… in allocateAndBindImageMemory() local
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/api/
DvktApiSmokeTests.cpp403 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleTest() local
405 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleTest()
664 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleUnusedResolveAttachmentTest() local
666 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleUnusedResolveAttachmentTest()
DvktApiImageClearingTests.cpp729 …de::MovePtr<Allocation> imageMemory (allocateImage(m_vki, m_vkd, m_context.getPhysicalDevice(), m_… in allocateAndBindImageMemory() local
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/
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()
DvktSpvAsmGraphicsShaderTestUtil.cpp3249 …const UniquePtr<Allocation> imageMemory (allocator.allocate(getImageMemoryRequirements(vk, d… in runAndVerifyDefaultPipeline() local
3251 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/
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()
DvktSpvAsmGraphicsShaderTestUtil.cpp3249 …const UniquePtr<Allocation> imageMemory (allocator.allocate(getImageMemoryRequirements(vk, d… in runAndVerifyDefaultPipeline() local
3251 VK_CHECK(vk.bindImageMemory(device, *image, imageMemory->getMemory(), imageMemory->getOffset())); in runAndVerifyDefaultPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationProvokingVertexTests.cpp255 de::MovePtr<Allocation> imageMemory; in iterate() local
298imageMemory = allocator.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement… in iterate()
299 VK_CHECK(vk.bindImageMemory(device, *image, imageMemory->getMemory(), imageMemory->getOffset())); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/
DvktRasterizationProvokingVertexTests.cpp255 de::MovePtr<Allocation> imageMemory; in iterate() local
298imageMemory = allocator.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement… in iterate()
299 VK_CHECK(vk.bindImageMemory(device, *image, imageMemory->getMemory(), imageMemory->getOffset())); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp776 , imageMemory (imageMemory_) in TestConfig()
799 ImageMemory imageMemory; member
4700 …ool>& attachmentIsLazy, const vector<Attachment>& attachments, TestConfig::ImageMemory imageMemory) in initializeAttachmentIsLazy() argument
4711 …if (imageMemory == TestConfig::IMAGEMEMORY_LAZY || (imageMemory & TestConfig::IMAGEMEMORY_LAZY && … in initializeAttachmentIsLazy()
4717 else if (imageMemory & TestConfig::IMAGEMEMORY_STRICT) in initializeAttachmentIsLazy()
5186 initializeAttachmentIsLazy(attachmentIsLazy, renderPassInfo.getAttachments(), config.imageMemory); in renderPassTest()
5674 …const TestConfig::ImageMemory imageMemory = rng.choose<TestConfig::ImageMemory>(DE_ARRAY_BEGIN(i… in addAttachmentTests() local
5692 const VkImageLayout initialLayout = (imageMemory == TestConfig::IMAGEMEMORY_STRICT) in addAttachmentTests()
5695 VkImageLayout finalizeLayout = (imageMemory == TestConfig::IMAGEMEMORY_STRICT) in addAttachmentTests()
5725 const VkImageLayout initialLayout = (imageMemory == TestConfig::IMAGEMEMORY_STRICT) in addAttachmentTests()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassTests.cpp776 , imageMemory (imageMemory_) in TestConfig()
799 ImageMemory imageMemory; member
4700 …ool>& attachmentIsLazy, const vector<Attachment>& attachments, TestConfig::ImageMemory imageMemory) in initializeAttachmentIsLazy() argument
4711 …if (imageMemory == TestConfig::IMAGEMEMORY_LAZY || (imageMemory & TestConfig::IMAGEMEMORY_LAZY && … in initializeAttachmentIsLazy()
4717 else if (imageMemory & TestConfig::IMAGEMEMORY_STRICT) in initializeAttachmentIsLazy()
5186 initializeAttachmentIsLazy(attachmentIsLazy, renderPassInfo.getAttachments(), config.imageMemory); in renderPassTest()
5674 …const TestConfig::ImageMemory imageMemory = rng.choose<TestConfig::ImageMemory>(DE_ARRAY_BEGIN(i… in addAttachmentTests() local
5692 const VkImageLayout initialLayout = (imageMemory == TestConfig::IMAGEMEMORY_STRICT) in addAttachmentTests()
5695 VkImageLayout finalizeLayout = (imageMemory == TestConfig::IMAGEMEMORY_STRICT) in addAttachmentTests()
5725 const VkImageLayout initialLayout = (imageMemory == TestConfig::IMAGEMEMORY_STRICT) in addAttachmentTests()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp581 …uint8_t *imageMemory = static_cast<uint8_t *>(getTexelPointer(region.imageOffset, 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/ycbcr/
DvktYCbCrConversionTests.cpp518 …const vector<AllocationSp> imageMemory (allocateAndBindImageMemory(vkd, device, context.… in evalShader() local
568 …fillImageMemory(vkd, device, context.getUniversalQueueFamilyIndex(), *image, imageMemory, imageDat… in evalShader()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
DvktYCbCrConversionTests.cpp518 …const vector<AllocationSp> imageMemory (allocateAndBindImageMemory(vkd, device, context.… in evalShader() local
568 …fillImageMemory(vkd, device, context.getUniversalQueueFamilyIndex(), *image, imageMemory, imageDat… in evalShader()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp3675 std::vector<AllocationSp>& imageMemory,
3774 std::vector<AllocationSp>& imageMemory, in createImages() argument
3787 imageMemory.push_back(AllocationSp(memory.release())); in createImages()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp3675 std::vector<AllocationSp>& imageMemory,
3774 std::vector<AllocationSp>& imageMemory, in createImages() argument
3787 imageMemory.push_back(AllocationSp(memory.release())); in createImages()