aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-05-14video_core/gpu_thread: Remove redundant copy constructor for ↵Lioncash
CommandDataContainer std::move within a copy constructor (on a data member that isn't mutable) will always result in a copy. Because of that, the behavior of this copy constructor is identical to the one that would be generated automatically by the compiler, so we can remove it.
2019-05-14Merge pull request #2462 from lioncash/video-mmMat M
video_core/memory_manager: Minor tidying
2019-05-14Merge pull request #2461 from lioncash/unused-varMat M
video_core: Remove a few unused variables and functions
2019-05-14Merge pull request #2460 from lioncash/volatileMat M
CMakeLists: Specify /volatile:iso for MSVC
2019-05-14Merge pull request #2450 from lioncash/warn-levelMat M
CMakeLists: Explicitly specify -Wall for the non-MSVC case
2019-05-13Merge pull request #2413 from FernandoS27/opt-gpuRodrigo Locatti
Rasterizer Cache: refactor flushing & optimize memory usage of surfaces
2019-05-12GPU/MMEInterpreter: Ignore the 'exit' flag when it's executed inside a delay ↵Sebastian Valle
slot. It seems instructions marked with the 'exit' flag will not cause an exit when executed within a delay slot. This was hwtested by fincs.
2019-05-09service/set: Correct and simplify behavior related to copying language codesLioncash
This corrects cases where it was possible to write more entries into the write buffer than were requested. Now, we check the size of the buffer before actually writing into them. We were also returning the wrong value for GetAvailableLanguageCodeCount2(). This was previously returning 64, but only 17 should have been returned. 64 entries is the size of the static array used in MakeLanguageCode() within the service binary itself, but isn't the actual total number of language codes present.
2019-05-09video_core/memory_manager: Mark IsBlockContinuous() as a const member functionLioncash
Corrects the typo in its name and marks the function as a const member function, given it doesn't actually modify memory manager state.
2019-05-09video_core/memory_manager: Mark the constructor as explicitLioncash
Prevents implicit converting constructions of the memory manager.
2019-05-09video_core/memory_manager: Default the destructor within the cpp fileLioncash
Makes the class less surprising when it comes to forward declaring the type, and also prevents inlining the destruction code of the class, given it contains non-trivial types.
2019-05-09video_core/memory_manager: Amend doxygen commentsLioncash
Corrects references to non-existent parameters and corrects typos.
2019-05-09video_core/memory_manager: Remove superfluous const from function declarationsLioncash
These are able to be omitted from the declaration of functions, since they don't do anything at the type system level. The definitions of the functions can retain the use of const though, since they make the variables immutable in the implementation of the function where they're used.
2019-05-09video_core/renderer_opengl/gl_shader_cache: Correct member initialization orderLioncash
Silences a -Wreorder warning.
2019-05-09video_core/shader/decode/texture: Remove unused variable from GetTld4Code()Lioncash
2019-05-09renderer_vulkan/vk_shader_decompiler: Remove unused variable from ↵Lioncash
DeclareInternalFlags()
2019-05-09video_core/renderer_opengl/gl_shader_decompiler: Remove unused Composite() ↵Lioncash
function This isn't used at all, so it can be removed.
2019-05-09video_core/renderer_opengl/gl_rasterizer_cache: Remove unused variable in ↵Lioncash
UploadGLMipmapTexture() This variable is unused entirely, so it can be removed.
2019-05-09video_core/gpu_thread: Remove unused local variableLioncash
Instead of retrieving the data from the std::variant instance, we can just check if the variant contains that type of data. This is essentially the same behavior, only it returns a bool indicating whether or not the type in the variant is currently active, instead of actually retrieving the data.
2019-05-09video_core/textures/astc: Remove unused variablesLioncash
Silences a few compilation warnings.
2019-05-09CMakeLists: Specify /volatile:iso for MSVCLioncash
By default, MSVC doesn't use standards-compliant volatile semantics. This makes it behave in a standards-compliant manner, making expectations more uniform across compilers.
2019-05-09Merge pull request #2437 from lioncash/audctlbunnei
service/audctl: Update documentation comments to be relative to 8.0.0
2019-05-09Merge pull request #2454 from lioncash/cflagbunnei
src/CMakeLists: Add /Zc:externConstexpr to the MSVC build flags
2019-05-09Merge pull request #2442 from FernandoS27/astc-fixbunnei
Fix Layered ASTC Textures
2019-05-09Merge pull request #2443 from ReinUsesLisp/skip-repeated-variantsbunnei
gl_shader_disk_cache: Skip stored shader variants instead of asserting
2019-05-09Merge pull request #2445 from FearlessTobi/port-4749bunnei
Port citra-emu/citra#4749: "web_service: Misc fixes"
2019-05-09Merge pull request #2458 from lioncash/hotkeybunnei
yuzu/hotkeys: Remove unnecessary constructor
2019-05-09Merge pull request #2456 from lioncash/qualifierbunnei
yuzu/compatdb: Remove unnecessary qualifiers
2019-05-09Merge pull request #2459 from lioncash/whatbunnei
configure_dialog: Remove the Whats This? button from the dialog
2019-05-09Merge pull request #2453 from lioncash/enumbunnei
core/memory: Remove unused FlushMode enum
2019-05-09Merge pull request #2429 from FernandoS27/computebunnei
Corrections and Implementation on GPU Engines
2019-05-09configure_dialog: Remove the Whats This? button from the dialogLioncash
2019-05-09yuzu/hotkeys: Remove unnecessary constructorLioncash
The behavior of the Hotkey constructor is already accomplished via in-class member initializers, so the constructor is superfluous here.
2019-05-09yuzu/main: Move window title updating logic to its own functionLioncash
For similar reasons to the previous change, we move this to a single function, so we don't need to duplicate the conversion logic in several places within main.cpp.
2019-05-09yuzu/about_dialog: Specify string conversions explicitlyLioncash
Specifies the conversions explicitly to avoid implicit conversions from const char* to QString. This makes it easier to disable implicit QString conversions in the future. In this case, the implicit conversion was technically wrong as well. The implicit conversion treats the input strings as ASCII characters. This would result in an incorrect conversion being performed in the rare case a branch name was created with a non-ASCII Unicode character, likely resulting in junk being displayed.
2019-05-09yuzu/compatdb: Remove unnecessary qualifiersLioncash
Keeps the code consistent in regards to how the buttons are referred to.
2019-05-09configuration/config: Move config loading and saving to functions based off ↵Lioncash
groups Over time our config values have grown quite numerous in size. Unfortunately it also makes the single functions we have for loading and saving values more error prone. For example, we were loading the core settings twice when they only should have been loaded once. In another section, a variable was shadowing another variable used to load settings from a completely different section. Finally, in one other case, there was an extraneous endGroup() call used that didn't need to be done. This was essentially dead code and also a bug waiting to happen. This separates the section loading code into its own separate functions. This keeps variables only visible to the code that actually needs it, and makes it much easier to visually see the end of each individual configuration group. It also makes it much easier to visually catch bugs during code review. While we're at it, this also uses QStringLiteral instead of raw string literals, which both avoids constructing a lot of QString instances, but also makes it much easier to disable implicit ASCII to QString and vice-versa in the future via setting QT_NO_CAST_FROM_ASCII and QT_NO_CAST_TO_ASCII as compilation flags.
2019-05-07src/CMakeLists: Add /Zc:externConstexpr to the MSVC build flagsLioncash
The C++ standard allows constexpr variables declared with the extern keyword to have external linkage. Previously MSVC wasn't abiding by this. This just makes the compiler more standards compliant during builds. Given we currently don't make use of anything that would break by this, this is safe to enable.
2019-05-07src/CMakeLists: Vertically order compilation flagsLioncash
Makes it much nicer to visually scan the options. This also starts the flag descriptions from the same column for the same reason.
2019-05-07core/memory: Remove unused FlushMode enumLioncash
Recent changes to memory-related code resulted in this being unused, so we can remove it.
2019-05-07Correct possible error on Rasterizer CachesFernando Sahmkow
There was a weird bug that could happen if the object died directly and the cache address wasn't stored.
2019-05-07Merge pull request #2447 from lioncash/dtorRodrigo Locatti
core/frontend/emu_window: Make GraphicsContext's destructor virtual
2019-05-07Merge pull request #2448 from lioncash/pragmaRodrigo Locatti
common/zstd_compression: Remove #pragma once directive from source file
2019-05-04core/telemetry_session: Only create the backend when we really need itzhupengfei
The backend is not used until we decide to submit the testcase/telemetry, and creating it early prevents users from updating the credentials properly while the games are running.
2019-05-04shader/decode/texture: Remove unused variableLioncash
This isn't used anywhere, so we can get rid of it.
2019-05-04CMakeLists: Explicitly specify -Wall for the non-MSVC caseLioncash
Ensures that -Wall is always active as a compilation flag.
2019-05-04gl_rasterizer: Silence unused variable warningLioncash
Makes use of src, so it's not considered unused.
2019-05-04common/zstd_compression: Remove #pragma once directive from source fileLioncash
Introduced in 72477731ed20c56a4d6f18a22f43224fab667cef. This is only necessary within header files.
2019-05-04core/frontend/emu_window: Make GraphicsContext's destructor virtualLioncash
This class is used in a polymorphic context, so destruction of the context will lead to undefined behavior if the destructor isn't virtual.
2019-05-02shader_ir/other: Implement IPA.IDXReinUsesLisp