locked
How to setup refresh rate in DXGI_SWAP_CHAIN_DESC1

    Question

  • There is BufferDesc.RefreshRate in DXGI_SWAP_CHAIN_DESC but nothing similar in  DXGI_SWAP_CHAIN_DESC1... :S

    As I need to measure some draw calls efficiency and the best way to see it in practice is to monitor the refresh rate, is it a way to set refresh rate in DXGI_SWAP_CHAIN_DESC1 to be not tied to vsynch ?

    (I basically use at the moment XAML+ D3D + D2D/DirectWrite through SwapChainBackgroundPanel)

    Thx in advance!

    Saturday, September 01, 2012 8:49 PM

Answers

  • Windows Store apps Presentation is always locked to VSYNC, so you won't get faster than 60 fps.

    Try other way, like QueryPerformanceCounter .


    C++ DX11

    • Marked as answer by NubCoder Sunday, September 02, 2012 5:26 PM
    Sunday, September 02, 2012 12:38 PM