| Age | Commit message (Collapse) | Author |
|
|
|
Using the `-Wnrvo` flag introduced by GCC 14, I identified a few places where NRVO was clearly intended, but is fumbled.
|
|
VideoCommon: Move backend_info out of VideoConfig struct.
|
|
|
|
In PPCTables.cpp, the code is currently unused so I was unable to test it.
In CustomPipeline.cpp, a pointer to member function cannot be used due to 16.4.5.2.1 of the C++ Standard regarding "addressable functions". https://eel.is/c++draft/namespace.std#6
In Fs.cpp and DirectoryBlob.cpp, these examples used projections in a previous iteration of this commit, but no longer do. Still, they remain in this commit because the PR they would actually belong to is already merged.
|
|
In LabelMap.cpp, the code is currently unused so I was unable to test it.
In WiiUtils.cpp, the magic value `1u` was replaced by the constant value `DiscIO::PARTITION_UPDATE`.
|
|
|
|
|
|
|
|
|
|
|
|
Clamp overlays to the render window (with some padding), reset their
positions when the render window changes sizes, and add a setting to
enable moving the overlays (off by default, .ini only for now).
|
|
VideoCommon: move texcoord calculations to accessible functions in VertexShaderGen
|
|
VideoCommon: drop CP MMIO registers that were probably added in the wrong place
|
|
VertexShaderGen
|
|
This saves three instructions on AMD GPUs. Dunno about Nvidia.
|
|
|
|
I think someone confused these with the actual token and bounding box
registers in PE, which were added later. In CP they never did anything
and it's suspicious that they have the same addresses as their PE
counterparts. On real hardware they always read as zero.
|
|
Dentomologist/performancemetrics_allow_moving_overlays
PerformanceMetrics: Allow users to move overlays
|
|
Refactor: Infinite loop in AsyncShaderCompiler according to style guidelines
|
|
|
|
Allow users to move the FPS, VPS, Speed, and Performance Graph overlays.
|
|
Move ImGui::End() calls out of if(ImGui::Begin()) blocks.
Quoting from ImGui::Begin's function comment in imgui.cpp:
"You always need to call ImGui::End() even if false is returned."
In practice this didn't cause problems because the windows don't have
title bars and thus can't be collapsed, and so the block containing
::End would always run, but let's do it the right way.
|
|
VertexLoaderBase: Allow the vertex loader type to be set via config
|
|
Externals / VideoCommon: update imgui to 1.91.7 and implot to v0.16
|
|
|
|
changed types for ImTextureId, which was addressed by using an implicit cast
|
|
|
|
Core/VideoCommon: Fix duplicate OSD Custom Textures messages
|
|
Core/VideoCommon: Fix some weird (!eof) logic.
|
|
AdvancedWidget: Replace FFV1 codec with Ut Video
|
|
In NandPaths.cpp, the `std::initializer_list<char>` of illegal characters has been turned into a `char[]` (similar to the one in GameList.cpp).
The reverse iteration in ResourcePack.cpp seemed to provide no benefits, and doing without it it seemed to have no ill effects.
|
|
|
|
Ut Video is faster and more compatible with editing programs, but produces larger files.
|
|
Resolves duplicate OSD messages for Loading and Found custom textures.
VideoBackend initialization results in HiresTexture::Init being called.
We already call HiresTexture::Update when OnNewTitleLoad is called.
Thus we can remove HiresTextures::Init completely as it is redundant.
|
|
In JitRegCache.cpp, the lambda predicate were replaced by a pointer to member function because ranges algorithms are able to invoke those.
In ConvertDialog.cpp, the `std::mem_fn` helper was removed because ranges algorithms are able to handle pointers to member functions as predicates.
In BoundingBox.cpp, the lambda predicate was returning the bool element unchanged, so `std::identity` was a better fit.
|
|
In WiimoteReal.cpp, JitRegCache.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those.
In ConvertDialog.cpp, the `std::mem_fn` helper was removed because ranges algorithms are able to handle pointers to member functions as predicates.
|
|
In DITSpecification.cpp, MaterialAsset.cpp, and ShaderAsset.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those.
In NetPlayClient.cpp, the non-trivial `NetPlay::Player` elements were being passed by value in `NetPlayClient::DoAllPlayersHaveGame()`. This has been fixed.
In WIABlob.cpp, the second example's predicate was returning the `std::optional` by value instead of implicitly converting it to a bool. This has been fixed.
|
|
|
|
Recommend the platform's default video backend in the Backend tooltip
instead of always recommending OpenGL.
|
|
Rename GetDefaultBackendName to GetDefaultBackendConfigName to
distinguish it from the display name.
|
|
|
|
VideoCommon: fix -Wshadow-uncaptured-local warning and simplify
|
|
Remove defined-out code
|
|
Ranges Algorithms Modernization - Compare
|
|
|
|
Ranges Algorithms Modernization - Trivial
|
|
VideoCommon: fix common opcode decoding errors
|
|
Fixes LIT (https://bugs.dolphin-emu.org/issues/13635). The text does not include normals, but has lighting enabled. With the previous default of (0, 0, 0), lighting was always black (as dot(X, (0, 0, 0)) is always 0). It seems like the normal from the map in the background (0, 0, 1) is re-used.
LIT also has the vertex color enabled while vertex color is not specified, the same as SMS's debug cubes; the default MissingColorValue GameINI value of solid white seems to work correctly in this case.
|
|
Ranges Algorithms Modernization - Find
|