最終更新:2015-04-06 (月) 14:47:17 (3280d)
DwmFlush
Top / DwmFlush
Issues a flush call that blocks the caller until the next present, when all of the Microsoft DirectX surface updates that are currently outstanding have been made. This compensates for very complex scenes or calling processes with very low priority.
https://msdn.microsoft.com/en-us/library/dd389405(v=VS.85).aspx
メモ
- ウインドウへの描画や、UWLへの書き込みの周りでDwmFlushを呼び出してやると、綺麗にアニメーションするようになります
メモ
- seems to allow a GDI based application to force the Desktop Windows Manager (DWM) to synchronize it's buffers for the application with the display hardware. By placing calls to DwmFlush() in specific locations in my application I was able to eliminate the display issues in Windows 7 with the Aero theme enabled.
- https://forums.wxwidgets.org/viewtopic.php?t=26381