MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / UpdatePostScaleTexures

Method UpdatePostScaleTexures

Source/DX9VideoProcessor.cpp:2206–2215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2204}
2205
2206void CDX9VideoProcessor::UpdatePostScaleTexures()
2207{
2208 const bool needDither = (m_InternalTexFmt != D3DFMT_X8R8G8B8); // the output is always D3DFMT_X8R8G8B8
2209
2210 m_bFinalPass = (m_bUseDither && needDither && m_TexDither.pTexture && m_pPSFinalPass);
2211
2212 const UINT numPostScaleSteps = GetPostScaleSteps();
2213 HRESULT hr = m_TexsPostScale.CheckCreate(m_pD3DDevEx, m_InternalTexFmt, m_windowRect.Width(), m_windowRect.Height(), numPostScaleSteps);
2214 //UpdateStatsPostProc();
2215}
2216
2217void CDX9VideoProcessor::UpdateUpscalingShaders()
2218{

Callers

nothing calls this directly

Calls 1

CheckCreateMethod · 0.45

Tested by

no test coverage detected