Add XCUI window compositor seam

This commit is contained in:
2026-04-05 06:15:24 +08:00
parent 0c24c7c611
commit da85109a31
6 changed files with 213 additions and 46 deletions

View File

@@ -5,7 +5,7 @@
#include "Platform/D3D12WindowRenderer.h"
#include "Rendering/MainWindowNativeBackdropRenderer.h"
#include "UI/ImGuiBackendBridge.h"
#include "XCUIBackend/IWindowUICompositor.h"
#include "XCUIBackend/XCUIHostedPreviewPresenter.h"
#include "XCUIBackend/XCUIInputBridge.h"
#include "XCUIBackend/XCUILayoutLabRuntime.h"
@@ -77,8 +77,8 @@ private:
bool CreateMainWindow(HINSTANCE instance, int nCmdShow);
bool InitializeRenderer();
void InitializeImGui();
void ShutdownImGui();
void InitializeWindowCompositor();
void ShutdownWindowCompositor();
void ShutdownRenderer();
void DestroyHostedPreviewSurfaces();
void SyncHostedPreviewSurfaces();
@@ -113,7 +113,7 @@ private:
HWND m_hwnd = nullptr;
::XCEngine::Editor::Platform::D3D12WindowRenderer m_windowRenderer;
::XCEngine::Editor::UI::ImGuiBackendBridge m_imguiBackend;
std::unique_ptr<::XCEngine::Editor::XCUIBackend::IWindowUICompositor> m_windowCompositor;
std::unique_ptr<XCUIDemoPanel> m_demoPanel;
std::unique_ptr<XCUILayoutLabPanel> m_layoutLabPanel;
::XCEngine::Editor::XCUIBackend::XCUIWin32InputSource m_xcuiInputSource;