From e1dda5195cb2b8620a61740e8491cbb243aa653c Mon Sep 17 00:00:00 2001 From: TerminalJack Date: Wed, 6 Nov 2019 20:18:55 -0600 Subject: Added support for vertical syncing via the Windows OS compositor (DWM.) --- doc/classes/OS.xml | 3 +++ doc/classes/ProjectSettings.xml | 3 +++ 2 files changed, 6 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index 331723df7c..54b4f3df64 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -928,6 +928,9 @@ If [code]true[/code], vertical synchronization (Vsync) is enabled. + + If [code]true[/code] and [code]vsync_enabled[/code] is true, the operating system's window compositor will be used for vsync when the compositor is enabled and the game is in windowed mode. + If [code]true[/code], removes the window frame. [b]Note:[/b] Setting [code]window_borderless[/code] to [code]false[/code] disables per-pixel transparency. diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 772c2f5073..97af3ec77a 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -431,6 +431,9 @@ If [code]true[/code], enables vertical synchronization. This eliminates tearing that may appear in moving scenes, at the cost of higher input latency and stuttering at lower framerates. If [code]false[/code], vertical synchronization will be disabled, however, many platforms will enforce it regardless (such as mobile platforms and HTML5). + + If [code]Use Vsync[/code] is enabled and this setting is [code]true[/code], enables vertical synchronization via the operating system's window compositor when in windowed mode and the compositor is enabled. This will prevent stutter in certain situations. (Windows only.) + -- cgit v1.2.3