From 6637810fe6c6610f73f0b1b12e56e9b48268d0ee Mon Sep 17 00:00:00 2001 From: MrPurple666 Date: Sun, 1 Feb 2026 02:02:23 +0100 Subject: [android] gpu logs functions (#3389) Since Android is a pain when it comes to checking GPU logs in more depth, this is a better way to see what's going on, especially for testers... This should be expanded to Mali, Xclipse, and Tensor in the future. Since I don't own any of these devices, it's up to developers with similar capabilities to add support for this system. ~~The GPU log sharing button should also be added in the future... For now, they are available in the same location as the traditional logs.~~ Added on 572810e022 Co-authored-by: DraVee Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3389 Reviewed-by: DraVee Reviewed-by: CamilleLaVey Co-authored-by: MrPurple666 Co-committed-by: MrPurple666 --- src/video_core/gpu_logging/qualcomm_debug.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/video_core/gpu_logging/qualcomm_debug.cpp (limited to 'src/video_core/gpu_logging/qualcomm_debug.cpp') diff --git a/src/video_core/gpu_logging/qualcomm_debug.cpp b/src/video_core/gpu_logging/qualcomm_debug.cpp new file mode 100644 index 0000000000..4862bc2349 --- /dev/null +++ b/src/video_core/gpu_logging/qualcomm_debug.cpp @@ -0,0 +1,26 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +#include "video_core/gpu_logging/qualcomm_debug.h" +#include "common/logging/log.h" + +namespace GPU::Logging::Qualcomm { + +bool QualcommDebugger::is_initialized = false; + +void QualcommDebugger::Initialize() { + if (is_initialized) { + return; + } + + is_initialized = true; + LOG_INFO(Render_Vulkan, "[Qualcomm Debug] Initialized (stub)"); +} + +std::string QualcommDebugger::GetDebugInfo() { + // Stub for future Qualcomm proprietary driver debug extension support + // This requires libadrenotools integration and Qualcomm-specific APIs + return "Qualcomm debug info not yet implemented"; +} + +} // namespace GPU::Logging::Qualcomm -- cgit v1.2.3