summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.h
AgeCommit message (Collapse)Author
2024-08-22Graphics: Adapt aspect ratio when SBS/TAB 3D is usedBryan Jacobs
Adds support for choosing to present the full resolution independently to each eye when using side-by-side or top-and-bottom 3D.
2024-04-13VideoConfig: Adjust FrameDumpResolutionType enum class to style guidelinesAdmiral H. Curtiss
2024-04-08Video: split frame dumping settings into 3 resolution dumping modesFiloppi
also polish aspect ratio related code for clarity
2024-02-29Add custom relative and raw (squared pixels) aspect ratio modesFiloppi
2023-12-18Video: implement custom aspect ratio support (already exposed to Qt).Filoppi
This also renamed some variables/functions.
2023-11-14Change paper white default to 203 to match the ITUFiloppi
2023-09-06VideoCommon: Expose the widescreen heuristic's standard and widescreen ratio ↵Jordan Woyak
values in onion config.
2023-09-05VertexManagerBase: Allow widecreen heuristic constants to be overriden by ↵OatmealDome
onion config
2023-09-05RenderBase: Allow widescreen heuristic's transition threshold to be ↵OatmealDome
overridden by onion config
2023-08-18Video: Improved Tooltips & Bicubic (#5)Sam Belliveau
Edited by Filoppi
2023-08-18Video: Added Box ResamplingSam Belliveau
Edited by Filoppi
2023-08-18Video: implement output resampling (upscaling/downscaling) methodsFiloppi
2023-06-19Video: implement color correction to match the NTSC and PAL color spaces ↵Filoppi
(and gamma) that GC and Wii targeted. To further increase the accuracy of the post process phase, I've added (scRGB) HDR support, which is necessary to fully display the PAL and NTSC-J color spaces, and also to improve the quality of post process texture samplings and do them in linear space instead of gamma space (which is very important when playing at low resolutions). For SDR, the quality is also slightly increased, at least if any post process runs, as the buffer is now R10G10B10A2 (on Vulkan, DX11 and DX12) if supported; previously it was R8G8B8A8 but the alpha bits were wasted. Gamma correction is arguably the most important thing as Dolphin on Windows outputted in "sRGB" (implicitly) as that's what Windows expects by default, though sRGB gamma is very different from the gamma commonly used by video standards dating to the pre HDR era (roughly gamma 2.35). Additionally, the addition of HDR support (which is pretty straight forward and minimal), added support for our own custom AutoHDR shaders, which would allow us to achieve decent looking HDR in Dolphin games without having to use SpecialK or Windows 11 AutoHDR. Both of which don't necessarily play nice with older games with strongly different and simpler lighting. HDR should also be supported in Linux. Development of my own AutoHDR shader is almost complete and will come next. This has been carefully tested and there should be no regression in any of the different features that Dolphin offers, like multisampling, stereo rendering, other post processes, etc etc. Fixes: https://bugs.dolphin-emu.org/issues/8941 Co-authored-by: EndlesslyFlowering <EndlesslyFlowering@protonmail.com> Co-authored-by: Dogway <lin_ares@hotmail.com>
2023-06-11VideoBackends:Vulkan: Allow loading custom drivers on AndroidRobin Kertels
... using libadrenotools
2023-02-14VideoCommon: Fix stereoscopic 3D on OpenGL < 4.3 (macOS)TellowKrinkle
2023-02-09Lint fixesScott Mansell
2023-01-31Also use events for config changedScott Mansell
2023-01-31Move ConfigChanged out of RenderBaseScott Mansell
There is this nice VideoConfig file that's perfect for it
2023-01-31Refactor to remove virtual from RenderXFBToScreenScott Mansell
Slightly simplifies the upcoming refactor
2023-01-30Merge pull request #11205 from TellowKrinkle/AutoPresentPierre Bourdon
VideoBackends:Metal: Default to presentDrawable when vsync is on
2023-01-26Merge pull request #11208 from TellowKrinkle/CPUCullPierre Bourdon
Cull vertices on the CPU
2023-01-25VideoCommon: Cull vertices on the CPUTellowKrinkle
2023-01-14Add VISkipSam Belliveau
2022-12-27PixelShaderGen: Clamp texture layer when using manual texture sampling with ↵Pokechu22
stereoscopic 3D Otherwise, texelFetch() will use an out-of-bounds layer for game textures (that have 1 layer; EFB copies have 2 layers in stereoscopic 3D mode), which is undefined behavior (often resulting in a black image). The fast texture sampling path uses texture(), which always clamps (see https://www.khronos.org/opengl/wiki/Array_Texture#Access_in_shaders), so it was unaffected by this difference.
2022-12-23New FrameTime/VBlank Analyzer + GraphSam Belliveau
2022-12-09Core: Add option to force linear texture filtering.Admiral H. Curtiss
2022-11-23Improve FPS/VPS Counting and Revamp AppearanceSam Belliveau
2022-11-07VideoCommon: Add an option to disable mipmapsTellowKrinkle
Needed by M1 fifoci to work around a minor non-determinism bug
2022-10-24VideoBackends:Metal: Default to presentDrawable when vsync is onTellowKrinkle
2022-10-24Merge pull request #11028 from tellowkrinkle/MetalFixesJMC47
Various Metal renderer improvements
2022-10-22VideoCommon: Add reasons for disabled VS expandTellowKrinkle
2022-10-22VideoCommon: Add configuration to prefer VS for line/point expansionTellowKrinkle
2022-10-22VideoCommon: Add vertex shader point and line expansionTellowKrinkle
2022-10-08Merge pull request #11095 from K0bin/misc-vulkanAdmiral H. Curtiss
Remove special treatment for Android in video settings
2022-10-08VideoBackends:Metal: Add config option to use presentDrawableTellowKrinkle
2022-10-08VideoBackends:Metal: Bring back unified memory configTellowKrinkle
Turns out it was helpful. (Most improvement in ubershaders.) This time with much better auto mode.
2022-10-01VideoCommon: Remove special treatment for Android in video settingsRobin Kertels
2022-09-26Software: Remove dedicated texture/frame dumping infrastructurePokechu22
Texture dumping can already be done using VideoCommon's system (and in fact the same setting already enabled *both* of these). Dumping objects/TEV stages/texture fetches doesn't currently have an equivalent, but could be added to the FIFO player instead.
2022-09-19VideoCommon: Add dynamic vertex loader to ubershadersTellowKrinkle
2022-08-04VideoCommon: Remove old iLog fieldPokechu22
Prior to 7854bd71098fe556ddc9839ad08d27fab7ecba33, this was used by the debugger for the OpenGL and D3D9 plugins to control logging (via PRIM_LOG and INFO_LOG/DEBUG_LOG in VideoCommon code; PRIM_LOG was changed in 77215fd27ccb7cdeb82fed24a7a8d4d4ad4c33a4), and also framedumping (removed in 64927a2f81fe64503060c949ead525995fd63a2a and 2d8515c0cf754806dc38222c4461053e12df1194), shader dumping (removed in 2d8515c0cf754806dc38222c4461053e12df1194 and this commit), and texture dumping (removed in 54aeec7a8ff6b6e5d050637b6cce8df6d9a8b633). Apart from shader dumping, all of these features have modern alternatives, and shader source code can be seen in RenderDoc if "Enable API Validation Layers" is checked (which also enables source attachment), so there's no point in keeping this around.
2022-07-21VideoBackends:Metal: MSAA supportTellowKrinkle
2022-06-27VideoCommon: support dynamically updating game mods at runtimeiwubcode
2022-06-27Core / DolphinQt / VideoCommon: add setting for enabling graphic modsiwubcode
2022-04-16Implement ImGui window for scissor rectanglesPokechu22
This is mainly for debugging, and is only exposed by manually editing the configuration.
2022-04-16VideoCommon: Remove bSupportsOversizedViewportsPokechu22
I think this is a relic of D3D9. D3D11 and D3D12 seem to work fine without it. Plus, ViewportCorrectionMatrix just didn't work correctly (at least with the viewports being generated by the new scissor code).
2022-04-15Merge pull request #10255 from Pokechu22/sw-zfreezeScott Mansell
Software: Fix zfreeze with CullMode::All
2022-04-08Software: Remove config to disable ZComploc and ZFreezePokechu22
These aren't particularly useful, and make the code a bit more confusing. If for some reason someone wants to test what happens when these functions are disabled, it's easier to just edit the code that implements them. They aren't exposed in the UI, so one would need to restart Dolphin to do it anyways.
2022-04-09VideoCommon/FrameDump: Allow user to specify a pixel format.Admiral H. Curtiss
2022-01-31VideoConfig: Add flag for whether the system supports setting object namesOatmealDome
2021-12-25VideoConfig: Add bool for sampler LOD bias supportOatmealDome