mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
feat: 保存图形适配器供 Desktop Duplication 使用
This commit is contained in:
parent
da3a06a659
commit
56a8b03c3a
18 changed files with 83 additions and 42 deletions
|
|
@ -156,10 +156,6 @@ bool GraphicsCaptureFrameSource::Initialize() {
|
|||
return true;
|
||||
}
|
||||
|
||||
ComPtr<ID3D11Texture2D> GraphicsCaptureFrameSource::GetOutput() {
|
||||
return _output;
|
||||
}
|
||||
|
||||
bool GraphicsCaptureFrameSource::Update() {
|
||||
winrt::Direct3D11CaptureFrame frame = _captureFramePool.TryGetNextFrame();
|
||||
if (!frame) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue