| 3431 | } |
| 3432 | |
| 3433 | HRESULT CDX11VideoProcessor::SetWindowRect(const CRect& windowRect) |
| 3434 | { |
| 3435 | m_windowRect = windowRect; |
| 3436 | UpdateRenderRect(); |
| 3437 | |
| 3438 | HRESULT hr = S_OK; |
| 3439 | const UINT w = m_windowRect.Width(); |
| 3440 | const UINT h = m_windowRect.Height(); |
| 3441 | |
| 3442 | if (m_pDXGISwapChain1 && !m_bExclusiveScreen) { |
| 3443 | hr = m_pDXGISwapChain1->ResizeBuffers(0, w, h, DXGI_FORMAT_UNKNOWN, 0); |
| 3444 | } |
| 3445 | |
| 3446 | UpdateStatsByWindow(); |
| 3447 | |
| 3448 | UpdatePostScaleTexures(); |
| 3449 | |
| 3450 | return hr; |
| 3451 | } |
| 3452 | |
| 3453 | HRESULT CDX11VideoProcessor::Reset(bool bDisplayModeChange) |
| 3454 | { |
nothing calls this directly
no outgoing calls
no test coverage detected