// Copyright 2017 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #pragma once #include #include "Common/Config/Config.h" enum class AspectMode : int; enum class ShaderCompilationMode : int; enum class StereoMode : int; namespace Config { // Configuration Information // Graphics.Hardware extern const ConfigInfo GFX_VSYNC; extern const ConfigInfo GFX_ADAPTER; // Graphics.Settings extern const ConfigInfo GFX_WIDESCREEN_HACK; extern const ConfigInfo GFX_ASPECT_RATIO; extern const ConfigInfo GFX_SUGGESTED_ASPECT_RATIO; extern const ConfigInfo GFX_CROP; extern const ConfigInfo GFX_SAFE_TEXTURE_CACHE_COLOR_SAMPLES; extern const ConfigInfo GFX_SHOW_FPS; extern const ConfigInfo GFX_SHOW_NETPLAY_PING; extern const ConfigInfo GFX_SHOW_NETPLAY_MESSAGES; extern const ConfigInfo GFX_LOG_RENDER_TIME_TO_FILE; extern const ConfigInfo GFX_OVERLAY_STATS; extern const ConfigInfo GFX_OVERLAY_PROJ_STATS; extern const ConfigInfo GFX_DUMP_TEXTURES; extern const ConfigInfo GFX_HIRES_TEXTURES; extern const ConfigInfo GFX_CACHE_HIRES_TEXTURES; extern const ConfigInfo GFX_DUMP_EFB_TARGET; extern const ConfigInfo GFX_DUMP_XFB_TARGET; extern const ConfigInfo GFX_DUMP_FRAMES_AS_IMAGES; extern const ConfigInfo GFX_FREE_LOOK; extern const ConfigInfo GFX_USE_FFV1; extern const ConfigInfo GFX_DUMP_FORMAT; extern const ConfigInfo GFX_DUMP_CODEC; extern const ConfigInfo GFX_DUMP_ENCODER; extern const ConfigInfo GFX_DUMP_PATH; extern const ConfigInfo GFX_BITRATE_KBPS; extern const ConfigInfo GFX_INTERNAL_RESOLUTION_FRAME_DUMPS; extern const ConfigInfo GFX_ENABLE_GPU_TEXTURE_DECODING; extern const ConfigInfo GFX_ENABLE_PIXEL_LIGHTING; extern const ConfigInfo GFX_FAST_DEPTH_CALC; extern const ConfigInfo GFX_MSAA; extern const ConfigInfo GFX_SSAA; extern const ConfigInfo GFX_EFB_SCALE; extern const ConfigInfo GFX_TEXFMT_OVERLAY_ENABLE; extern const ConfigInfo GFX_TEXFMT_OVERLAY_CENTER; extern const ConfigInfo GFX_ENABLE_WIREFRAME; extern const ConfigInfo GFX_DISABLE_FOG; extern const ConfigInfo GFX_BORDERLESS_FULLSCREEN; extern const ConfigInfo GFX_ENABLE_VALIDATION_LAYER; extern const ConfigInfo GFX_BACKEND_MULTITHREADING; extern const ConfigInfo GFX_COMMAND_BUFFER_EXECUTE_INTERVAL; extern const ConfigInfo GFX_SHADER_CACHE; extern const ConfigInfo GFX_WAIT_FOR_SHADERS_BEFORE_STARTING; extern const ConfigInfo GFX_SHADER_COMPILATION_MODE; extern const ConfigInfo GFX_SHADER_COMPILER_THREADS; extern const ConfigInfo GFX_SHADER_PRECOMPILER_THREADS; extern const ConfigInfo GFX_SW_ZCOMPLOC; extern const ConfigInfo GFX_SW_ZFREEZE; extern const ConfigInfo GFX_SW_DUMP_OBJECTS; extern const ConfigInfo GFX_SW_DUMP_TEV_STAGES; extern const ConfigInfo GFX_SW_DUMP_TEV_TEX_FETCHES; extern const ConfigInfo GFX_SW_DRAW_START; extern const ConfigInfo GFX_SW_DRAW_END; extern const ConfigInfo GFX_PREFER_GLES; // Graphics.Enhancements extern const ConfigInfo GFX_ENHANCE_FORCE_FILTERING; extern const ConfigInfo GFX_ENHANCE_MAX_ANISOTROPY; // NOTE - this is x in (1 << x) extern const ConfigInfo GFX_ENHANCE_POST_SHADER; extern const ConfigInfo GFX_ENHANCE_FORCE_TRUE_COLOR; extern const ConfigInfo GFX_ENHANCE_DISABLE_COPY_FILTER; // Graphics.Stereoscopy extern const ConfigInfo GFX_STEREO_MODE; extern const ConfigInfo GFX_STEREO_DEPTH; extern const ConfigInfo GFX_STEREO_CONVERGENCE_PERCENTAGE; extern const ConfigInfo GFX_STEREO_SWAP_EYES; extern const ConfigInfo GFX_STEREO_CONVERGENCE; extern const ConfigInfo GFX_STEREO_EFB_MONO_DEPTH; extern const ConfigInfo GFX_STEREO_DEPTH_PERCENTAGE; // Graphics.Hacks extern const ConfigInfo GFX_HACK_EFB_ACCESS_ENABLE; extern const ConfigInfo GFX_HACK_BBOX_ENABLE; extern const ConfigInfo GFX_HACK_BBOX_PREFER_STENCIL_IMPLEMENTATION; extern const ConfigInfo GFX_HACK_FORCE_PROGRESSIVE; extern const ConfigInfo GFX_HACK_SKIP_EFB_COPY_TO_RAM; extern const ConfigInfo GFX_HACK_SKIP_XFB_COPY_TO_RAM; extern const ConfigInfo GFX_HACK_DISABLE_COPY_TO_VRAM; extern const ConfigInfo GFX_HACK_IMMEDIATE_XFB; extern const ConfigInfo GFX_HACK_COPY_EFB_SCALED; extern const ConfigInfo GFX_HACK_EFB_EMULATE_FORMAT_CHANGES; extern const ConfigInfo GFX_HACK_VERTEX_ROUDING; // Graphics.GameSpecific extern const ConfigInfo GFX_PERF_QUERIES_ENABLE; } // namespace Config