多个性能优化 (#871)

* test

* perf: 优化流畅度

* chore: 修复编译警告

* test

* perf: 简化状态

* perf: 稍微优化 Renderer 的同步性能

* fix: 优化计时器精度

* fix: 优化调试模式下光标行为

* test

* chore

* perf

* fix: 错误处理
This commit is contained in:
Xu 2024-04-03 19:24:43 +08:00 committed by GitHub
commit ba421b5a06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 275 additions and 387 deletions

View file

@ -118,7 +118,6 @@ FrameSourceBase::UpdateState GraphicsCaptureFrameSource::_Update() noexcept {
_deviceResources->GetD3DDC()->CopySubresourceRegion(_output.get(), 0, 0, 0, 0, withFrame.get(), 0, &_frameBox);
frame.Close();
return UpdateState::NewFrame;
}