debug: Add renderdoc capture hotkey

This commit is contained in:
GPUCode
2023-09-10 23:26:09 +03:00
parent 04352a9aef
commit c656105a6c
12 changed files with 922 additions and 58 deletions

View File

@@ -0,0 +1,22 @@
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
struct RENDERDOC_API_1_6_0;
namespace Tools {
class RenderdocAPI {
public:
explicit RenderdocAPI();
~RenderdocAPI();
void ToggleCapture();
private:
RENDERDOC_API_1_6_0* rdoc_api{};
bool is_capturing{false};
};
} // namespace Tools