/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | platform_ohos.cpp | 26 PlatformOHOS::PlatformOHOS(PlatformCreateInfo const& createInfo) in PlatformOHOS() argument 28 plat_.coreRootPath = createInfo.coreRootPath; in PlatformOHOS() 29 plat_.appRootPath = createInfo.appRootPath; in PlatformOHOS() 30 plat_.appPluginPath = createInfo.appPluginPath; in PlatformOHOS() 31 plat_.hapPath = createInfo.hapPath; in PlatformOHOS() 32 plat_.bundleName = createInfo.bundleName; in PlatformOHOS() 33 plat_.moduleName = createInfo.moduleName; in PlatformOHOS() 67 CORE_NS::IPlatform::Ptr Platform::Create(PlatformCreateInfo const& createInfo) in Create() argument 69 return CORE_NS::IPlatform::Ptr(new PlatformOHOS(createInfo)); in Create()
|
H A D | platform_ohos.h | 42 explicit PlatformOHOS(PlatformCreateInfo const& createInfo);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_context_manager.cpp | 39 RenderNodeContextManager::RenderNodeContextManager(const CreateInfo& createInfo) in RenderNodeContextManager() argument 40 : renderContext_(createInfo.renderContext), renderNodeGraphData_(createInfo.renderNodeGraphData), in RenderNodeContextManager() 41 renderNodeGraphInputs_(createInfo.renderNodeGraphInputs), in RenderNodeContextManager() 42 fullName_(renderNodeGraphData_.renderNodeGraphName + createInfo.name), nodeName_(createInfo.name), in RenderNodeContextManager() 43 nodeJson_(createInfo.nodeJson), renderNodeGraphShareDataMgr_(createInfo.renderNodeGraphShareDataMgr), in RenderNodeContextManager() 44 descriptorSetMgr_(createInfo.descriptorSetMgr), psoMgr_(createInfo in RenderNodeContextManager() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | shader_module_vk.cpp | 59 ShaderModuleVk::ShaderModuleVk(Device& device, const ShaderModuleCreateInfo& createInfo) in ShaderModuleVk() argument 60 : device_(device), shaderStageFlags_(createInfo.shaderStageFlags) in ShaderModuleVk() 62 PLUGIN_ASSERT(createInfo.spvData.size() > 0); in ShaderModuleVk() 63 PLUGIN_ASSERT(createInfo.shaderStageFlags & (ShaderStageFlagBits::CORE_SHADER_STAGE_VERTEX_BIT | in ShaderModuleVk() 68 if (createInfo.reflectionData.IsValid()) { in ShaderModuleVk() 70 pipelineLayout_ = createInfo.reflectionData.GetPipelineLayout(); in ShaderModuleVk() 72 constants_ = createInfo.reflectionData.GetSpecializationConstants(); in ShaderModuleVk() 76 vertexInputAttributeDescriptions_ = createInfo.reflectionData.GetInputDescriptions(); in ShaderModuleVk() 88 const Math::UVec3 tgs = createInfo.reflectionData.GetLocalSize(); in ShaderModuleVk() 102 plat_.shaderModule = CreateShaderModule(vkDevice, createInfo in ShaderModuleVk() [all...] |
H A D | gpu_query_vk.cpp | 36 const VkQueryPoolCreateInfo createInfo { in GpuQueryVk() 48 &createInfo, // pCreateInfo in GpuQueryVk()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/mac/ |
H A D | platform_mac.cpp | 31 PlatformMac::PlatformMac(PlatformCreateInfo const& createInfo) in PlatformMac() argument 72 plat_.coreRootPath = fixPath(createInfo.coreRootPath); in PlatformMac() 73 plat_.appRootPath = fixPath(createInfo.appRootPath); in PlatformMac() 74 plat_.appPluginPath = fixPath(createInfo.appPluginPath); in PlatformMac() 107 CORE_NS::IPlatform::Ptr Platform::Create(PlatformCreateInfo const& createInfo) in Create() argument 109 return CORE_NS::IPlatform::Ptr(new PlatformMac(createInfo)); in Create()
|
H A D | platform_mac.h | 35 explicit PlatformMac(PlatformCreateInfo const& createInfo);
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/linux/ |
H A D | platform_linux.cpp | 30 PlatformLinux::PlatformLinux(PlatformCreateInfo const& createInfo) in PlatformLinux() argument 72 plat_.coreRootPath = fixPath(createInfo.coreRootPath); in PlatformLinux() 73 plat_.appRootPath = fixPath(createInfo.appRootPath); in PlatformLinux() 74 plat_.appPluginPath = fixPath(createInfo.appPluginPath); in PlatformLinux() 91 CORE_NS::IPlatform::Ptr Platform::Create(PlatformCreateInfo const& createInfo) in Create() argument 93 return CORE_NS::IPlatform::Ptr(new PlatformLinux(createInfo)); in Create()
|
H A D | platform_linux.h | 34 explicit PlatformLinux(PlatformCreateInfo const& createInfo);
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/windows/ |
H A D | platform_windows.cpp | 36 PlatformWindows::PlatformWindows(PlatformCreateInfo const& createInfo) in PlatformWindows() argument 92 plat_.coreRootPath = fixPath(createInfo.coreRootPath); in PlatformWindows() 93 plat_.appRootPath = fixPath(createInfo.appRootPath); in PlatformWindows() 94 plat_.appPluginPath = fixPath(createInfo.appPluginPath); in PlatformWindows() 111 CORE_NS::IPlatform::Ptr Platform::Create(PlatformCreateInfo const& createInfo) in Create() argument 113 return CORE_NS::IPlatform::Ptr(new PlatformWindows(createInfo)); in Create()
|
H A D | platform_windows.h | 38 explicit PlatformWindows(PlatformCreateInfo const& createInfo);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | shader_module_gles.cpp | 161 void ProcessShaderModule(ShaderBase& me, const ShaderModuleCreateInfo& createInfo) in ProcessShaderModule() argument 163 me.pipelineLayout_ = createInfo.reflectionData.GetPipelineLayout(); in ProcessShaderModule() 165 me.vertexInputAttributeDescriptions_ = createInfo.reflectionData.GetInputDescriptions(); in ProcessShaderModule() 181 const Math::UVec3 tgs = createInfo.reflectionData.GetLocalSize(); in ProcessShaderModule() 186 if (auto* ptr = createInfo.reflectionData.GetPushConstants(); ptr) { in ProcessShaderModule() 204 me.constants_ = createInfo.reflectionData.GetSpecializationConstants(); in ProcessShaderModule() 212 static_cast<const char*>(static_cast<const void*>(createInfo.spvData.data())), createInfo.spvData.size()); in ProcessShaderModule() 221 ShaderModuleGLES::ShaderModuleGLES(Device& device, const ShaderModuleCreateInfo& createInfo) in ShaderModuleGLES() argument 222 : device_(device), shaderStageFlags_(createInfo in ShaderModuleGLES() [all...] |
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/ |
H A D | swapchain_layer.cpp | 626 VKAPI_ATTR VkResult SetWindowTransform(NativeWindow* window, const VkSwapchainCreateInfoKHR* createInfo) in SetWindowTransform() argument 628 OH_NativeBuffer_TransformType transformType = InvertTransformToNative(createInfo->preTransform); in SetWindowTransform() 630 static_cast<int>(createInfo->preTransform), static_cast<int>(transformType)); in SetWindowTransform() 646 if (transformHint != TranslateVulkanToNativeTransform(createInfo->preTransform)) { in SetWindowTransform() 648 transformHint, TranslateVulkanToNativeTransform(createInfo->preTransform)); in SetWindowTransform() 655 const VkSwapchainCreateInfoKHR* createInfo) in SetWindowBufferUsage() 662 pDisp->GetSwapchainGrallocUsageOHOS(device, createInfo->imageFormat, createInfo->imageUsage, &grallocUsage); in SetWindowBufferUsage() 670 bool userSetVkTransform = createInfo->preTransform != VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR; in SetWindowBufferUsage() 672 userSetVkTransform, static_cast<int32_t>(createInfo in SetWindowBufferUsage() 654 SetWindowBufferUsage(VkDevice device, NativeWindow* window, const VkSwapchainCreateInfoKHR* createInfo) SetWindowBufferUsage() argument 721 SetWindowQueueSize(NativeWindow* window, const VkSwapchainCreateInfoKHR* createInfo) SetWindowQueueSize() argument 742 SetWindowInfo(VkDevice device, const VkSwapchainCreateInfoKHR* createInfo) SetWindowInfo() argument 793 SetSwapchainCreateInfo(VkDevice device, const VkSwapchainCreateInfoKHR* createInfo) SetSwapchainCreateInfo() argument 802 InitImageCreateInfo(const VkSwapchainCreateInfoKHR* createInfo, VkImageCreateInfo* imageCreate) InitImageCreateInfo() argument 820 CreateImages(uint32_t &numImages, Swapchain* swapchain, const VkSwapchainCreateInfoKHR* createInfo, VkImageCreateInfo &imageCreate, VkDevice device) CreateImages() argument 900 CreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR* createInfo, const VkAllocationCallbacks* allocator, VkSwapchainKHR* swapchainHandle) CreateSwapchainKHR() argument 1643 VkDeviceCreateInfo createInfo = *pCreateInfo; CreateDevice() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_manager.cpp | 488 const ComputeShaderCreateData& createInfo, const ShaderPathCreateData& pathCreateInfo) in Create() 492 const string fullName = createInfo.path + pathCreateInfo.variantName; in Create() 495 if (const ShaderModule* cs = GetShaderModule(createInfo.shaderModuleIndex); cs) { in Create() 501 { createInfo.renderSlotId, createInfo.pipelineLayoutIndex, reflectionPlIndex, createInfo.categoryId }); in Create() 502 if (createInfo.pipelineLayoutIndex != INVALID_SM_INDEX) { in Create() 503 pl_.computeShaderToIndex[clientHandle] = createInfo.pipelineLayoutIndex; in Create() 509 { clientHandle, createInfo.shaderModuleIndex, createInfo in Create() 487 Create( const ComputeShaderCreateData& createInfo, const ShaderPathCreateData& pathCreateInfo) Create() argument 551 Create( const ShaderCreateData& createInfo, const ShaderPathCreateData& pathCreateInfo) Create() argument 656 CreateComputeShader( const ComputeShaderCreateInfo& createInfo, const string_view baseShaderPath, const string_view variantName) CreateComputeShader() argument 676 CreateComputeShader(const ComputeShaderCreateInfo& createInfo) CreateComputeShader() argument 681 CreateShader( const ShaderCreateInfo& createInfo, const string_view baseShaderPath, const string_view variantName) CreateShader() argument 706 CreateShader(const ShaderCreateInfo& createInfo) CreateShader() argument 932 CreateGraphicsState( const GraphicsStateCreateInfo& createInfo, const GraphicsStateVariantCreateInfo& variantCreateInfo) CreateGraphicsState() argument 986 CreateGraphicsState(const GraphicsStateCreateInfo& createInfo) CreateGraphicsState() argument [all...] |
H A D | shader_manager.h | 141 RenderHandleReference CreateComputeShader(const ComputeShaderCreateInfo& createInfo) override; 142 RenderHandleReference CreateComputeShader(const ComputeShaderCreateInfo& createInfo, 144 RenderHandleReference CreateShader(const ShaderCreateInfo& createInfo) override; 145 RenderHandleReference CreateShader(const ShaderCreateInfo& createInfo, const BASE_NS::string_view baseShaderPath, 148 RenderHandleReference CreateVertexInputDeclaration(const VertexInputDeclarationCreateInfo& createInfo) override; 149 RenderHandleReference CreatePipelineLayout(const PipelineLayoutCreateInfo& createInfo) override; 150 RenderHandleReference CreateGraphicsState(const GraphicsStateCreateInfo& createInfo) override; 152 const GraphicsStateCreateInfo& createInfo, const GraphicsStateVariantCreateInfo& variantCreateInfo) override; 222 RenderHandleReference Create(const ComputeShaderCreateData& createInfo, const ShaderPathCreateData& pathCreateInfo); 223 RenderHandleReference Create(const ShaderCreateData& createInfo, cons [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/transport/ |
H A D | transport_factory.cpp | 30 std::unique_ptr<DataTransport> TransportFactory::CreateL2capTransport(L2capTransportInfo &createInfo) in CreateL2capTransport() argument 33 return std::make_unique<L2capTransport>(createInfo); in CreateL2capTransport()
|
H A D | transport_factory.h | 46 * @param createInfo create info struct. 49 static std::unique_ptr<DataTransport> CreateL2capTransport(L2capTransportInfo &createInfo);
|
H A D | transport_l2cap.cpp | 26 L2capTransport::L2capTransport(L2capTransportInfo &createInfo) in L2capTransport() argument 27 : lpsm_(createInfo.lpsm), in L2capTransport() 28 rpsm_(createInfo.rpsm), in L2capTransport() 29 localMtu_(createInfo.mtu), in L2capTransport() 30 observer_(createInfo.observer), in L2capTransport() 31 dispatcher_(createInfo.dispatcher) in L2capTransport() 33 if (createInfo.addr != nullptr) { in L2capTransport() 36 remoteAddr_ = *createInfo.addr; in L2capTransport() 180 L2capTransportInfo createInfo = {&addr, lpsm_, rpsm_, localMtu_, observer_, dispatcher_}; in AddTransportInternal() local 181 auto newTransport = new (std::nothrow) L2capTransport(createInfo); in AddTransportInternal() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | intf_shader_manager.h | 197 * @param createInfo A create info with valid parameters. 200 virtual RenderHandleReference CreateComputeShader(const ComputeShaderCreateInfo& createInfo) = 0; 203 * @param createInfo A create info with valid parameters. 208 virtual RenderHandleReference CreateComputeShader(const ComputeShaderCreateInfo& createInfo, 212 * @param createInfo A create info with valid parameters. 215 virtual RenderHandleReference CreateShader(const ShaderCreateInfo& createInfo) = 0; 218 * @param createInfo A create info with valid parameters. 223 virtual RenderHandleReference CreateShader(const ShaderCreateInfo& createInfo, 227 * @param createInfo A pipeline layout create info. 230 virtual RenderHandleReference CreatePipelineLayout(const PipelineLayoutCreateInfo& createInfo) [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_object_registry.h | 138 ObjectId id, const CreateInfo& createInfo, const BASE_NS::shared_ptr<IMetadata>& data) const = 0; 143 * @param createInfo Force some parameters for the created object. 146 virtual BASE_NS::shared_ptr<IObject> Create(ObjectId id, const CreateInfo& createInfo) const = 0; 172 * @param createInfo Force some parameters for the created object. 175 virtual BASE_NS::shared_ptr<IObject> Create(const META_NS::ClassInfo& info, const CreateInfo& createInfo) const = 0; 299 typename Interface::Ptr Create(ObjectId uid, const CreateInfo& createInfo) const in Create() 301 auto p = Create(uid, createInfo); in Create()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ |
H A D | platform.h | 27 static CORE_NS::IPlatform::Ptr Create(CORE_NS::PlatformCreateInfo const& createInfo);
|
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | object_registry.h | 61 IObject::Ptr Create(ObjectId uid, const CreateInfo& createInfo, const IMetadata::Ptr& data) const override; 62 IObject::Ptr Create(ObjectId uid, const CreateInfo& createInfo) const override; 63 IObject::Ptr Create(const ClassInfo& info, const CreateInfo& createInfo) const override; 140 bool PostCreate(const BASE_NS::Uid& uid, InstanceId instid, const CreateResult& t, const CreateInfo& createInfo,
|
H A D | object_registry.cpp | 240 IObject::Ptr ObjectRegistry::Create(ObjectId uid, const CreateInfo& createInfo, const IMetadata::Ptr& data) const in Create() argument 244 auto instid = createInfo.instanceId; in Create() 268 if (PostCreate(uid.ToUid(), instid.ToUid(), t, createInfo, classes, data)) { in Create() 278 const CreateInfo& createInfo, const BASE_NS::vector<IObject::Ptr>& classes, const IMetadata::Ptr& data) const in PostCreate() 299 if (createInfo.isGloballyAvailable) { in PostCreate() 306 IObject::Ptr ObjectRegistry::Create(ObjectId uid, const CreateInfo& createInfo) const in Create() 308 return Create(uid, createInfo, nullptr); in Create() 311 IObject::Ptr ObjectRegistry::Create(const META_NS::ClassInfo& info, const CreateInfo& createInfo) const in Create() 313 return Create(info.Id(), createInfo); in Create() 277 PostCreate(const BASE_NS::Uid& uid, InstanceId instid, const CreateResult& t, const CreateInfo& createInfo, const BASE_NS::vector<IObject::Ptr>& classes, const IMetadata::Ptr& data) const PostCreate() argument
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/ |
H A D | render_context.cpp | 391 RenderResultCode RenderContext::Init(const RenderCreateInfo& createInfo) in Init() argument 395 createInfo_ = createInfo; in Init() 526 unique_ptr<Device> RenderContext::CreateDevice(const DeviceCreateInfo& createInfo) in CreateDevice() argument 528 switch (createInfo.backendType) { in CreateDevice() 531 return CreateDeviceGL(*this, createInfo); in CreateDevice() 537 return CreateDeviceGLES(*this, createInfo); in CreateDevice() 543 return CreateDeviceVk(*this, createInfo); in CreateDevice()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ |
H A D | engine.cpp | 90 Engine::Engine(EngineCreateInfo const& createInfo) in Engine() argument 91 : platform_(Platform::Create(createInfo.platformCreateInfo)), applicationContext_(createInfo.applicationContext) in Engine() 383 IEngine::Ptr CreateEngine(EngineCreateInfo const& createInfo) in CreateEngine() argument 385 auto engine = new Engine(createInfo); in CreateEngine()
|