summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2022-12-11VideoCommon/PixelEngine: Refactor to class, move to Core::System.Admiral H. Curtiss
2022-12-10VideoCommon/Fifo: Pass Core::System to methods.Admiral H. Curtiss
2022-12-10VideoCommon/Fifo: Refactor to class, move to Core::System.Admiral H. Curtiss
2022-12-09Core: Add option to force linear texture filtering.Admiral H. Curtiss
2022-12-03HW/Memmap: Refactor Memory to class, move to Core::System.Admiral H. Curtiss
2022-11-29VideoCommon/CommandProcessor: Refactor to class, move to Core::System.Admiral H. Curtiss
2022-11-27CoreTiming: Refactor to class.Admiral H. Curtiss
2022-11-24Merge pull request #11166 from AdmiralCurtiss/mmio-systemMai
HW: Pass System to MMIO handlers.
2022-11-23Fix build errors related to formatting non-scoped enumsPokechu22
2022-11-23Core/CommandProcessor: Reformat single/dual core dependent MMIO handlers.Admiral H. Curtiss
2022-11-23HW: Pass System to MMIO handlers.Admiral H. Curtiss
2022-11-23Merge pull request #11253 from AdmiralCurtiss/core-timing-events-pass-systemMai
CoreTiming: Pass Core::System to Events.
2022-11-23Merge pull request #11298 from Pokechu22/vertexloader-no-DataReaderMai
VertexLoader: Eliminate use of DataReader
2022-11-22Fix VertexLoader.cpp using the wrong size for texture matrix indices without ↵Pokechu22
a corresponding texture This regressed in 0a906f553fe7699d1c863a464211f74b6c306a0f, I think (though I haven't confirmed it). Mario Tennis and Luigi's Mansion both use these for some reason (as far as I can tell, the data isn't actually used; it's just extra data included for no reason)
2022-11-22VertexLoader: Eliminate use of DataReaderPokechu22
DataReader is generally jank - it has a start and end pointer, but the end pointer is generally not used, and all of the vertex loaders mostly bypassed it anyways. Wrapper code (the vertex loaer test, as well as Fifo.cpp and OpcodeDecoding.cpp) still uses it, as does the software vertex loader (which is not a subclass of VertexLoader). These can probably be eliminated later.
2022-11-23Improve FPS/VPS Counting and Revamp AppearanceSam Belliveau
2022-11-21Merge pull request #11285 from K0bin/cp-checksPokechu22
VideoCommon:VertexLoaderManager: Reduce CPConfig checks
2022-11-18VideoCommon:VertexLoaderManager: Reduce CPConfig checksRobin Kertels
A bit of a micro optimization: CheckCPConfiguration is called 350 times instead of 35k times.
2022-11-15VideoCommon/FramebufferManager: Rename m_efb_cache_tiles_wide to ↵Pokechu22
m_efb_cache_tile_row_stride This also initializes it in the non-tiled case just for consistency, although it's not actually read in that case.
2022-11-15VideoCommon/FramebufferManager: use !IsUsingTiledEFBCache() in ↵Pokechu22
GetEFBCacheTileRect This is for readability only, and should behave identically.
2022-11-15VideoCommon/FramebufferManager: Always update frame access mask on depth peeksPokechu22
0e02ddcf52ed86060ac1a0a85fa144738fa5163c removed separate logic for tiled versus non-tiled EFB peek caches, and as part of that made it so that color peeks updated the frame access mask even when a non-tiled cache is in use. However, the same change was not made for depth peeks. I'm not sure if this affected anything in practice.
2022-11-15Merge pull request #11172 from K0bin/efb-refreshJMC47
VideoCommon:FramebufferManager: Mark cache as valid after refresh
2022-11-07VideoCommon: Add an option to disable mipmapsTellowKrinkle
Needed by M1 fifoci to work around a minor non-determinism bug
2022-11-06VideoCommon: Hold ImGui lock while initializing and shutting down ImGui.Admiral H. Curtiss
2022-11-06Merge pull request #11225 from iwubcode/graphics-mod-textureload-callableAdmiral H. Curtiss
VideoCommon: call texture load graphics mod hook when textures are loaded
2022-11-06Merge pull request #11246 from tellowkrinkle/PVDMemsetAdmiral H. Curtiss
VideoCommon: Zero PortableVertexDeclarations on initialization
2022-11-06CoreTiming: Pass Core::System to Events.Admiral H. Curtiss
2022-11-05VideoCommon: Zero PortableVertexDeclarations on initializationTellowKrinkle
Fixes an issue where the default initializer wouldn't initialize padding, making for fun non-determinism
2022-11-04VideoCommon:FramebufferManager: CleanupRobin Kertels
2022-11-04VideoCommon:FramebufferManager: Mark cache as valid after refreshRobin Kertels
Otherwise we might never hit the early return if either depth or color doesnt have any active tiles.
2022-10-29VideoCommon/Statistics: Require semicolons after statistics macrosPokechu22
This is clearer and reduces IntelliSense problems.
2022-10-28VideoCommon: call texture load graphics mod hook when Dolphin loads a textureiwubcode
2022-10-25VertexLoader: Remove "too many initializer values" workaround functionsPokechu22
I originally added these in 2b1d1038a6acf0acf75b03ca93c85de6fe6cdf18, for both the TPipelineFunction and the size. The size was moved into the header in fdcd2b7d009cece6ad090143ce954aed713bb11c (making the size functions obsolete), but it seems that the functions themselves are no longer needed now. I think I didn't use this approach before because it would have required ComponentFormatTable and ComponentCountRow to be templated, which would end up resulting in lines that were too long and thus wrapped in awkward places. (I *think* they didn't get inferred properly.) Now that we only need TPipelineFunction, the templating is not needed, and this ends up being a more readable version of the version with the wrapper functions.
2022-10-25Merge pull request #11207 from Pokechu22/invalid-normal-countJMC47
VideoCommon: Treat invalid normal count as NormalTangentBinormal
2022-10-24VideoCommon: Treat invalid normal count as NormalTangentBinormalPokechu22
See https://bugs.dolphin-emu.org/issues/13070.
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: Support hot reloading of VS expandTellowKrinkle
2022-10-22VideoCommon: Add reasons for disabled VS expandTellowKrinkle
2022-10-22VideoCommon: Move repeated point/line expansion code to ShaderGenCommonTellowKrinkle
2022-10-22VideoCommon: Add configuration to prefer VS for line/point expansionTellowKrinkle
2022-10-22VideoCommon: Add vertex shader point and line expansionTellowKrinkle
2022-10-20Merge pull request #10859 from tellowkrinkle/UniformBufferSizeJMC47
VideoCommon: Increase uniform stream buffer size to 64mb
2022-10-18Merge pull request #10836 from iwubcode/d3d_uint_fixJMC47
VideoCommon: fix uint shader compiler error when using d3d
2022-10-09Simplify saving CP statePokechu22
Rather than makring some parts of VertexLoaderManager dirty in some places and some in others, do it all in VideoState. Also, since CPState no longer contains pointers/non-CP data after d039b1bc0dfaba2a88036468b6d971bb1d7e463d, we can just use p.Do on it instead of manually saving each field.
2022-10-09Include tangent/binormal cache in savestatesPokechu22
This theoretically matters for RS2/RS3, although in practice these games reconfigure it each frame so it shouldn't matter for savestates.
2022-10-09VideoCommon: add structures to graphics mods to allow for future adding or ↵iwubcode
removing parameters with less code overhead
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.