/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ohos/ |
H A D | platform_gpu_image_vk.cpp | 52 const DeviceVk& deviceVk = (const DeviceVk&)device_; in CreatePlatformHwBuffer() local 53 const PlatformDeviceExtensions& deviceExtensions = deviceVk.GetPlatformDeviceExtensions(); in CreatePlatformHwBuffer() 56 PlatformHardwareBufferUtil::QueryHwBufferFormatProperties(deviceVk, hwBuffer_); in CreatePlatformHwBuffer() 59 … PlatformHardwareBufferUtil::CreateHwPlatformImage(deviceVk, hwBufferProperties, desc_, hwBuffer_); in CreatePlatformHwBuffer() 68 deviceVk, hwBufferProperties, ycbcrConversionCreateInfo); in CreatePlatformHwBuffer() 80 VALIDATE_VK_RESULT(deviceVk.GetExtFunctions().vkCreateSamplerYcbcrConversion( in CreatePlatformHwBuffer() 108 const DeviceVk& deviceVk = (const DeviceVk&)device_; in DestroyPlatformHwBuffer() local 109 …PlatformHardwareBufferUtil::DestroyHwPlatformImage(deviceVk, plat_.image, mem_.allocationInfo.devi… in DestroyPlatformHwBuffer() 113 deviceVk.GetExtFunctions().vkDestroySamplerYcbcrConversion(device, // device in DestroyPlatformHwBuffer()
|
H A D | platform_hardware_buffer_util.cpp | 28 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer) in QueryHwBufferFormatProperties() argument 32 …const DevicePlatformDataVk& devicePlat = ((const DevicePlatformDataVk&)deviceVk.GetPlatformData()); in QueryHwBufferFormatProperties() 34 const PlatformExtFunctions& extFunctions = deviceVk.GetPlatformExtFunctions(); in QueryHwBufferFormatProperties() 72 HardwareBufferImage CreateHwPlatformImage(const DeviceVk& deviceVk, const HardwareBufferProperties&… in CreateHwPlatformImage() argument 98 const DevicePlatformDataVk& platData = (const DevicePlatformDataVk&)deviceVk.GetPlatformData(); in CreateHwPlatformImage()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | gpu_sampler_vk.cpp | 30 VkSamplerYcbcrConversion CreateYcbcrConversion(const DeviceVk& deviceVk, const GpuSamplerDesc& desc) in CreateYcbcrConversion() argument 32 … const DevicePlatformDataVk& devicePlat = (const DevicePlatformDataVk&)deviceVk.GetPlatformData(); in CreateYcbcrConversion() 38 …PlatformHardwareBufferUtil::FillYcbcrConversionInfo(deviceVk, hwBufferProperties, ycbcrConversionI… in CreateYcbcrConversion() 39 VALIDATE_VK_RESULT(deviceVk.GetExtFunctions().vkCreateSamplerYcbcrConversion( in CreateYcbcrConversion() 69 const DeviceVk& deviceVk = (const DeviceVk&)device_; in GpuSamplerVk() local 73 deviceVk.GetCommonDeviceExtensions().samplerYcbcrConversion) { in GpuSamplerVk() 74 samplerConversion_ = CreateYcbcrConversion(deviceVk, desc_); in GpuSamplerVk()
|
H A D | platform_hardware_buffer_util_vk.cpp | 77 VkMemoryRequirements GetImageMemoryRequirements(const DeviceVk& deviceVk, const VkImage image, in GetImageMemoryRequirements() argument 85 …const DevicePlatformDataVk& devicePlat = ((const DevicePlatformDataVk&)deviceVk.GetPlatformData()); in GetImageMemoryRequirements() 88 const DeviceVk::CommonDeviceExtensions& deviceExtensions = deviceVk.GetCommonDeviceExtensions(); in GetImageMemoryRequirements() 89 const DeviceVk::ExtFunctions& extFunctions = deviceVk.GetExtFunctions(); in GetImageMemoryRequirements() 122 void DestroyHwPlatformImage(const DeviceVk& deviceVk, VkImage image, VkDeviceMemory deviceMemory) in DestroyHwPlatformImage() argument 124 VkDevice device = ((const DevicePlatformDataVk&)deviceVk.GetPlatformData()).device; in DestroyHwPlatformImage() 133 void FillYcbcrConversionInfo(const DeviceVk& deviceVk, const HardwareBufferProperties& hwBufferProp… in FillYcbcrConversionInfo() argument
|
H A D | platform_hardware_buffer_util_vk.h | 43 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer… 47 VkMemoryRequirements GetImageMemoryRequirements(const DeviceVk& deviceVk, const VkImage image, 54 HardwareBufferImage CreateHwPlatformImage(const DeviceVk& deviceVk, const HardwareBufferProperties&… 56 void DestroyHwPlatformImage(const DeviceVk& deviceVk, VkImage image, VkDeviceMemory deviceMemory); 58 void FillYcbcrConversionInfo(const DeviceVk& deviceVk, const HardwareBufferProperties& hwBufferProp…
|
H A D | pipeline_create_functions_vk.cpp | 42 inline Size2D ClampShadingRateAttachmentTexelSize(const DeviceVk& deviceVk, const Size2D val) in ClampShadingRateAttachmentTexelSize() argument 234 VkRenderPass CreateRenderPassCombined(const DeviceVk& deviceVk, const RenderPassDesc& renderPassDes… in CreateRenderPassCombined() argument 242 const VkDevice device = (deviceVk.GetPlatformDataVk()).device; in CreateRenderPassCombined() 376 if (hasMultiView && deviceVk.GetCommonDeviceExtensions().multiView) { in CreateRenderPassCombined() 421 const VkDevice device = (deviceVk.GetPlatformDataVk()).device; in CreateRenderPassCombined2() 461 const bool supportsMultiView = deviceVk.GetCommonDeviceExtensions().multiView; in CreateRenderPassCombined2() 634 const DeviceVk::ExtFunctions& extFunctions = deviceVk.GetExtFunctions(); in CreateRenderPassCombined2() 645 VkRenderPass RenderPassCreatorVk::CreateRenderPass(const DeviceVk& deviceVk, in CreateRenderPass() argument 658 const DeviceVk::CommonDeviceExtensions& deviceExtensions = deviceVk.GetCommonDeviceExtensions(); in CreateRenderPass() 673 VkRenderPass RenderPassCreatorVk::CreateRenderPassCompatibility(const DeviceVk& deviceVk, in CreateRenderPassCompatibility() argument [all …]
|
H A D | gpu_buffer_vk.cpp | 131 const DeviceVk& deviceVk = (const DeviceVk&)device_; in GpuBufferVk() local 135 const DeviceVk::ExtFunctions& extFunctions = deviceVk.GetExtFunctions(); in GpuBufferVk() 164 const DeviceVk& deviceVk = (const DeviceVk&)device_; in ~GpuBufferVk() local 165 const DeviceVk::ExtFunctions& extFunctions = deviceVk.GetExtFunctions(); in ~GpuBufferVk()
|
H A D | pipeline_create_functions_vk.h | 80 …VkRenderPass CreateRenderPass(const DeviceVk& deviceVk, const RenderCommandBeginRenderPass& beginR… 82 VkRenderPass CreateRenderPassCompatibility(const DeviceVk& deviceVk,
|
H A D | node_context_pool_manager_vk.cpp | 269 const DeviceVk& deviceVk = static_cast<const DeviceVk&>(device_); local 272 const LowLevelGpuQueueVk lowLevelGpuQueue = deviceVk.GetGpuQueue(gpuQueue); 419 const DeviceVk& deviceVk = (const DeviceVk&)device_; in GetRenderPassData() local 420 if (deviceVk.GetCommonDeviceExtensions().multiView) { in GetRenderPassData() 466 … renderPassCreator_.CreateRenderPassCompatibility(deviceVk, beginRenderPass, renderPassData); in GetRenderPassData() 501 …renderPassData.renderPass = renderPassCreator_.CreateRenderPass(deviceVk, beginRenderPass, renderP… in GetRenderPassData()
|
H A D | pipeline_state_object_vk.cpp | 187 const DeviceVk& deviceVk = (const DeviceVk&)device_; in GraphicsPipelineStateObjectVk() local 188 …const DevicePlatformDataVk& devicePlatVk = (const DevicePlatformDataVk&)deviceVk.GetPlatformData(); in GraphicsPipelineStateObjectVk() 446 minSampleShading = deviceVk.GetFeatureConfigurations().minSampleShading; in GraphicsPipelineStateObjectVk() 539 const DeviceVk& deviceVk = (const DeviceVk&)device_; in ComputePipelineStateObjectVk() local 540 …const DevicePlatformDataVk& devicePlatVk = (const DevicePlatformDataVk&)deviceVk.GetPlatformData(); in ComputePipelineStateObjectVk()
|
H A D | swapchain_vk.cpp | 40 Format GetValidDepthFormat(const DeviceVk& deviceVk) in GetValidDepthFormat() argument 50 const auto& devPlat = deviceVk.GetPlatformInternalDataVk(); in GetValidDepthFormat()
|
H A D | gpu_image_vk.cpp | 88 BASE_NS::Format CheckDepthFormat(const DeviceVk& deviceVk, const BASE_NS::Format format) in CheckDepthFormat() argument 90 const auto& devPlat = deviceVk.GetPlatformInternalDataVk(); in CheckDepthFormat()
|
H A D | device_vk.h | 284 explicit LowLevelDeviceVk(DeviceVk& deviceVk);
|
H A D | node_context_descriptor_set_manager_vk.cpp | 548 const DeviceVk& deviceVk = (const DeviceVk&)device_; in CreateGpuDescriptorSet() local 556 const bool dsiEnabled = deviceVk.GetCommonDeviceExtensions().descriptorIndexing; in CreateGpuDescriptorSet()
|
H A D | device_vk.cpp | 1435 LowLevelDeviceVk::LowLevelDeviceVk(DeviceVk& deviceVk) in LowLevelDeviceVk() argument 1436 …: deviceVk_(deviceVk), gpuResourceMgr_(static_cast<GpuResourceManager&>(deviceVk_.GetGpuResourceMa… in LowLevelDeviceVk()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/linux/ |
H A D | platform_hardware_buffer_util.cpp | 24 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer) in QueryHwBufferFormatProperties() argument 29 HardwareBufferImage CreateHwPlatformImage(const DeviceVk& deviceVk, const HardwareBufferProperties&… in CreateHwPlatformImage() argument 36 const DevicePlatformDataVk& platData = (const DevicePlatformDataVk&)deviceVk.GetPlatformData(); in CreateHwPlatformImage() 47 …PlatformHardwareBufferUtil::GetImageMemoryRequirements(deviceVk, hwBufferImage.image, imageAspectF… in CreateHwPlatformImage()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/mac/ |
H A D | platform_hardware_buffer_util.cpp | 24 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer) in QueryHwBufferFormatProperties() argument 29 HardwareBufferImage CreateHwPlatformImage(const DeviceVk& deviceVk, const HardwareBufferProperties&… in CreateHwPlatformImage() argument 36 const DevicePlatformDataVk& platData = (const DevicePlatformDataVk&)deviceVk.GetPlatformData(); in CreateHwPlatformImage() 47 …PlatformHardwareBufferUtil::GetImageMemoryRequirements(deviceVk, hwBufferImage.image, imageAspectF… in CreateHwPlatformImage()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/windows/ |
H A D | platform_hardware_buffer_util.cpp | 24 HardwareBufferProperties QueryHwBufferFormatProperties(const DeviceVk& deviceVk, uintptr_t hwBuffer) in QueryHwBufferFormatProperties() argument 29 HardwareBufferImage CreateHwPlatformImage(const DeviceVk& deviceVk, const HardwareBufferProperties&… in CreateHwPlatformImage() argument 36 const DevicePlatformDataVk& platData = (const DevicePlatformDataVk&)deviceVk.GetPlatformData(); in CreateHwPlatformImage() 47 …PlatformHardwareBufferUtil::GetImageMemoryRequirements(deviceVk, hwBufferImage.image, imageAspectF… in CreateHwPlatformImage()
|