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.hh | |
| parent | 681bd5096ee416b50dd7338de30af7b3db385a36 (diff) | |
Fix AL2 via VK_NV_low_latency2's async implementation, fix race in TimestampPool
Diffstat (limited to 'src/layer_context.hh')
| -rw-r--r-- | src/layer_context.hh | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/layer_context.hh b/src/layer_context.hh index 95f1cd5..731b273 100644 --- a/src/layer_context.hh +++ b/src/layer_context.hh @@ -48,22 +48,15 @@ using dispatch_context_t = typename context_for_t<D>::context; class LayerContext final : public Context { private: - // If this is not null and set to exactly 1, then we should sleep after - // present. - static constexpr auto SLEEP_AFTER_PRESENT_ENV = - "LOW_LATENCY_LAYER_SLEEP_AFTER_PRESENT"; - - // If this is not null and set to exactly 1, then VK_NV_low_latency2 - // should be provided instead of VK_AMD_anti_lag. - static constexpr auto SPOOF_NVIDIA_ENV = - "LOW_LATENCY_LAYER_SPOOF_NVIDIA"; + // If this is not null and set to 1 then VK_NV_low_latency2 should be + // provided instead of VK_AMD_anti_lag. + static constexpr auto EXPOSE_REFLEX_ENV = "LOW_LATENCY_LAYER_EXPOSE_REFLEX"; public: std::mutex mutex; std::unordered_map<void*, std::shared_ptr<Context>> contexts; - bool is_antilag_1_enabled = false; - bool should_spoof_nvidia = false; + bool should_expose_reflex = false; public: LayerContext(); |
