Debian Codegraph @

Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.h

raw symbols SCIP
1 // Copyright 2017 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <QGroupBox>
7 #include <QWidget>
8
9 class ConfigBool;
10 class ConfigChoice;
11 class ConfigInteger;
12 class GraphicsPane;
13
14 namespace Config
15 {
16 class Layer;
17 } // namespace Config
18
19 class AdvancedWidget final : public QWidget
20 {
21 Q_OBJECT
22 public:
23 explicit AdvancedWidget(GraphicsPane* gfx_pane);
24
25 private:
26 void CreateWidgets();
27 void ConnectWidgets();
28 void AddDescriptions();
29 void OnBackendChanged();
30 void OnEmulationStateChanged(bool running);
31
32 // Debugging
33 ConfigBool* m_enable_wireframe;
34 ConfigBool* m_enable_format_overlay;
35 ConfigBool* m_enable_api_validation;
36 ConfigBool* m_log_render_time;
37
38 // Utility
39 ConfigBool* m_prefetch_custom_textures;
40 ConfigBool* m_dump_efb_target;
41 ConfigBool* m_dump_xfb_target;
42 ConfigBool* m_disable_vram_copies;
43 ConfigBool* m_load_custom_textures;
44 ConfigBool* m_enable_graphics_mods;
45
46 // Texture dumping
47 ConfigBool* m_dump_textures;
48 ConfigBool* m_dump_mip_textures;
49 ConfigBool* m_dump_base_textures;
50
51 // Frame dumping
52 ConfigBool* m_dump_use_lossless;
53 ConfigChoice* m_frame_dumps_resolution_type;
54 ConfigInteger* m_dump_bitrate;
55 ConfigInteger* m_png_compression_level;
56
57 // Misc
58 ConfigBool* m_enable_prog_scan;
59 ConfigBool* m_backend_multithreading;
60 ConfigBool* m_prefer_vs_for_point_line_expansion;
61 ConfigBool* m_cpu_cull;
62 ConfigBool* m_borderless_fullscreen;
63
64 // Misc (Cropping)
65 ConfigBool* m_crop_to_aspect_ratio;
66 ConfigBool* m_crop_custom;
67 QGroupBox* m_crop_custom_box;
68 ConfigInteger* m_crop_custom_left;
69 ConfigInteger* m_crop_custom_top;
70 ConfigInteger* m_crop_custom_right;
71 ConfigInteger* m_crop_custom_bottom;
72
73 // Experimental
74 ConfigBool* m_defer_efb_access_invalidation;
75 ConfigBool* m_manual_texture_sampling;
76
77 Config::Layer* m_game_layer = nullptr;
78 };