Home
last modified time | relevance | path

Searched refs:imageMemory (Results 1 – 14 of 14) 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/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()
671 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk… in renderTriangleDummyExtStructTest() local
673 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleDummyExtStructTest()
1261 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleUnusedResolveAttachmentTest() local
1263 VK_CHECK(vk.bindImageMemory(vkDevice, *image, imageMemory->getMemory(), imageMemory->getOffset())); in renderTriangleUnusedResolveAttachmentTest()
DvktApiImageClearingTests.cpp727 …de::MovePtr<Allocation> imageMemory (allocateImage(m_vki, m_vkd, m_context.getPhysicalDevice(), m_… in allocateAndBindImageMemory() local
728 …VK_CHECK(m_vkd.bindImageMemory(m_device, image, imageMemory->getMemory(), imageMemory->getOffset()… in allocateAndBindImageMemory()
729 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.cpp3246 …const UniquePtr<Allocation> imageMemory (allocator.allocate(getImageMemoryRequirements(vk, d… in runAndVerifyDefaultPipeline() local
3248 VK_CHECK(vk.bindImageMemory(device, *image, imageMemory->getMemory(), imageMemory->getOffset())); in runAndVerifyDefaultPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp405 vk::Move<vk::VkDeviceMemory> imageMemory; in iterate() local
794 imageMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
797 VK_CHECK(vk.bindImageMemory(*m_deviceGroup, *renderImage, imageMemory.get(), 0)); in iterate()
798 VK_CHECK(vk.bindImageMemory(*m_deviceGroup, *readImage, imageMemory.get(), 0)); in iterate()
1189 imageMemory.get(), // memory in iterate()
1478 imageMemory.get(), // memory in iterate()
/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/vulkan/renderpass/
DvktRenderPassTests.cpp765 , imageMemory (imageMemory_) in TestConfig()
788 ImageMemory imageMemory; member
4586 …ool>& attachmentIsLazy, const vector<Attachment>& attachments, TestConfig::ImageMemory imageMemory) in initializeAttachmentIsLazy() argument
4597 …if (imageMemory == TestConfig::IMAGEMEMORY_LAZY || (imageMemory & TestConfig::IMAGEMEMORY_LAZY && … in initializeAttachmentIsLazy()
4603 else if (imageMemory & TestConfig::IMAGEMEMORY_STRICT) in initializeAttachmentIsLazy()
5072 initializeAttachmentIsLazy(attachmentIsLazy, renderPassInfo.getAttachments(), config.imageMemory); in renderPassTest()
5349 …const TestConfig::ImageMemory imageMemory = rng.choose<TestConfig::ImageMemory>(DE_ARRAY_BEGIN(i… in addAttachmentTests() local
5367 const VkImageLayout initialLayout = (imageMemory == TestConfig::IMAGEMEMORY_STRICT) in addAttachmentTests()
5370 VkImageLayout finalizeLayout = (imageMemory == TestConfig::IMAGEMEMORY_STRICT) in addAttachmentTests()
5400 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.cpp517 …const vector<AllocationSp> imageMemory (allocateAndBindImageMemory(vkd, device, context.… in evalShader() local
567 …fillImageMemory(vkd, device, context.getUniversalQueueFamilyIndex(), *image, imageMemory, imageDat… in evalShader()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp3591 std::vector<AllocationSp>& imageMemory,
3690 std::vector<AllocationSp>& imageMemory, in createImages() argument
3703 imageMemory.push_back(AllocationSp(memory.release())); in createImages()