diff options
| author | lizzie <lizzie@eden-emu.dev> | 2026-04-29 16:41:25 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-04-29 16:41:25 +0200 |
| commit | 90515bc6a2c0534fab99e9a10b6ab31c9279fad0 (patch) | |
| tree | 0bf85468c693df65a3e9526b438ad3996d2286bb /src/video_core/cdma_pusher.cpp | |
| parent | 676b1aabfcd5f755ba82da963763410d7842ddc6 (diff) | |
[host1x] fix ffmpeg not having va-api on freebsd, inline nvenc (#3878)
- fix va-api not being used on freebsd
small thingies dont affect a lot:
- removes some pointer indirection (why save pointer to GMMU if its accesible via host1x)
- use std::variant<> for decoder
- miscelly vp9/v8/h264 opts
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3878
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to 'src/video_core/cdma_pusher.cpp')
| -rw-r--r-- | src/video_core/cdma_pusher.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/video_core/cdma_pusher.cpp b/src/video_core/cdma_pusher.cpp index b9140d9335..7c342dbefa 100644 --- a/src/video_core/cdma_pusher.cpp +++ b/src/video_core/cdma_pusher.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: Ryujinx Team and Contributors @@ -20,9 +20,10 @@ namespace Tegra { CDmaPusher::CDmaPusher(Host1x::Host1x& host1x_, s32 id) - : host1x{host1x_}, memory_manager{host1x.GMMU()}, - host_processor{std::make_unique<Host1x::Control>(host1x_)}, current_class{ - static_cast<ChClassId>(id)} { + : host_processor{std::make_unique<Host1x::Control>(host1x_)} + , host1x{host1x_} + , current_class{ChClassId(id)} +{ thread = std::jthread([this](std::stop_token stop_token) { ProcessEntries(stop_token); }); } |
