Home
last modified time | relevance | path

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

/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dgpu_buffer_vk.cpp94 (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 Dplatform_hardware_buffer_util_vk.cpp32 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 Dgpu_image_vk.cpp189 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 Dplatform_hardware_buffer_util_vk.h45 const uint32_t memoryTypeBits, const VkMemoryPropertyFlags memoryPropertyFlags);
H A Dgpu_memory_allocator_vk.cpp85 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 Ddevice_vk.cpp362 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 Dgpu_buffer_gles.cpp75 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 Dgpu_image_gles.cpp170 PLUGIN_ASSERT_MSG(desc_.memoryPropertyFlags & MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in GpuImageGLES()
172 desc_.memoryPropertyFlags); in GpuImageGLES()
H A Dswapchain_gles.cpp189 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 Drender_node_create_gpu_buffers.cpp36 needsUpdate = needsUpdate || (dependencyDesc.memoryPropertyFlags != desc.memoryPropertyFlags); in CheckForDescUpdates()
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dgpu_resource_desc.h319 MemoryPropertyFlags memoryPropertyFlags { 0 };
367 MemoryPropertyFlags memoryPropertyFlags { 0 };
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_resource_manager.cpp103 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 Drender_node_default_camera_controller.cpp159 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 Dintf_device_vk.h139 VkMemoryPropertyFlags memoryPropertyFlags { 0 };
/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/
H A Drender_data_store_default_staging.cpp165 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 Dscene_util.cpp292 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 Dmesh_builder.cpp459 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 Drender_node_parser_util.cpp293 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 DSceneJS.cpp1009 gpuDesc.memoryPropertyFlags = CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in CreateImage()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/
H A Decs_serializer.cpp1126 gpuDesc.memoryPropertyFlags = CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in LoadImageResource()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_serializer.cpp1224 gpuDesc.memoryPropertyFlags = CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in LoadImageResource()
H A Dscene_holder.cpp91 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 Dlume_common.cpp1542 imageDesc.memoryPropertyFlags = in GetImageDesc()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_system.cpp196 desc.memoryPropertyFlags = in CreateReflectionPlaneGpuImageDesc()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_importer.cpp1489 gpuBufferDesc.memoryPropertyFlags = MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_HOST_VISIBLE_BIT | in ImportTexture()
2260 MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, // memoryPropertyFlags in CreateCubemapFromImages()

Completed in 46 milliseconds