diff --git a/Qwilight/Assets/Language.json b/Qwilight/Assets/Language.json
index a6b5339..a122fa8 100644
--- a/Qwilight/Assets/Language.json
+++ b/Qwilight/Assets/Language.json
@@ -453,7 +453,7 @@
},
"AveragerText": {
"ko-KR": "노멀라이즈 활성화",
- "en-US": "Normalize enabled"
+ "en-US": "Enable normalize"
},
"BanalAudioContents": {
"ko-KR": "모든 노트에 범용 키음을 추가로 할당합니다.",
@@ -1025,7 +1025,7 @@
},
"FavorDefaultAudioVarietyText": {
"ko-KR": "커스텀 BGM 활성화",
- "en-US": "Enabling Custom BGM"
+ "en-US": "Enable custom BGM"
},
"FavorHitPoints0Unit": {
"ko-KR": "토탈 비례 수치",
@@ -2607,6 +2607,10 @@
"ko-KR": "지원하지 않는 파일입니다.",
"en-US": "This file is not supported."
},
+ "NotTearingText": {
+ "ko-KR": "티어링 비활성화",
+ "en-US": "Disable tearing"
+ },
"NotTubeText": {
"ko-KR": "컴프레서 비활성화",
"en-US": "Disable compressor"
@@ -3243,6 +3247,14 @@
"ko-KR": "노트를 반전시킵니다. (미러)",
"en-US": "Mirror mode"
},
+ "TearingContents": {
+ "ko-KR": "동적 주사율을 사용하려면 티어링을 활성화하세요",
+ "en-US": "Enable tearing to use dynamic refresh rate"
+ },
+ "TearingText": {
+ "ko-KR": "티어링 활성화",
+ "en-US": "Enable tearing"
+ },
"TestHitPointsModeContents": {
"ko-KR": "단위인정용 라이프 게이지를 사용합니다.",
"en-US": "Use a life gauge for dan."
diff --git a/Qwilight/Qwilight.csproj b/Qwilight/Qwilight.csproj
index a919a7e..962f928 100644
--- a/Qwilight/Qwilight.csproj
+++ b/Qwilight/Qwilight.csproj
@@ -10,7 +10,7 @@
Qwilight.ico
Taehui
불로그
- 1.16.21
+ 1.16.22
true
enable
true
diff --git a/Qwilight/System/Configure/Configure.cs b/Qwilight/System/Configure/Configure.cs
index 2b5eea9..c8b4de6 100644
--- a/Qwilight/System/Configure/Configure.cs
+++ b/Qwilight/System/Configure/Configure.cs
@@ -269,6 +269,7 @@
int _windowLength;
int _windowHeight;
bool _vesa;
+ bool _tearing;
bool _dataCount3;
NVLLMode _valueNVLLMode;
double _valueNVLLFramerate;
@@ -514,7 +515,7 @@
set
{
- if (SetProperty(ref _vesa, value))
+ if (SetProperty(ref _vesa, value, nameof(VESAV2)))
{
OnPropertyChanged(nameof(VESAPaint));
OnPropertyChanged(nameof(VESAText));
@@ -527,6 +528,25 @@
public string VESAText => VESAV2 ? LanguageSystem.Instance.VESAText : LanguageSystem.Instance.NotVESAText;
+ public bool Tearing
+ {
+ get => _tearing;
+
+ set
+ {
+ if (SetProperty(ref _tearing, value))
+ {
+ OnPropertyChanged(nameof(TearingPaint));
+ OnPropertyChanged(nameof(TearingText));
+ OnSetAutoNVLLFramerate();
+ }
+ }
+ }
+
+ public Brush TearingPaint => Paints.PointPaints[Tearing ? 1 : 0];
+
+ public string TearingText => Tearing ? LanguageSystem.Instance.TearingText : LanguageSystem.Instance.NotTearingText;
+
public bool DataCount3
{
get => _dataCount3;
@@ -3440,6 +3460,10 @@
{
WMPointer = false;
}
+ if (isInit || Utility.IsLowerDate(Date, 1, 16, 22))
+ {
+ Tearing = true;
+ }
if (!UIConfigureValuesV2.ContainsKey(UIItemValue.Title))
{
UIConfigureValuesV2[UIItemValue.Title] = new();
diff --git a/Qwilight/System/DrawingSystem/DrawingSystem.cs b/Qwilight/System/DrawingSystem/DrawingSystem.cs
index fd0f5d2..86f1646 100644
--- a/Qwilight/System/DrawingSystem/DrawingSystem.cs
+++ b/Qwilight/System/DrawingSystem/DrawingSystem.cs
@@ -2337,10 +2337,14 @@
{
_rawTargetSystem.Present();
}
- else
+ else if (Configure.Instance.Tearing)
{
_rawTargetSystem.Present(0, DXGI_PRESENT_ALLOW_TEARING);
}
+ else
+ {
+ _rawTargetSystem.Present(0);
+ }
SetNVLLFlagIf(ReflexMarker.ePresentEnd);
if (isNVLL)
diff --git a/Qwilight/System/LanguageSystem/LanguageSystem.g.cs b/Qwilight/System/LanguageSystem/LanguageSystem.g.cs
index 9fcb467..4e6d718 100644
--- a/Qwilight/System/LanguageSystem/LanguageSystem.g.cs
+++ b/Qwilight/System/LanguageSystem/LanguageSystem.g.cs
@@ -654,6 +654,7 @@
public string NotStillDrawing { get; set; }
public string NotStopLastEqualAudioText { get; set; }
public string NotSupportedFileContents { get; set; }
+ public string NotTearingText { get; set; }
public string NotTubeText { get; set; }
public string NotUbuntuSituationContents { get; set; }
public string NotValidNetLevelContents { get; set; }
@@ -813,6 +814,8 @@
public string StopSavingBundleContents { get; set; }
public string StopSiteNetText { get; set; }
public string SymmetricModeContents { get; set; }
+ public string TearingContents { get; set; }
+ public string TearingText { get; set; }
public string TestHitPointsModeContents { get; set; }
public string TestHitPointsModeWarning { get; set; }
public string TotalAudioVolume { get; set; }
diff --git a/Qwilight/View/ConfigureWindow/GUIConfigureWindow.xaml b/Qwilight/View/ConfigureWindow/GUIConfigureWindow.xaml
index 49faaec..2fdf65e 100644
--- a/Qwilight/View/ConfigureWindow/GUIConfigureWindow.xaml
+++ b/Qwilight/View/ConfigureWindow/GUIConfigureWindow.xaml
@@ -118,6 +118,16 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Qwilight/ViewModel/ConfigureViewModel.cs b/Qwilight/ViewModel/ConfigureViewModel.cs
index 21ed7dd..a52c668 100644
--- a/Qwilight/ViewModel/ConfigureViewModel.cs
+++ b/Qwilight/ViewModel/ConfigureViewModel.cs
@@ -874,6 +874,9 @@
static void OnVESA() => Configure.Instance.VESAV2 = !Configure.Instance.VESAV2;
[RelayCommand]
+ static void OnTearing() => Configure.Instance.Tearing = !Configure.Instance.Tearing;
+
+ [RelayCommand]
static void OnDataCount3() => Configure.Instance.DataCount3 = !Configure.Instance.DataCount3;
[RelayCommand]