mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-06-08 07:44:32 +00:00
[idd] driver: implement dirty rect tracking
This commit is contained in:
committed by
Geoffrey McRae
parent
bd88a64a98
commit
929428c273
@@ -62,7 +62,10 @@ class CInteropResource
|
||||
void Signal();
|
||||
void Sync(CD3D12CommandQueue& queue);
|
||||
void SetFullDamage();
|
||||
void SetDirtyRects(const RECT * dirtyRects, unsigned nbDirtyRects);
|
||||
|
||||
const ComPtr<ID3D12Resource>& GetRes() { return m_d12Res; }
|
||||
const D3D11_TEXTURE2D_DESC& GetFormat() { return m_format; }
|
||||
};
|
||||
const RECT * GetDirtyRects() { return m_dirtyRects; }
|
||||
unsigned GetDirtyRectCount() { return m_nbDirtyRects; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user