Home
last modified time | relevance | path

Searched refs:swapchainCreateInfo (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Ddevice.cpp510 const bool checkReplaceWindow = (swapchainCreateInfo.window.window != 0); in CreateSwapchainImpl()
511 const bool checkReplaceSurface = (swapchainCreateInfo.surfaceHandle != 0); in CreateSwapchainImpl()
551 swapchainData.swapchain = CreateDeviceSwapchain(swapchainCreateInfo); in CreateSwapchainImpl()
565 swapchainData.surfaceHandle = swapchainCreateInfo.surfaceHandle; in CreateSwapchainImpl()
566 swapchainData.window = swapchainCreateInfo.window.window; in CreateSwapchainImpl()
615 (swapchainCreateInfo.swapchainFlags & SwapchainFlagBits::CORE_SWAPCHAIN_DEPTH_BUFFER_BIT)) { in CreateSwapchainImpl()
635 return CreateSwapchainImpl(swapchainCreateInfo, replacedHandle, name); in CreateSwapchainHandle()
638 RenderHandleReference Device::CreateSwapchainHandle(const SwapchainCreateInfo& swapchainCreateInfo) in CreateSwapchainHandle() argument
642 return CreateSwapchainImpl(swapchainCreateInfo, {}, {}); in CreateSwapchainHandle()
645 void Device::CreateSwapchain(const SwapchainCreateInfo& swapchainCreateInfo) in CreateSwapchain() argument
[all …]
H A Ddevice.h114 void CreateSwapchain(const SwapchainCreateInfo& swapchainCreateInfo) override;
115 RenderHandleReference CreateSwapchainHandle(const SwapchainCreateInfo& swapchainCreateInfo,
117 …RenderHandleReference CreateSwapchainHandle(const SwapchainCreateInfo& swapchainCreateInfo) overri…
121 …S::unique_ptr<Swapchain> CreateDeviceSwapchain(const SwapchainCreateInfo& swapchainCreateInfo) = 0;
124 RenderHandleReference CreateSwapchainImpl(const SwapchainCreateInfo& swapchainCreateInfo,
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dswapchain_vk.cpp242 SwapchainVk::SwapchainVk(Device& device, const SwapchainCreateInfo& swapchainCreateInfo) in SwapchainVk() argument
243 : device_(device), flags_(swapchainCreateInfo.swapchainFlags) in SwapchainVk()
248 if ((swapchainCreateInfo.surfaceHandle == 0) && swapchainCreateInfo.window.window) { in SwapchainVk()
250 win.instance = swapchainCreateInfo.window.instance; in SwapchainVk()
251 win.window = swapchainCreateInfo.window.window; in SwapchainVk()
255 surface_ = VulkanHandleCast<VkSurfaceKHR>(swapchainCreateInfo.surfaceHandle); in SwapchainVk()
295 …ImageUsageFlags desiredUsageFlags = static_cast<VkImageUsageFlags>(swapchainCreateInfo.imageUsageF… in SwapchainVk()
H A Dswapchain_vk.h49 SwapchainVk(Device& device, const SwapchainCreateInfo& swapchainCreateInfo);
H A Ddevice_vk.h116 …ique_ptr<Swapchain> CreateDeviceSwapchain(const SwapchainCreateInfo& swapchainCreateInfo) override;
H A Ddevice_vk.cpp1034 …ique_ptr<Swapchain> DeviceVk::CreateDeviceSwapchain(const SwapchainCreateInfo& swapchainCreateInfo) in CreateDeviceSwapchain() argument
1036 return make_unique<SwapchainVk>(*this, swapchainCreateInfo); in CreateDeviceSwapchain()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dswapchain_gles.cpp271 SwapchainGLES::SwapchainGLES(Device& device, const SwapchainCreateInfo& swapchainCreateInfo) in SwapchainGLES() argument
272 : device_((DeviceGLES&)device), flags_(swapchainCreateInfo.swapchainFlags) in SwapchainGLES()
275 if ((swapchainCreateInfo.surfaceHandle == 0) && swapchainCreateInfo.window.window) { in SwapchainGLES()
277 …device_.GetEglState().CreateSurface(swapchainCreateInfo.window.window, swapchainCreateInfo.window.… in SwapchainGLES()
280 plat_.surface = (uintptr_t)swapchainCreateInfo.surfaceHandle; in SwapchainGLES()
H A Dswapchain_gles.h53 SwapchainGLES(Device& device, const SwapchainCreateInfo& swapchainCreateInfo);
H A Ddevice_gles.h111 …ique_ptr<Swapchain> CreateDeviceSwapchain(const SwapchainCreateInfo& swapchainCreateInfo) override;
H A Ddevice_gles.cpp1225 …ue_ptr<Swapchain> DeviceGLES::CreateDeviceSwapchain(const SwapchainCreateInfo& swapchainCreateInfo) in CreateDeviceSwapchain() argument
1228 auto swapchain = make_unique<SwapchainGLES>(*this, swapchainCreateInfo); in CreateDeviceSwapchain()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dintf_device.h155 virtual void CreateSwapchain(const SwapchainCreateInfo& swapchainCreateInfo) = 0;
168 …virtual RenderHandleReference CreateSwapchainHandle(const SwapchainCreateInfo& swapchainCreateInfo,
174 …al RenderHandleReference CreateSwapchainHandle(const SwapchainCreateInfo& swapchainCreateInfo) = 0;
/ohos5.0/foundation/graphic/graphic_3d/3d_scene_adapter/src/
H A Dscene_adapter.cpp341 RENDER_NS::SwapchainCreateInfo swapchainCreateInfo { in OnWindowChange() local
354 swapchainHandle_ = device.CreateSwapchainHandle(swapchainCreateInfo, swapchainHandle_, {}); in OnWindowChange()
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp1402 RENDER_NS::SwapchainCreateInfo swapchainCreateInfo { in CreateSwapchain() local
1408 RENDER_NS::SwapchainCreateInfo swapchainCreateInfo { in CreateSwapchain() local
1422 swapchainHandle_ = device_->CreateSwapchainHandle(swapchainCreateInfo, swapchainHandle_, {}); in CreateSwapchain()