Home
last modified time | relevance | path

Searched refs:DeviceMemory (Results 1 - 25 of 45) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkDeviceMemory.cpp29 // supported by this DeviceMemory subclass.
39 OpaqueFdAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in OpaqueFdAllocateInfo()
85 VkResult DeviceMemory::Allocate(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, Device *device) in Allocate()
89 vk::DeviceMemory::ExtendedAllocationInfo extendedAllocationInfo = {}; in Allocate()
90 VkResult result = vk::DeviceMemory::ParseAllocationInfo(pAllocateInfo, &extendedAllocationInfo); in Allocate()
106 VkResult DeviceMemory::Allocate(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, in Allocate()
107 const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, Device *device) in Allocate()
135 DeviceMemory::DeviceMemory(const VkMemoryAllocateInfo *pAllocateInfo, Device *pDevice) in DeviceMemory() function in vk::DeviceMemory
143 void DeviceMemory
[all...]
H A DVkDeviceMemory.hpp25 class DeviceMemory class
47 DeviceMemory(const VkMemoryAllocateInfo *pCreateInfo, Device *pDevice);
50 virtual ~DeviceMemory() {} in ~DeviceMemory()
56 return vk::TtoVkT<DeviceMemory, VkDeviceMemory>(this); in operator VkDeviceMemory()
59 static inline DeviceMemory *Cast(VkDeviceMemory object) in Cast()
61 return vk::VkTtoT<DeviceMemory, VkDeviceMemory>(object); in Cast()
126 static VkResult ParseAllocationInfo(const VkMemoryAllocateInfo *pAllocateInfo, DeviceMemory::ExtendedAllocationInfo *extendedAllocationInfo);
128 const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, Device *device);
131 // This class represents a DeviceMemory object with no external memory
132 class DeviceMemoryInternal : public DeviceMemory, publi
[all...]
H A DVkDeviceMemoryExternalHost.hpp21 class ExternalMemoryHost : public vk::DeviceMemory, public vk::ObjectBase<ExternalMemoryHost, VkDeviceMemory>
31 AllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo);
36 static bool SupportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo);
38 explicit ExternalMemoryHost(const VkMemoryAllocateInfo *pCreateInfo, void *mem, const DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice);
H A DVkDeviceMemoryExternalHost.cpp17 ExternalMemoryHost::AllocateInfo::AllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in AllocateInfo()
32 bool ExternalMemoryHost::SupportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in SupportsAllocateInfo()
38 ExternalMemoryHost::ExternalMemoryHost(const VkMemoryAllocateInfo *pCreateInfo, void *mem, const DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice) in ExternalMemoryHost()
39 : vk::DeviceMemory(pCreateInfo, pDevice) in ExternalMemoryHost()
H A DVkDeviceMemoryExternalLinux.hpp24 class OpaqueFdExternalMemory : public vk::DeviceMemory, public vk::ObjectBase<OpaqueFdExternalMemory, VkDeviceMemory>
29 static bool SupportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in SupportsAllocateInfo()
35 explicit OpaqueFdExternalMemory(const VkMemoryAllocateInfo *pCreateInfo, void *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice) in OpaqueFdExternalMemory()
36 : vk::DeviceMemory(pCreateInfo, pDevice) in OpaqueFdExternalMemory()
H A DVkDeviceMemoryExternalFuchsia.hpp25 class VmoExternalMemory : public vk::DeviceMemory, public vk::ObjectBase<VmoExternalMemory, VkDeviceMemory>
30 // supported by this DeviceMemory subclass.
40 AllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in AllocateInfo()
65 static bool supportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in supportsAllocateInfo()
71 explicit VmoExternalMemory(const VkMemoryAllocateInfo *pCreateInfo, void *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice) in VmoExternalMemory()
72 : vk::DeviceMemory(pCreateInfo, pDevice) in VmoExternalMemory()
H A DVkDeviceMemoryExternalAndroid.hpp25 class AHardwareBufferExternalMemory : public vk::DeviceMemory, public vk::ObjectBase<AHardwareBufferExternalMemory, VkDeviceMemory>
30 // supported by this DeviceMemory subclass.
42 AllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo);
47 static bool SupportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in SupportsAllocateInfo()
53 explicit AHardwareBufferExternalMemory(const VkMemoryAllocateInfo *pCreateInfo, void *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice);
H A DVkDeviceMemoryExternalMac.hpp60 class OpaqueFdExternalMemory : public vk::DeviceMemory, public vk::ObjectBase<OpaqueFdExternalMemory, VkDeviceMemory>
65 static bool SupportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in SupportsAllocateInfo()
71 explicit OpaqueFdExternalMemory(const VkMemoryAllocateInfo *pCreateInfo, void *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice) in OpaqueFdExternalMemory()
72 : vk::DeviceMemory(pCreateInfo, pDevice) in OpaqueFdExternalMemory()
H A DVkBuffer.hpp22 class DeviceMemory;
33 void bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset);
42 bool canBindToMemory(DeviceMemory *pDeviceMemory) const;
H A DVkImage.hpp33 class DeviceMemory;
61 void bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset);
98 bool canBindToMemory(DeviceMemory *pDeviceMemory) const;
119 DeviceMemory *deviceMemory = nullptr;
H A DVkBuffer.cpp95 bool Buffer::canBindToMemory(DeviceMemory *pDeviceMemory) const in canBindToMemory()
100 void Buffer::bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset) in bind()
H A DVkDebugUtilsMessenger.hpp22 class DeviceMemory;
H A DVkDeviceMemoryExternalAndroid.cpp167 AHardwareBufferExternalMemory::AllocateInfo::AllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in AllocateInfo()
194 AHardwareBufferExternalMemory::AHardwareBufferExternalMemory(const VkMemoryAllocateInfo *pCreateInfo, void *mem, const DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice) in AHardwareBufferExternalMemory()
195 : vk::DeviceMemory(pCreateInfo, pDevice) in AHardwareBufferExternalMemory()
/third_party/skia/third_party/externals/swiftshader/src/WSI/
H A DVkSurfaceKHR.hpp34 class DeviceMemory;
47 DeviceMemory *getImageMemory() const { return imageMemory; } in getImageMemory()
54 DeviceMemory *imageMemory = nullptr;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
H A Dvk_android_utils.h19 class DeviceMemory;
33 DeviceMemory *deviceMemoryOut);
H A Dvk_android_utils.cpp64 DeviceMemory *deviceMemoryOut) in InitAndroidExternalMemory()
78 // Import Vulkan DeviceMemory from Android Hardware Buffer. in InitAndroidExternalMemory()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_utils.cpp88 vk::DeviceMemory *deviceMemoryOut)
130 vk::DeviceMemory *deviceMemoryOut);
140 vk::DeviceMemory *deviceMemoryOut) in AllocateAndBindBufferOrImageMemory()
175 vk::DeviceMemory *deviceMemoryOut) in AllocateAndBindBufferOrImageMemory()
194 vk::DeviceMemory *deviceMemoryOut, in AllocateBufferOrImageMemory()
679 DeviceMemory *deviceMemory, in InitMappableDeviceMemory()
710 DeviceMemory *deviceMemoryOut, in AllocateBufferMemory()
723 DeviceMemory *deviceMemoryOut, in AllocateImageMemory()
737 DeviceMemory *deviceMemoryOut) in AllocateImageMemoryWithRequirements()
751 DeviceMemory *deviceMemoryOu in AllocateBufferMemoryWithRequirements()
[all...]
H A Dvk_wrapper.h41 FUNC(DeviceMemory) \
388 VkResult bindMemory(VkDevice device, const DeviceMemory &deviceMemory);
430 class DeviceMemory final : public WrappedObject<DeviceMemory, VkDeviceMemory>
433 DeviceMemory() = default;
502 VkResult bindMemory(VkDevice device, const DeviceMemory &deviceMemory);
1185 ANGLE_INLINE VkResult Image::bindMemory(VkDevice device, const vk::DeviceMemory &deviceMemory) in bindMemory()
1281 // DeviceMemory implementation.
1282 ANGLE_INLINE void DeviceMemory::destroy(VkDevice device) in destroy()
1291 ANGLE_INLINE VkResult DeviceMemory
[all...]
H A Dvk_utils.h408 DeviceMemory *getExternalMemoryObject() { return &mExternalMemory; } in getExternalMemoryObject()
415 DeviceMemory mExternalMemory; // use mExternalMemory if isExternalBuffer() is true
450 DeviceMemory *deviceMemory,
460 DeviceMemory *deviceMemoryOut,
468 DeviceMemory *deviceMemoryOut,
478 DeviceMemory *deviceMemoryOut);
486 DeviceMemory *deviceMemoryOut);
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DBuffer.hpp45 vk::DeviceMemory bufferMemory; // Owning handle
H A DImage.hpp40 vk::DeviceMemory imageMemory; // Owning handle
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkNullDriver.cpp406 class DeviceMemory class
409 virtual ~DeviceMemory (void) {} in ~DeviceMemory()
414 class PrivateDeviceMemory : public DeviceMemory
515 class ExternalDeviceMemoryAndroid : public DeviceMemory
1261 VK_NULL_RETURN((*pMemory = allocateNonDispHandle<ExternalDeviceMemoryAndroid, DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator))); in allocateMemory()
1268 VK_NULL_RETURN((*pMemory = allocateNonDispHandle<PrivateDeviceMemory, DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator))); in allocateMemory()
1271 VK_NULL_RETURN((*pMemory = allocateNonDispHandle<PrivateDeviceMemory, DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator))); in allocateMemory()
1277 DeviceMemory* const memory = reinterpret_cast<DeviceMemory*>(memHandle.getInternal()); in mapMemory()
1289 DeviceMemory* cons in unmapMemory()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryAddressBindingTests.cpp264 struct DeviceMemory struct
300 DeviceMemory::Parameters getDeviceMemoryParameters (const VkMemoryRequirements& memReqs)
302 return DeviceMemory::Parameters(memReqs.size, deCtz32(memReqs.memoryTypeBits));
305 DeviceMemory::Parameters getDeviceMemoryParameters (const Environment& env, VkImage image)
310 DeviceMemory::Parameters getDeviceMemoryParameters (const Environment& env, VkBuffer buffer)
379 Dependency<DeviceMemory> memory;
504 Dependency<DeviceMemory> memory;
1584 CaseDescription<DeviceMemory> deviceMemory;
1939 static const NamedParameters<DeviceMemory> s_deviceMemCases[] = in createAddressBindingReportTests()
1941 { "device_memory_small", DeviceMemory in createAddressBindingReportTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryAddressBindingTests.cpp225 struct DeviceMemory struct
261 DeviceMemory::Parameters getDeviceMemoryParameters (const VkMemoryRequirements& memReqs)
263 return DeviceMemory::Parameters(memReqs.size, deCtz32(memReqs.memoryTypeBits));
266 DeviceMemory::Parameters getDeviceMemoryParameters (const Environment& env, VkImage image)
271 DeviceMemory::Parameters getDeviceMemoryParameters (const Environment& env, VkBuffer buffer)
340 Dependency<DeviceMemory> memory;
465 Dependency<DeviceMemory> memory;
1545 CaseDescription<DeviceMemory> deviceMemory;
1816 static const NamedParameters<DeviceMemory> s_deviceMemCases[] = in createAddressBindingReportTests()
1818 { "device_memory_small", DeviceMemory in createAddressBindingReportTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiObjectManagementTests.cpp864 struct DeviceMemory struct
890 return getSafeObjectCount<DeviceMemory>(context,
911 DeviceMemory::Parameters getDeviceMemoryParameters (const VkMemoryRequirements& memReqs)
913 return DeviceMemory::Parameters(memReqs.size, deCtz32(memReqs.memoryTypeBits));
916 DeviceMemory::Parameters getDeviceMemoryParameters (const Environment& env, VkImage image)
921 DeviceMemory::Parameters getDeviceMemoryParameters (const Environment& env, VkBuffer image)
1003 Dependency<DeviceMemory> memory;
1146 Dependency<DeviceMemory> memory;
3345 CaseDescription<DeviceMemory> deviceMemory;
3503 static const NamedParameters<DeviceMemory> s_deviceMemCase in createObjectManagementTests()
[all...]

Completed in 26 milliseconds

12