/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | gpu_buffer_vk.cpp | 94 (desc.memoryPropertyFlags & MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_HOST_VISIBLE_BIT) && in GpuBufferVk() 95 (desc.memoryPropertyFlags & MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_HOST_COHERENT_BIT)), in GpuBufferVk() 105 (desc_.memoryPropertyFlags & MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_HOST_VISIBLE_BIT) && in GpuBufferVk() 106 (desc_.memoryPropertyFlags & MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_HOST_COHERENT_BIT)), in GpuBufferVk() 190 VkMemoryPropertyFlags memoryPropertyFlags = static_cast<VkMemoryPropertyFlags>(desc_.memoryPropertyFlags); in CreateBufferImpl() local 192 (memoryPropertyFlags & (~(VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT | in CreateBufferImpl() 194 const VkMemoryPropertyFlags preferredFlags = memoryPropertyFlags; in CreateBufferImpl() 338 if (desc_.memoryPropertyFlags & CORE_MEMORY_PROPERTY_HOST_VISIBLE_BIT) { in AllocateMemory()
|
H A D | platform_hardware_buffer_util_vk.cpp | 32 const uint32_t memoryTypeBits, const VkMemoryPropertyFlags memoryPropertyFlags) in GetMemoryTypeIndex() 38 (physicalDeviceMemoryProperties.memoryTypes[idx].propertyFlags == memoryPropertyFlags)) { in GetMemoryTypeIndex() 46 memoryPropertyFlags) == memoryPropertyFlags)) { in GetMemoryTypeIndex() 31 GetMemoryTypeIndex(const VkPhysicalDeviceMemoryProperties& physicalDeviceMemoryProperties, const uint32_t memoryTypeBits, const VkMemoryPropertyFlags memoryPropertyFlags) GetMemoryTypeIndex() argument
|
H A D | gpu_image_vk.cpp | 189 PLUGIN_ASSERT_MSG(desc_.memoryPropertyFlags & MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in GpuImageVk() 191 desc_.memoryPropertyFlags); in GpuImageVk() 303 VkMemoryPropertyFlags memoryPropertyFlags = static_cast<VkMemoryPropertyFlags>(desc_.memoryPropertyFlags); in CreateVkImage() local 305 (memoryPropertyFlags & (~(VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT | in CreateVkImage() 307 const VkMemoryPropertyFlags preferredFlags = memoryPropertyFlags; in CreateVkImage()
|
H A D | platform_hardware_buffer_util_vk.h | 45 const uint32_t memoryTypeBits, const VkMemoryPropertyFlags memoryPropertyFlags);
|
H A D | gpu_memory_allocator_vk.cpp | 85 HashCombine(seed, (uint64_t)desc.usageFlags, (uint64_t)desc.memoryPropertyFlags); in hash() 97 HashCombine(seed, (uint64_t)desc.imageType, (uint64_t)desc.memoryPropertyFlags); in hash() 406 allocationCreateInfo.preferredFlags = (VkMemoryPropertyFlags)buf.memoryPropertyFlags; in CreatePoolForBuffers() 457 allocationCreateInfo.preferredFlags = (VkMemoryPropertyFlags)img.memoryPropertyFlags; in CreatePoolForImages()
|
H A D | device_vk.cpp | 362 desc.memoryPropertyFlags = MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_HOST_COHERENT_BIT | in GetAllocatorCreateInfo() 378 desc.memoryPropertyFlags = MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_HOST_COHERENT_BIT | in GetAllocatorCreateInfo() 743 const MemoryPropertyFlags memoryPropertyFlags = in CreatePhysicalDevice() local 746 if ((memoryPropertyFlags & (CORE_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT | CORE_MEMORY_PROPERTY_PROTECTED_BIT)) == in CreatePhysicalDevice() 748 deviceSharedMemoryPropertyFlags_ &= memoryPropertyFlags; in CreatePhysicalDevice()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_buffer_gles.cpp | 75 isPersistantlyMapped_((desc.memoryPropertyFlags & CORE_MEMORY_PROPERTY_HOST_VISIBLE_BIT) && 76 (desc.memoryPropertyFlags & CORE_MEMORY_PROPERTY_HOST_COHERENT_BIT)), 78 isMappable_(IS_BIT(desc.memoryPropertyFlags, CORE_MEMORY_PROPERTY_HOST_VISIBLE_BIT)) 101 uint32_t flags = MakeFlags(desc.memoryPropertyFlags);
|
H A D | gpu_image_gles.cpp | 170 PLUGIN_ASSERT_MSG(desc_.memoryPropertyFlags & MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in GpuImageGLES() 172 desc_.memoryPropertyFlags); in GpuImageGLES()
|
H A D | swapchain_gles.cpp | 189 MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, // memoryPropertyFlags 204 res.memoryPropertyFlags |= MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT;
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_create_gpu_buffers.cpp | 36 needsUpdate = needsUpdate || (dependencyDesc.memoryPropertyFlags != desc.memoryPropertyFlags); in CheckForDescUpdates()
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | gpu_resource_desc.h | 319 MemoryPropertyFlags memoryPropertyFlags { 0 }; 367 MemoryPropertyFlags memoryPropertyFlags { 0 };
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_resource_manager.cpp | 103 if (desc.memoryPropertyFlags == 0) { in ValidateGpuBufferDesc() 106 if ((desc.memoryPropertyFlags & (~GpuResourceDescFlagValidation::ALL_MEMORY_PROPERTY_FLAGS)) != 0) { in ValidateGpuBufferDesc() 107 PLUGIN_LOG_E("RENDER_VALIDATION: Invalid MemoryPropertyFlags (%u)", desc.memoryPropertyFlags); in ValidateGpuBufferDesc() 110 ((desc.memoryPropertyFlags & MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_HOST_VISIBLE_BIT) == 0)) { in ValidateGpuBufferDesc() 113 desc.memoryPropertyFlags); in ValidateGpuBufferDesc() 149 if (desc.memoryPropertyFlags == 0) { in ValidateGpuImageDesc() 153 if ((desc.memoryPropertyFlags & (~GpuResourceDescFlagValidation::ALL_MEMORY_PROPERTY_FLAGS)) != 0) { in ValidateGpuImageDesc() 154 PLUGIN_LOG_E("RENDER_VALIDATION: Invalid MemoryPropertyFlags (%u)", desc.memoryPropertyFlags); in ValidateGpuImageDesc() 234 desc.memoryPropertyFlags & GpuResourceDescFlagValidation::ALL_MEMORY_PROPERTY_FLAGS, in GetValidGpuBufferDesc() 243 if ((desc.memoryPropertyFlags in CheckAndEnableMemoryOptimizations() [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_camera_controller.cpp | 159 if (desc.memoryPropertyFlags == 0) { in ValidateColorDesc() 160 desc.memoryPropertyFlags = input.memoryPropertyFlags; in ValidateColorDesc() 211 if (desc.memoryPropertyFlags == 0) { in ValidateDepthDesc() 212 desc.memoryPropertyFlags = input.memoryPropertyFlags; in ValidateDepthDesc() 304 desc.memoryPropertyFlags &= (~CORE_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT); in CreateVelocityTarget() 404 msaaDesc.memoryPropertyFlags = in CreateColorTargets() 452 msaaDesc.memoryPropertyFlags = in CreateDepthTargets() 469 desc.memoryPropertyFlags in CreateDepthTargets() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/vulkan/ |
H A D | intf_device_vk.h | 139 VkMemoryPropertyFlags memoryPropertyFlags { 0 };
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/ |
H A D | render_data_store_default_staging.cpp | 165 if ((bufDesc.memoryPropertyFlags & CORE_MEMORY_PROPERTY_HOST_VISIBLE_BIT) && in CopyDataToBufferOnCpu() 166 (bufDesc.memoryPropertyFlags & CORE_MEMORY_PROPERTY_HOST_COHERENT_BIT)) { in CopyDataToBufferOnCpu()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | scene_util.cpp | 292 const Format format, const ImageUsageFlags usageFlags, const MemoryPropertyFlags memoryPropertyFlags) in CreateReflectionPlaneGpuImage() 303 desc.memoryPropertyFlags = memoryPropertyFlags; in CreateReflectionPlaneGpuImage() 290 CreateReflectionPlaneGpuImage(IGpuResourceManager& gpuResourceMgr, IRenderHandleComponentManager& handleManager, INameComponentManager& nameManager, const string_view name, const Format format, const ImageUsageFlags usageFlags, const MemoryPropertyFlags memoryPropertyFlags) CreateReflectionPlaneGpuImage() argument
|
H A D | mesh_builder.cpp | 459 desc.memoryPropertyFlags = MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in GetVertexBufferDesc() 477 indexBufferDesc.memoryPropertyFlags = MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in GetIndexBufferDesc() 491 desc.memoryPropertyFlags = MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in GetMorphTargetBufferDesc() 1033 gpuBufferDesc.memoryPropertyFlags = MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_HOST_VISIBLE_BIT | in Allocate()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_parser_util.cpp | 293 jsonData, "memoryPropertyFlags", context.error, context.data.desc.memoryPropertyFlags); in FromJson() 334 jsonData, "memoryPropertyFlags", context.error, context.data.desc.memoryPropertyFlags); in FromJson()
|
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | SceneJS.cpp | 1009 gpuDesc.memoryPropertyFlags = CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in CreateImage()
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | ecs_serializer.cpp | 1126 gpuDesc.memoryPropertyFlags = CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in LoadImageResource()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_serializer.cpp | 1224 gpuDesc.memoryPropertyFlags = CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in LoadImageResource()
|
H A D | scene_holder.cpp | 91 resolveDesc.memoryPropertyFlags = MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in GetColorImageDesc() 108 resolveDesc.memoryPropertyFlags = MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in GetDepthImageDesc()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 1542 imageDesc.memoryPropertyFlags = in GetImageDesc()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | render_system.cpp | 196 desc.memoryPropertyFlags = in CreateReflectionPlaneGpuImageDesc()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_importer.cpp | 1489 gpuBufferDesc.memoryPropertyFlags = MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_HOST_VISIBLE_BIT | in ImportTexture() 2260 MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, // memoryPropertyFlags in CreateCubemapFromImages()
|