dolphin/Source/Core/VideoCommon
Lioncash 6fbbc2683e VideoCommon: Make use of fmt outside of shader generators
Migrates most of VideoCommon over to using fmt, with the exception being
the shader generator code. The shader generators are quite large and
have more corner cases to deal with in terms of conversion (shaders have
braces in them, so we need to make sure to escape them).

Because of the large amount of code that would need to be converted, the
conversion of VideoCommon will be in two parts:

- This change (which converts over the general case string formatting),
- A follow up change that will specifically deal with converting over
  the shader generators.
2019-11-23 16:00:45 -05:00
..
AbstractFramebuffer.cpp Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
AbstractFramebuffer.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
AbstractPipeline.h AbstractPipeline: Support returning "cache data" 2019-04-16 00:09:47 +10:00
AbstractShader.h AbstractPipeline: Support returning "cache data" 2019-04-16 00:09:47 +10:00
AbstractStagingTexture.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
AbstractStagingTexture.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
AbstractTexture.cpp FramebufferManager: Correctly handle read back D24S8 textures 2019-07-31 15:33:28 +10:00
AbstractTexture.h FramebufferManager: Correctly handle read back D24S8 textures 2019-07-31 15:33:28 +10:00
AsyncRequests.cpp TextureCache: Support saving cache entries, including EFB copies 2019-07-24 04:10:38 +10:00
AsyncRequests.h VideoBackendBase: Do save state logic on the GPU thread 2019-07-24 04:08:25 +10:00
AsyncShaderCompiler.cpp ShaderCache: Use imgui for shader compilation dialog 2019-01-25 11:15:57 +10:00
AsyncShaderCompiler.h ShaderCache: Implement compile priority 2018-03-17 01:53:11 +10:00
BoundingBox.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
BoundingBox.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
BPFunctions.cpp VideoCommon: Remove unused MathUtil.h include from VideoCommon.h 2019-07-16 20:54:34 -04:00
BPFunctions.h VideoCommon: Remove unused MathUtil.h include from VideoCommon.h 2019-07-16 20:54:34 -04:00
BPMemory.cpp BPMemory: Use Common::BitCast where applicable 2018-05-18 14:25:44 -04:00
BPMemory.h Compiler: Rename __forceinline define to DOLPHIN_FORCE_INLINE 2018-06-09 12:20:25 -04:00
BPStructs.cpp VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
BPStructs.h VideoCommon: Header cleanup 2016-01-17 20:11:45 -05:00
CMakeLists.txt VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
CommandProcessor.cpp VideoCommon: Constrain the array_base registers 2019-05-31 03:22:00 -04:00
CommandProcessor.h VideoCommon: Constrain the array_base registers 2019-05-31 03:22:00 -04:00
ConstantManager.h PixelShaderGen: Implement table-based fog range as in software renderer 2018-02-15 22:19:21 +10:00
CPMemory.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
CPMemory.h specify custom brace style to fix unions 2017-01-05 12:55:13 +01:00
DataReader.h Compiler: Rename __forceinline define to DOLPHIN_FORCE_INLINE 2018-06-09 12:20:25 -04:00
DriverDetails.cpp Vulkan: Add a DriverDetails bug for "slow cached readback memory" 2019-10-02 21:34:58 +10:00
DriverDetails.h Vulkan: Add a DriverDetails bug for "slow cached readback memory" 2019-10-02 21:34:58 +10:00
Fifo.cpp VideoBackendBase: Do save state logic on the GPU thread 2019-07-24 04:08:25 +10:00
Fifo.h Fifo: const correctness 2017-03-26 23:08:33 -04:00
FPSCounter.cpp Don't use wrong encoding for paths when opening streams on Windows 2017-12-05 21:23:35 +01:00
FPSCounter.h Reformat all the things! 2018-04-12 21:28:39 +02:00
FramebufferManager.cpp Merge pull request #8276 from stenzek/adreno-efb-access 2019-08-08 12:23:27 +10:00
FramebufferManager.h FramebufferManager: Correctly handle read back D24S8 textures 2019-07-31 15:33:28 +10:00
FramebufferShaderGen.cpp Renderer: Use interface blocks for ImGui shaders 2019-10-02 12:52:45 +10:00
FramebufferShaderGen.h Renderer: Use interface blocks for ImGui shaders 2019-10-02 12:52:45 +10:00
FrameDump.cpp VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
FrameDump.h VideoCommon: Rename AVIDump to FrameDump 2019-06-30 13:02:39 +02:00
GeometryShaderGen.cpp VideoCommon: Remove unnecessary memset on ShaderUid instances. 2019-05-30 06:41:54 -04:00
GeometryShaderGen.h VideoCommon: Remove unnecessary memset on ShaderUid instances. 2019-05-30 06:41:54 -04:00
GeometryShaderManager.cpp VideoConfig: Make StereoMode an enum class 2017-11-18 23:19:53 -05:00
GeometryShaderManager.h VideoBackends: Merge Initialize and Shutdown functions. 2016-06-26 12:34:59 +02:00
GXPipelineTypes.h ShaderCache: Utilize pipeline cache data where possible 2019-04-16 00:39:43 +10:00
HiresTextures_DDSLoader.cpp HiresTextures: Do not load compressed textures with unaligned dimensions 2018-05-22 16:15:18 +10:00
HiresTextures.cpp VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
HiresTextures.h HiresTextures: Do not load compressed textures with unaligned dimensions 2018-05-22 16:15:18 +10:00
ImageWrite.cpp Add a namespace to OpenFStream 2017-06-15 21:34:04 +02:00
ImageWrite.h ImageWriter: Don't use inplace alpha truncation. 2016-10-08 12:02:49 +02:00
IndexGenerator.cpp Use main buffers for utility draws 2018-12-04 17:37:25 +10:00
IndexGenerator.h Use main buffers for utility draws 2018-12-04 17:37:25 +10:00
LightingShaderGen.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
LightingShaderGen.h LightingShaderGen: Always calculate lighting for both color channels 2017-11-22 01:52:18 +10:00
LookUpTables.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
NativeVertexFormat.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
NetPlayChatUI.cpp VideoCommon/NetPlayChatUI: Default destructor in the cpp file 2019-05-29 06:20:05 -04:00
NetPlayChatUI.h VideoCommon/NetPlayChatUI: Default destructor in the cpp file 2019-05-29 06:20:05 -04:00
NetPlayGolfUI.cpp VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
NetPlayGolfUI.h VideoCommon/NetPlayGolfUI: Remove unused header 2019-05-29 06:20:57 -04:00
OnScreenDisplay.cpp VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
OnScreenDisplay.h VideoCommon/OnScreenDisplay: Take Message's std::string parameter by value 2019-07-28 23:00:58 -04:00
OpcodeDecoding.cpp VideoCommon/Statistics: Rename stats global to g_stats 2019-07-10 23:34:54 -04:00
OpcodeDecoding.h OpcodeDecoding: Convert #defines into enum constants 2017-02-08 00:05:17 -05:00
PerfQueryBase.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
PerfQueryBase.h D3D12: Fix rare case where command list was executed with open queries 2019-04-01 20:49:24 +10:00
PixelEngine.cpp CommandProcessor: Remove unnecessary include 2017-09-02 13:34:21 -04:00
PixelEngine.h PixelEngine: Move enum constants into the PixelEngine namespace 2017-02-28 07:01:50 -05:00
PixelShaderGen.cpp Merge pull request #8139 from lioncash/const 2019-06-08 20:03:02 +10:00
PixelShaderGen.h VideoCommon: Remove unnecessary memset on ShaderUid instances. 2019-05-30 06:41:54 -04:00
PixelShaderManager.cpp Common/CommonFuncs: Remove now-unneccessary ArraySize function 2019-06-01 10:07:57 -04:00
PixelShaderManager.h Ubershaders: Fix 6-bit color truncation not being applied 2017-08-01 00:01:09 +10:00
PostProcessing.cpp VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
PostProcessing.h VideoCommon: Remove unused MathUtil.h include from VideoCommon.h 2019-07-16 20:54:34 -04:00
RenderBase.cpp VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
RenderBase.h Renderer: Draw ImGui interface to both eyes 2019-10-02 12:19:47 +10:00
RenderState.cpp RenderState: Approximate logic op with blending if unsupported 2019-08-04 14:06:08 +10:00
RenderState.h RenderState: Approximate logic op with blending if unsupported 2019-08-04 14:06:08 +10:00
SamplerCommon.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
sfont.inc Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
ShaderCache.cpp ShaderCache: EFB2RAM pipelines should not use a geometry shader 2019-10-01 11:44:31 +10:00
ShaderCache.h TextureCache: Support reinterpreting formats for VRAM textures 2019-07-14 19:16:27 +10:00
ShaderGenCommon.cpp VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
ShaderGenCommon.h VideoCommon/ShaderGenCommon: Fix memcmp size in ShaderUid operators 2019-05-30 16:00:46 -04:00
Statistics.cpp VideoCommon: Remove unused MathUtil.h include from VideoCommon.h 2019-07-16 20:54:34 -04:00
Statistics.h VideoCommon/Statistics: Remove unused DECSTAT macro 2019-07-10 23:40:13 -04:00
TextureCacheBase.cpp VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
TextureCacheBase.h VideoCommon/TextureCacheBase: Make OnConfigChanged's parameter a const reference 2019-08-04 22:31:27 -04:00
TextureConfig.cpp Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
TextureConfig.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
TextureConversionShader.cpp TextureConversionShader: Swap bytes for RG8/GB8 format 2019-07-14 13:36:43 +10:00
TextureConversionShader.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
TextureConverterShaderGen.cpp EFB2Tex: Set alpha channel of Z24X8 copies to 1 2019-07-18 23:51:07 +10:00
TextureConverterShaderGen.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
TextureDecoder_Common.cpp Replace MathUtil::Clamp with std::clamp 2019-05-04 23:12:17 +02:00
TextureDecoder_Generic.cpp TextureDecoder: Move XFB decoding to Common 2019-04-21 12:41:15 +10:00
TextureDecoder_Util.h TextureDecoder: Deduplicate some utility code 2017-01-15 20:23:26 +11:00
TextureDecoder_x64.cpp Replace MathUtil::Clamp with std::clamp 2019-05-04 23:12:17 +02:00
TextureDecoder.h TextureCache: Support reinterpreting formats for VRAM textures 2019-07-14 19:16:27 +10:00
UberShaderCommon.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
UberShaderCommon.h VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
UberShaderPixel.cpp VideoCommon: Remove unnecessary memset on ShaderUid instances. 2019-05-30 06:41:54 -04:00
UberShaderPixel.h VideoCommon: Remove unnecessary memset on ShaderUid instances. 2019-05-30 06:41:54 -04:00
UberShaderVertex.cpp VideoCommon: Remove unnecessary memset on ShaderUid instances. 2019-05-30 06:41:54 -04:00
UberShaderVertex.h VideoCommon: Remove unnecessary memset on ShaderUid instances. 2019-05-30 06:41:54 -04:00
VertexLoader_Color.cpp VertexLoader_Color: Place helper functions in anonymous namespace 2019-05-30 10:29:47 -04:00
VertexLoader_Color.h VideoCommon: Header cleanup 2016-01-17 20:11:45 -05:00
VertexLoader_Normal.cpp VideoCommon/VertexLoader_Normal: Use variable template variants of type traits 2019-05-30 00:52:59 -04:00
VertexLoader_Normal.h VideoCommon/VertexLoader_Normal: Initialize function table at compile-time 2019-05-30 00:52:57 -04:00
VertexLoader_Position.cpp VertexLoader_Position: Tidy up public function definitions 2019-05-30 10:29:50 -04:00
VertexLoader_Position.h VertexLoader_Position: Tidy up public function definitions 2019-05-30 10:29:50 -04:00
VertexLoader_TextCoord.cpp VertexLoader_TextCoord: Tidy up public function definitions 2019-05-30 10:29:51 -04:00
VertexLoader_TextCoord.h VertexLoader_TextCoord: Tidy up public function definitions 2019-05-30 10:29:51 -04:00
VertexLoader.cpp VideoCommon/VertexLoader_Normal: Initialize function table at compile-time 2019-05-30 00:52:57 -04:00
VertexLoader.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
VertexLoaderARM64.cpp VertexLoaderArm: Fix 565 color format. 2018-05-27 11:27:15 +02:00
VertexLoaderARM64.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
VertexLoaderBase.cpp VideoCommon: Make use of fmt outside of shader generators 2019-11-23 16:00:45 -05:00
VertexLoaderBase.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
VertexLoaderManager.cpp VideoCommon/Statistics: Rename stats global to g_stats 2019-07-10 23:34:54 -04:00
VertexLoaderManager.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
VertexLoaderUtils.h Compiler: Rename __forceinline define to DOLPHIN_FORCE_INLINE 2018-06-09 12:20:25 -04:00
VertexLoaderX64.cpp Remove code for only allocating low memory 2017-05-20 09:35:53 +02:00
VertexLoaderX64.h VideoCommon/VertexLoaderX64: Add missing header guard 2019-05-29 06:35:22 -04:00
VertexManagerBase.cpp TextureCache: Support saving cache entries, including EFB copies 2019-07-24 04:10:38 +10:00
VertexManagerBase.h VertexManagerBase: Increase vertex/uniform buffer sizes 2019-03-29 19:52:38 +10:00
VertexShaderGen.cpp VideoCommon: Remove unnecessary memset on ShaderUid instances. 2019-05-30 06:41:54 -04:00
VertexShaderGen.h VideoCommon: Remove unnecessary memset on ShaderUid instances. 2019-05-30 06:41:54 -04:00
VertexShaderManager.cpp VideoCommon/Statistics: Rename stats global to g_stats 2019-07-10 23:34:54 -04:00
VertexShaderManager.h VideoCommon: Change free-look's middle-mouse action to roll the camera. 2019-04-17 05:10:11 -05:00
VideoBackendBase.cpp TextureCache: Support saving cache entries, including EFB copies 2019-07-24 04:10:38 +10:00
VideoBackendBase.h Factorize software renderer backend switching warning to be fetched from a new GetWarningMessage in video backend - will be needed for DX11.1 feature set warnings 2019-07-26 19:39:07 +02:00
VideoCommon.h VideoCommon: Remove unused MathUtil.h include from VideoCommon.h 2019-07-16 20:54:34 -04:00
VideoCommon.vcxproj VideoCommon: Rename AVIDump to FrameDump 2019-06-30 13:02:39 +02:00
VideoCommon.vcxproj.filters VideoCommon: Rename AVIDump to FrameDump 2019-06-30 13:02:39 +02:00
VideoConfig.cpp FramebufferManager: Implement deferred EFB cache invalidation 2019-03-09 12:24:04 +10:00
VideoConfig.h Drop 3D Vision Support 2019-10-04 13:40:21 +10:00
VideoState.cpp FramebufferManager: Support saving EFB to save state 2019-07-24 05:19:22 +10:00
VideoState.h VideoBackends: Merge Initialize and Shutdown functions. 2016-06-26 12:34:59 +02:00
XFMemory.cpp VideoCommon: Header cleanup 2016-01-17 20:11:45 -05:00
XFMemory.h VideoCommon/Statistics: Use std::array for projection values 2019-06-20 08:06:20 -04:00
XFStructs.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
XFStructs.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00