summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2023-07-02VideoCommon: add support for allowing a TextureCache entry to be associated ↵iwubcode
with multiple assets
2023-07-01Merge pull request #11923 from iwubcode/multi-texture-compute-supportAdmiral H. Curtiss
VideoBackends: support multiple compute images for some backends
2023-06-30Merge pull request #11955 from TellowKrinkle/CMakeDependenciesAdmiral H. Curtiss
CMake: Allow ignoring system packages
2023-06-30VideoCommon: add a pixel shader assetiwubcode
2023-06-28VideoBackends: support multiple compute images for some backends (D3D, OGL, ↵iwubcode
Vulkan)
2023-06-23Merge pull request #11982 from iwubcode/graphics_mod_create_texture_callbackAdmiral H. Curtiss
VideoCommon: add graphics mod callback interface for when a texture is created
2023-06-23Merge pull request #11850 from Filoppi/post_process_fixesAdmiral H. Curtiss
Video: implement color correction to match the Wii/GC NTSC/PAL color spaces (and gamma)
2023-06-20VideoCommon: add graphics mod callback interface for when a texture is creatediwubcode
2023-06-20VideoCommon: move cached texture asset to 'CustomAsset' common codeiwubcode
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-17Change unnamed enum in NativeVertexFormat.h to u32get
2023-06-17EnumUtils: Add Common::ToUnderlyingget
Mirrors the C++23 <utility> function, std::to_underlying
2023-06-17Merge pull request #11918 from TellowKrinkle/DPIScaleAdmiral H. Curtiss
Improved DPI change handling
2023-06-16Merge pull request #11889 from Filoppi/patch-18Admiral H. Curtiss
Fix video output having small black borders all the times
2023-06-16Merge pull request #11834 from ↵Admiral H. Curtiss
Dentomologist/xemitter_use_pseudonamed_parameter_force5bytes XEmitter: Add enum class Force5Bytes
2023-06-15CMake: Use targets for all optionally-external dependenciesTellowKrinkle
2023-06-13Merge pull request #11941 from ↵Admiral H. Curtiss
Dentomologist/convert_blockingloop_stopmode_to_enum_class Common: Convert BlockingLoop::StopMode to enum class
2023-06-12VideoCommon: don't treat incorrect aspect ratio or sizes that aren't a ↵iwubcode
multiple of native textures as an error
2023-06-12Common: Convert BlockingLoop::StopMode to enum classDentomologist
2023-06-12XEmitter: Add enum class JumpDentomologist
Replace the bool parameter force5bytes in J, JMP, and J_CC with an enum class Jump::Short/Near. Many callers set that parameter to the literal 'true', which was unclear if you didn't already know what it did.
2023-06-12Merge pull request #10976 from TellowKrinkle/StackFramesOatmealDome
Improve stack frames for profilers
2023-06-11VideoCommon: Update imgui scale when dpi changesTellowKrinkle
2023-06-11VideoBackends:Vulkan: Allow loading custom drivers on AndroidRobin Kertels
... using libadrenotools
2023-06-09Merge pull request #11699 from Pokechu22/gl-check-maximum-samplesAdmiral H. Curtiss
OpenGL: Check the list of supported AA modes instead of hardcoding
2023-06-09Merge pull request #11859 from iwubcode/backend-multi-outputAdmiral H. Curtiss
VideoBackends: add support to allow rendering to multiple output targets
2023-06-08VideoCommon: Pass WindowSystemInfo to InitBackendInfoPokechu22
2023-06-08VideoCommon: update DirectFilesystemAssetLibrary to not throw exceptions ↵iwubcode
when a file no longer exists
2023-06-08VideoCommon: add logging for loading texture assetsiwubcode
2023-06-08Merge pull request #11681 from iwubcode/asset_managementAdmiral H. Curtiss
VideoCommon: migrate texture packs to use the asset loader system
2023-06-08Merge pull request #11899 from Filoppi/patch-20Admiral H. Curtiss
Video: Fix Post Process shader options issues
2023-06-08Merge pull request #11901 from Filoppi/add_texture_typesAdmiral H. Curtiss
Video: add R10B10G10A2 and R16G16B16A16F texture types
2023-06-08Video: add R10B10G10A2 and R16G16B16A16F texture types (needed by PR 11850)Filoppi
2023-06-08Video: Fix Post Process shader options issuesFilippo Tarpini
-An assert would be erroneously thrown when shaders declared an array of 4 int or float options, despite 4 being the max supported (a simple <= / < mistake) -When changing the type of a shader option (e.g. from bool to float), the serialization would be stuck appending the value from the previous option type, making the shader fail to build permanently until the cache were cleaned
2023-06-07InputCommon / VideoCommon: remove dynamic input reloading the texture cache, ↵iwubcode
this is no longer needed, assets reload automatically!
2023-06-07VideoCommon: introduce linked assets in TCacheEntry, allowing for assets to ↵iwubcode
be reloaded
2023-06-06Remove old GCC version workaroundsMinty-Meeo
The minimum GCC version is now GCC 10.
2023-06-05Core / VideoCommon: update HiresTexture to use CustomAssetLoaderiwubcode
2023-06-05VideoCommon: add additional locks around asset access and usage to ensure ↵iwubcode
thread safety
2023-06-04Fix video output having small black borders all the timesFilippo Tarpini
To maintain compatibility with some video encoders, the whole output buffer was scaled to be a multiple of 4. This change makes it so that that rule only applies while actively recording (or taking screenshots, even if it might not be necessary for that case).
2023-06-03VideoCommon: update pipeline version for RenderState changeiwubcode
2023-06-03VideoBackends: add support to allow rendering to multiple output texturesiwubcode
2023-06-03VideoCommon: fix minor issue in C++ templateiwubcode
2023-06-03Merge pull request #11879 from iwubcode/texture_data_load_nolevelsAdmiral H. Curtiss
VideoCommon: avoid segfault when loading a PNG with no custom texture data levels
2023-06-03VideoCommon: when loading a PNG with no custom texture data levels already, ↵iwubcode
create a level, this avoids a potential segfault
2023-06-03Merge pull request #11586 from JosJuice/unknown-opcode-msgAdmiral H. Curtiss
VideoCommon: Reword the unknown opcode error message
2023-06-03VideoCommon: prevent potential data issue when reloading Asset data that ↵iwubcode
could happen due to the asset loading thread reloading data while another thread is working with it
2023-06-02VideoCommon: add multithreaded asset loader and define a texture assetiwubcode
2023-06-02VideoCommon: add an asset library that loads directly from the filesystemiwubcode
2023-06-02VideoCommon: move custom texture data to assetsiwubcode
2023-06-01VideoCommon: add custom asset implementation and asset library that can load ↵iwubcode
an asset