diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-30 15:54:10 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-30 15:54:10 +1100 |
| commit | 644bc4ed5edd4e3ffa88750bdacb147c75df9546 (patch) | |
| tree | 5580f05b202493ccb68d5c67ec37e10d53f3cd1d /src/layer_context.cc | |
| parent | 681bd5096ee416b50dd7338de30af7b3db385a36 (diff) | |
Fix AL2 via VK_NV_low_latency2's async implementation, fix race in TimestampPool
Diffstat (limited to 'src/layer_context.cc')
| -rw-r--r-- | src/layer_context.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/layer_context.cc b/src/layer_context.cc index 4699202..4399338 100644 --- a/src/layer_context.cc +++ b/src/layer_context.cc @@ -4,15 +4,14 @@ #include <string_view> namespace low_latency { - + LayerContext::LayerContext() { const auto parse_bool_env = [](const auto& name) -> bool { const auto env = std::getenv(name); return env && std::string_view{env} == "1"; }; - - this->is_antilag_1_enabled = parse_bool_env(SLEEP_AFTER_PRESENT_ENV); - this->should_spoof_nvidia = parse_bool_env(SPOOF_NVIDIA_ENV); + + this->should_expose_reflex = parse_bool_env(EXPOSE_REFLEX_ENV); } LayerContext::~LayerContext() {} |
