Home
last modified time | relevance | path

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

123

/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/
H A Dplatform_ohos.cpp26 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 Dplatform_ohos.h42 explicit PlatformOHOS(PlatformCreateInfo const& createInfo);
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_context_manager.cpp39 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 Dshader_module_vk.cpp59 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 Dgpu_query_vk.cpp36 const VkQueryPoolCreateInfo createInfo { in GpuQueryVk()
48 &createInfo, // pCreateInfo in GpuQueryVk()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/mac/
H A Dplatform_mac.cpp31 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 Dplatform_mac.h35 explicit PlatformMac(PlatformCreateInfo const& createInfo);
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/linux/
H A Dplatform_linux.cpp30 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 Dplatform_linux.h34 explicit PlatformLinux(PlatformCreateInfo const& createInfo);
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/windows/
H A Dplatform_windows.cpp36 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 Dplatform_windows.h38 explicit PlatformWindows(PlatformCreateInfo const& createInfo);
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dshader_module_gles.cpp161 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 Dswapchain_layer.cpp626 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 Dshader_manager.cpp488 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 Dshader_manager.h141 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 Dtransport_factory.cpp30 std::unique_ptr<DataTransport> TransportFactory::CreateL2capTransport(L2capTransportInfo &createInfo) in CreateL2capTransport() argument
33 return std::make_unique<L2capTransport>(createInfo); in CreateL2capTransport()
H A Dtransport_factory.h46 * @param createInfo create info struct.
49 static std::unique_ptr<DataTransport> CreateL2capTransport(L2capTransportInfo &createInfo);
H A Dtransport_l2cap.cpp26 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 Dintf_shader_manager.h197 * @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 Dintf_object_registry.h138 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 Dplatform.h27 static CORE_NS::IPlatform::Ptr Create(CORE_NS::PlatformCreateInfo const& createInfo);
/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dobject_registry.h61 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 Dobject_registry.cpp240 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 Drender_context.cpp391 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 Dengine.cpp90 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()

Completed in 14 milliseconds

123