View Single Post
Old 26 December 2017, 16:30   #265
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
Quote:
Originally Posted by mark_k View Post
Did you experiment with DXGI_SWAP_EFFECT_FLIP_DISCARD too?

Testing winuae.exe 2017-12-23 21:11 on Windows 10 1709, AMD FirePro W5100 in D3D11 mode:
- With "No buffering" vsync is now forced in full-window mode. Before (with 3.6.0b14) there was tearing in full-window mode with No buffering.
- With "Double buffering" there is still tearing in full-window mode (same as 3.6.0b14).
- Still in full-window mode, running emulation with double buffering, opening setttings, changing to no buffering and continuing emulation results in the previous image remaining static on-screen but sound playing. So emulation runs but the display is not updated at all.
I can't see any difference with DXGI_SWAP_EFFECT_FLIP_DISCARD (I was originally going to use it but RTG did partial updates and could not have worked, since then a lot has changed and now there is separate "staging texture" that custom emulation code updates, after update it is blitted to another texture that is used for rendering. Which mean _DISCARD will work fine in any mode)

Blit model is now only used if DXGI 1.5 tearing mode is not available.
Toni Wilen is offline  
 
Page generated in 0.05953 seconds with 11 queries