Port 2V0-f window input and UI render command bridge

This commit is contained in:
shen
2026-09-22 20:34:45 -07:00
parent 9c30f06083
commit 5590714b16
22 changed files with 693 additions and 182 deletions
@@ -7,20 +7,17 @@
auto CGraphicTexture::IsEmpty() const -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
return m_bEmpty;
}
auto CGraphicTexture::GetWidth() const -> int
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<int>();
return m_width;
}
auto CGraphicTexture::GetHeight() const -> int
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<int>();
return m_height;
}
auto CGraphicTexture::SetTextureStage(int) const -> void
@@ -41,7 +38,9 @@ auto CGraphicTexture::DestroyDeviceObjects() -> void
CGraphicTexture::CGraphicTexture()
{
MT_PLATFORM_STUB();
m_bEmpty = true;
m_width = m_height = 0;
m_lpd3dTexture = nullptr;
}
CGraphicTexture::~CGraphicTexture()
@@ -51,7 +50,8 @@ CGraphicTexture::~CGraphicTexture()
auto CGraphicTexture::Destroy() -> void
{
MT_PLATFORM_STUB();
m_bEmpty = true;
m_width = m_height = 0;
}
auto CGraphicTexture::Initialize() -> void