Home
last modified time | relevance | path

Searched refs:createInfo (Results 1 – 25 of 60) sorted by relevance

123

/ohos5.0/base/web/webview/ohos_nweb/src/
H A Dnweb_enhance_surface_adapter.cpp48 std::shared_ptr<NWebCreateInfoImpl> createInfo = std::make_shared<NWebCreateInfoImpl>(); in GetCreateInfo() local
49 createInfo->SetWidth(width); in GetCreateInfo()
50 createInfo->SetHeight(height); in GetCreateInfo()
51 createInfo->SetEngineInitArgs(initArgs); in GetCreateInfo()
52 createInfo->SetIsIncognitoMode(incognitoMode); in GetCreateInfo()
53 createInfo->SetEnhanceSurfaceInfo(enhanceSurfaceInfo); in GetCreateInfo()
54 createInfo->SetOutputFrameCallback(std::make_shared<NWebDefaultOutputFrameCallback>()); in GetCreateInfo()
55 return createInfo; in GetCreateInfo()
H A Dnweb_surface_adapter.cpp57 std::shared_ptr<NWebCreateInfoImpl> createInfo = std::make_shared<NWebCreateInfoImpl>(); in GetCreateInfo() local
58 createInfo->SetEngineInitArgs(initArgs); in GetCreateInfo()
59 createInfo->SetProducerSurface(reinterpret_cast<void *>(&surface)); in GetCreateInfo()
62 return createInfo; in GetCreateInfo()
65 createInfo->SetIsIncognitoMode(incognitoMode); in GetCreateInfo()
66 createInfo->SetWidth((width == 0) ? (uint32_t)surface->GetDefaultWidth() : width); in GetCreateInfo()
67 createInfo->SetHeight((height == 0) ? (uint32_t)surface->GetDefaultHeight() : height); in GetCreateInfo()
70createInfo->SetOutputFrameCallback(std::make_shared<NWebOutputFrameCallbackImpl>(surfaceWeak, this… in GetCreateInfo()
71 return createInfo; in GetCreateInfo()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/
H A Dplatform_ohos.cpp26 PlatformOHOS::PlatformOHOS(PlatformCreateInfo const& createInfo) in CORE_BEGIN_NAMESPACE()
28 plat_.coreRootPath = createInfo.coreRootPath; in CORE_BEGIN_NAMESPACE()
29 plat_.appRootPath = createInfo.appRootPath; in CORE_BEGIN_NAMESPACE()
30 plat_.appPluginPath = createInfo.appPluginPath; in CORE_BEGIN_NAMESPACE()
31 plat_.hapPath = createInfo.hapPath; in CORE_BEGIN_NAMESPACE()
32 plat_.bundleName = createInfo.bundleName; in CORE_BEGIN_NAMESPACE()
33 plat_.moduleName = createInfo.moduleName; in CORE_BEGIN_NAMESPACE()
67 CORE_NS::IPlatform::Ptr Platform::Create(PlatformCreateInfo const& createInfo) in Create() argument
69 return CORE_NS::IPlatform::Ptr(new PlatformOHOS(createInfo)); in Create()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_context_manager.cpp39 RenderNodeContextManager::RenderNodeContextManager(const CreateInfo& createInfo) in RENDER_BEGIN_NAMESPACE()
40 … : renderContext_(createInfo.renderContext), renderNodeGraphData_(createInfo.renderNodeGraphData), in RENDER_BEGIN_NAMESPACE()
41 renderNodeGraphInputs_(createInfo.renderNodeGraphInputs), in RENDER_BEGIN_NAMESPACE()
42 … fullName_(renderNodeGraphData_.renderNodeGraphName + createInfo.name), nodeName_(createInfo.name), in RENDER_BEGIN_NAMESPACE()
43 …nodeJson_(createInfo.nodeJson), renderNodeGraphShareDataMgr_(createInfo.renderNodeGraphShareDataMg… in RENDER_BEGIN_NAMESPACE()
44 …descriptorSetMgr_(createInfo.descriptorSetMgr), psoMgr_(createInfo.psoMgr), renderCommandList_(cre… in RENDER_BEGIN_NAMESPACE()
46 IDevice& dev = createInfo.renderContext.GetDevice(); in RENDER_BEGIN_NAMESPACE()
/ohos5.0/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.spvData); in ShaderModuleVk()
H A Dgpu_query_vk.cpp36 const VkQueryPoolCreateInfo createInfo { in RENDER_BEGIN_NAMESPACE() local
48 &createInfo, // pCreateInfo in RENDER_BEGIN_NAMESPACE()
H A Ddevice_vk.cpp344 PlatformGpuMemoryAllocator::GpuMemoryAllocatorCreateInfo createInfo; in GetAllocatorCreateInfo() local
349 createInfo.preferredLargeHeapBlockSize = Math::min( in GetAllocatorCreateInfo()
365 createInfo.customPools.push_back({ in GetAllocatorCreateInfo()
381 createInfo.customPools.push_back({ in GetAllocatorCreateInfo()
390 return createInfo; in GetAllocatorCreateInfo()
603 …enderContext& renderContext, DeviceCreateInfo const& createInfo) : Device(renderContext, createInf… in DeviceVk() argument
608 …const BackendExtraVk* backendExtra = static_cast<const BackendExtraVk*>(createInfo.backendConfigur… in DeviceVk()
1211 unique_ptr<Device> CreateDeviceVk(RenderContext& renderContext, DeviceCreateInfo const& createInfo) in CreateDeviceVk() argument
1213 return make_unique<DeviceVk>(renderContext, createInfo); in CreateDeviceVk()
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_inner_account_mgr_mock.cpp166 OsAccountInfo createInfo; variable
224 OsAccountInfo createInfo; variable
281 OsAccountInfo createInfo; variable
345 OsAccountInfo createInfo; variable
411 OsAccountInfo createInfo; variable
468 OsAccountInfo createInfo; variable
530 OsAccountInfo createInfo; variable
596 OsAccountInfo createInfo; variable
629 OsAccountInfo createInfo; variable
702 OsAccountInfo createInfo; variable
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_manager.cpp501 …{ createInfo.renderSlotId, createInfo.pipelineLayoutIndex, reflectionPlIndex, createInfo.categoryI… in Create()
509 { clientHandle, createInfo.shaderModuleIndex, createInfo.pipelineLayoutIndex }); in Create()
527 nameDataRef.path = createInfo.path; in Create()
572 …{ createInfo.renderSlotId, createInfo.pipelineLayoutIndex, reflectionPlIndex, createInfo.categoryI… in Create()
584createInfo.fragShaderModuleIndex, createInfo.pipelineLayoutIndex, createInfo.vertexInputDeclaratio… in Create()
662 …return Create(ComputeShaderCreateData { createInfo.path, createInfo.renderSlotId, createInfo.categ… in CreateComputeShader()
667 string(createInfo.path).c_str(), string(createInfo.shaderPaths[0].path).c_str()); in CreateComputeShader()
688 … return Create(ShaderCreateData { createInfo.path, createInfo.renderSlotId, createInfo.categoryId, in CreateShader()
696 string(createInfo.path).c_str(), string(createInfo.shaderPaths[0u].path).c_str(), in CreateShader()
1240 if (!createInfo.path.empty()) { in CreateVertexInputDeclaration()
[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 …
148 …eference 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…
222 …RenderHandleReference Create(const ComputeShaderCreateData& createInfo, const ShaderPathCreateData…
223 …RenderHandleReference Create(const ShaderCreateData& createInfo, const ShaderPathCreateData& pathC…
[all …]
/ohos5.0/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()
/ohos5.0/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.… in ProcessShaderModule()
221 ShaderModuleGLES::ShaderModuleGLES(Device& device, const ShaderModuleCreateInfo& createInfo) in ShaderModuleGLES() argument
222 : device_(device), shaderStageFlags_(createInfo.shaderStageFlags) in ShaderModuleGLES()
224 if (createInfo.reflectionData.IsValid() && in ShaderModuleGLES()
[all …]
/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/
H A Dswapchain_layer.cpp655 const VkSwapchainCreateInfoKHR* createInfo) in SetWindowBufferUsage() argument
662 …pDisp->GetSwapchainGrallocUsageOHOS(device, createInfo->imageFormat, createInfo->imageUsage, &gral… in SetWindowBufferUsage()
726 uint32_t numImages = createInfo->minImageCount; in SetWindowQueueSize()
760 static_cast<int>(createInfo->imageColorSpace)); in SetWindowInfo()
795 if (createInfo->oldSwapchain != VK_NULL_HANDLE) { in SetSwapchainCreateInfo()
799 return SetWindowInfo(device, createInfo); in SetSwapchainCreateInfo()
808 imageCreate->format = createInfo->imageFormat; in InitImageCreateInfo()
814 imageCreate->usage = createInfo->imageUsage; in InitImageCreateInfo()
828 if (createInfo->oldSwapchain != VK_NULL_HANDLE) { in CreateImages()
942 InitImageCreateInfo(createInfo, &imageCreate); in CreateSwapchainKHR()
[all …]
/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dintf_shader_manager.h200 … virtual RenderHandleReference CreateComputeShader(const ComputeShaderCreateInfo& createInfo) = 0; in RENDER_BEGIN_NAMESPACE()
208 virtual RenderHandleReference CreateComputeShader(const ComputeShaderCreateInfo& createInfo, in RENDER_BEGIN_NAMESPACE()
215 virtual RenderHandleReference CreateShader(const ShaderCreateInfo& createInfo) = 0; in RENDER_BEGIN_NAMESPACE()
223 virtual RenderHandleReference CreateShader(const ShaderCreateInfo& createInfo, in RENDER_BEGIN_NAMESPACE()
230 …virtual RenderHandleReference CreatePipelineLayout(const PipelineLayoutCreateInfo& createInfo) = 0; in RENDER_BEGIN_NAMESPACE()
236 …ndleReference CreateVertexInputDeclaration(const VertexInputDeclarationCreateInfo& createInfo) = 0; in RENDER_BEGIN_NAMESPACE()
243 … virtual RenderHandleReference CreateGraphicsState(const GraphicsStateCreateInfo& createInfo) = 0; in RENDER_BEGIN_NAMESPACE()
251 …const GraphicsStateCreateInfo& createInfo, const GraphicsStateVariantCreateInfo& variantCreateInfo… in RENDER_BEGIN_NAMESPACE()
/ohos5.0/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;
146 … virtual BASE_NS::shared_ptr<IObject> Create(ObjectId id, const CreateInfo& createInfo) const = 0;
175 …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() argument
301 auto p = Create(uid, createInfo); in Create()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/transport/
H A Dtransport_factory.cpp30 …d::unique_ptr<DataTransport> TransportFactory::CreateL2capTransport(L2capTransportInfo &createInfo) in CreateL2capTransport() argument
33 return std::make_unique<L2capTransport>(createInfo); in CreateL2capTransport()
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()
/ohos5.0/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.appli… in Engine()
383 IEngine::Ptr CreateEngine(EngineCreateInfo const& createInfo) in CreateEngine() argument
385 auto engine = new Engine(createInfo); in CreateEngine()
/ohos5.0/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 …
62 IObject::Ptr Create(ObjectId uid, const CreateInfo& createInfo) const override;
63 IObject::Ptr Create(const ClassInfo& info, const CreateInfo& createInfo) const override;
140 …te(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::Pt… 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& … in PostCreate() argument
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) c… in Create()
313 return Create(info.Id(), createInfo); in Create()
/ohos5.0/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()
H A Drender_context.h68 RenderResultCode Init(const RenderCreateInfo& createInfo) override;
109 BASE_NS::unique_ptr<Device> CreateDevice(const DeviceCreateInfo& createInfo);
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/
H A Dplatform.h27 static CORE_NS::IPlatform::Ptr Create(CORE_NS::PlatformCreateInfo const& createInfo);

123