Revert "Update new_editor inspector layout and host rendering"

This reverts commit 5d81a64ef3.
This commit is contained in:
2026-04-21 13:55:30 +08:00
parent 64e778da65
commit 2c9e8dad49
62 changed files with 151 additions and 4417 deletions

View File

@@ -77,9 +77,9 @@ public:
void ResetInteractionState();
bool ApplyResize(UINT width, UINT height);
Host::D3D12WindowRenderLoopFrameContext BeginFrame(bool updateFrameTiming = true);
Host::D3D12WindowRenderLoopFrameContext BeginFrame();
Host::D3D12WindowRenderLoopPresentResult Present(
const ::XCEngine::UI::UIDrawData& drawData);
const ::XCEngine::UI::UIDrawData& drawData) const;
void CaptureIfRequested(
const ::XCEngine::UI::UIDrawData& drawData,
UINT pixelWidth,
@@ -102,9 +102,7 @@ private:
UIEditorWorkspaceController m_workspaceController = {};
EditorShellRuntime m_shellRuntime = {};
std::chrono::steady_clock::time_point m_lastFrameTime = {};
std::chrono::steady_clock::time_point m_lastMeasuredFrameTime = {};
bool m_hasLastFrameTime = false;
bool m_hasLastMeasuredFrameTime = false;
float m_smoothedDeltaTimeSeconds = 0.0f;
float m_displayFps = 0.0f;
float m_displayFrameTimeMs = 0.0f;