summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | startup_checks: Use Windows flow for *nixGravatar lat9nq2022-11-232-9/+51
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spawns a child using fork and exec as opposed to fork alone. Workaround for the macos file manager complaining about not supporting fork without exec. Control flow for *nix is now roughly the same as for Windows.
* | | | | | | | Merge pull request #9322 from german77/pump_eventsGravatar liamwhite2022-11-296-10/+35
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | input_common: Pump SDL events from main thread
| * | | | | | | | input_common: Pump sdl events from main threadGravatar german772022-11-276-10/+35
| | | | | | | | |
* | | | | | | | | Merge pull request #9352 from lioncash/vidcastGravatar liamwhite2022-11-2910-88/+60
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | engines: Remove unnecessary casts
| * | | | | | | | | maxwell_3d: Mark shifted value as unsignedGravatar Lioncash2022-11-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise this is technically creating a signed int result that gets converted. Just a consistency change. While we're in the area, we can mark Samples() as const.
| * | | | | | | | | engines: Remove unnecessary castsGravatar Lioncash2022-11-2910-85/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a few cases we have some casts that can be trivially removed.
* | | | | | | | | | host1x/syncpoint_manager: Eliminate unnecessary std::function constructionGravatar Lioncash2022-11-291-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can just pass the function object through, and if it's a valid function, then it will automatically be converted.
* | | | | | | | | | host1x/syncpoint_manager: Pass DeregisterAction() handle as const-refGravatar Lioncash2022-11-292-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The handle is only compared against and not modified in any way, so we can pass it by const reference. This also allows us to mark the respective parameters for DeregisterGuestAction() and DeregisterHostAction() as const references as well.
* | | | | | | | | | Merge pull request #9340 from lioncash/nvdrvGravatar liamwhite2022-11-291-26/+18
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | nvdrv: Simplify builder declarations
| * | | | | | | | | | nvdrv: Simplify builder declarationsGravatar Lioncash2022-11-281-26/+18
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can just use auto here. If one of these ever happens to not be derived from nvdevice, then this will cause a compilation error. We can also move the devices into the collection to get rid of an unnecessary atomic reference count increment and decrement.
* | | | | | | | | | Merge pull request #9347 from lioncash/vcastGravatar liamwhite2022-11-291-11/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | video_core/surface: Eliminate casts in GetFormatType()
| * | | | | | | | | | video_core/surface: Eliminate casts in GetFormatType()Gravatar Lioncash2022-11-281-11/+4
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can just compare directly and get rid of verbose casting.
* | | | | | | | | | Merge pull request #9346 from lioncash/vtableGravatar liamwhite2022-11-291-0/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | producer_listener: Add virtual destructor to IProducerListener
| * | | | | | | | | | producer_listener: Add virtual destructor to IProducerListenerGravatar Lioncash2022-11-281-0/+1
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several member variables are shared_ptr's to this base class. Even though producer listeners are still unimplemented, this ensures we always have consistent deletion behavior once this ends up being used polymorphically.
* | | | | | | | | | Merge pull request #9345 from lioncash/fenceGravatar liamwhite2022-11-296-16/+15
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | consumer_base: Pass std::shared_ptr by const reference
| * | | | | | | | | | buffer_item_consumer: Pass fence by const-ref in ReleaseBuffer()Gravatar Lioncash2022-11-283-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This isn't directly modified. Also allows rvalues to be used with it.
| * | | | | | | | | | buffer_queue_consumer: std::move std::shared_ptr in Connect()Gravatar Lioncash2022-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids an unnecessary reference count increment and decrement
| * | | | | | | | | | consumer_base: Pass shared_ptr by const referenceGravatar Lioncash2022-11-282-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids churning atomic reference count increments and decrements.
| * | | | | | | | | | consumer_base: Remove redundant virtualGravatar Lioncash2022-11-281-5/+5
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | override already serves this purpose
* | | | | | | | | | Merge pull request #9343 from lioncash/boundsGravatar liamwhite2022-11-292-17/+31
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | syncpoint_manager: Reduce redundant bounds checks
| * | | | | | | | | syncpoint_manager: Mark IsSyncpointAllocated() as constGravatar Lioncash2022-11-282-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't modify class state at all.
| * | | | | | | | | syncpoint_manager: Reduce number of bounds checksGravatar Lioncash2022-11-281-14/+28
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | The only time we need to check bounds is on the first access.
* | | | | | | | | Merge pull request #9339 from lioncash/cacheheaderGravatar Morph2022-11-282-4/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | common/cache_management: Amend header includes
| * | | | | | | | | common/cache_management: Amend header includesGravatar Lioncash2022-11-282-4/+3
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Narrows the include in the header to <cstddef>, since that's what houses size_t's definition, meanwhile the <cstdint> include can be moved into the cpp file.
* | | | | | | | | Merge pull request #9338 from lioncash/propertiesGravatar Morph2022-11-282-2/+18
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | input_common/helpers: Mark analog property structs members as static constexpr
| * | | | | | | | | input_common/helpers: Mark analog property structs members as static constexprGravatar Lioncash2022-11-282-2/+18
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are const with no dependency on any other data members, so we can make these static constexpr to reduce the overall object size.
* | | | | | | | | Merge pull request #9337 from lioncash/pbrGravatar Morph2022-11-287-104/+112
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | common/input: Add helper functions for constructing input and output devices
| * | | | | | | | | core/hid/emulated_controller: Use ranges version of transformGravatar Lioncash2022-11-281-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes the transform calls much nicer to read.
| * | | | | | | | | common/input: Add helpers functions for creating input and output devicesGravatar Lioncash2022-11-287-90/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids the redundancy of needing to explictly specify the common namespace and the type.
| * | | | | | | | | common/input: Pass ParamPackage by const reference in CreateDeviceGravatar Lioncash2022-11-281-3/+3
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was previously being passed by value, which was unnecessary and created more allocations than necessary.
* / / / / / / / / yuzu/main: Merge variable declaration into ifdefGravatar Lioncash2022-11-281-2/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | This is only used in the non-Windows path.
* | | | | | | | Merge pull request #9325 from german77/default_by_defaultGravatar liamwhite2022-11-281-1/+5
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | yuzu-cmd: Fix default config value
| * | | | | | | yuzu-cmd: Fix default config valueGravatar german772022-11-271-1/+5
| | | | | | | |
* | | | | | | | Merge pull request #8829 from Docteh/qt6_0002Gravatar liamwhite2022-11-279-14/+56
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | CMake: rework for Qt6 support
| * | | | | | | | CMake: rework for Qt6 supportGravatar Kyle Kienapfel2022-11-243-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR rearranges things in the CMake system to make compiling with Qt6 possible 1. Camera API has changed in Qt6, so the camera feature is disabled 2. A previous fix involving QLocale is now version gated. 3. QRegExp replaced with QRegularExpression, see #5343 4. Qt6_LOCATION option added to specify a location to search for Qt6 (see examples below) 5. windeployqt is used to copy Qt6 files into the build directory on Windows Notes for Arch Linux Arch install happened to have qt6-base qt6-declarative qt6-translations installed mkdir build && cd build cmake .. -GNinja -DYUZU_USE_BUNDLED_VCPKG=ON -DYUZU_TESTS=OFF -DENABLE_QT6=YES -DYUZU_USE_BUNDLED_QT=NO Windows (MSVC) Qt wants users to download precompiled libraries via an online installer, it is worth noting that the GPL/LGPL takes precendence over any ... In the Qt Maintenance tool, under a version, such as 6.3.1 Select "MSVC 2019 64-bit" Under Additional Libraries Qt Multimedia may be of use for Camera support For the Web Applet I had to select the following: PDF Positioning WebChannel WebEngine mkdir build && cd build cmake -G "Visual Studio 16 2019" -DQt6_LOCATION=C:/Qt/6.4.0/msvc2019_64/ \ -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=YES -DYUZU_USE_BUNDLED_QT=NO \ -DENABLE_QT_TRANSLATION=YES -DENABLE_QT6=YES .. Some numbers for reference (msvc2019_64) Qt5 (slimmed down) 508 MB Qt5.15.2 all in 929 MB Qt6.3.1 1.71 GB Qt6.3.2 1.73 GB Qt6.4.0-beta3 1.83 GB Qt6.4.0 1.67 GB
| * | | | | | | | qt: Add Qt version to LogRuntimesGravatar Kyle Kienapfel2022-11-171-0/+1
| | | | | | | | |
| * | | | | | | | Qt6: Disable IR Sensor when compiling with Qt6Gravatar Kyle Kienapfel2022-11-176-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gating the IR Sensor code behind a macro like so `#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) && YUZU_USE_QT_MULTIMEDIA` The YUZU_USE_QT_MULTIMEDIA flag is implemented in later commit Also the locale fix in src/yuzu/main.cpp is now gated against Qt6, as it causes compilation error
* | | | | | | | | Merge pull request #9317 from german77/input-crashGravatar liamwhite2022-11-273-0/+13
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | yuzu-cmd: Fix input callback crash on close
| * | | | | | | | | yuzu-cmd: Fix input callback crash on closeGravatar german772022-11-273-0/+13
| | |_|/ / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #9323 from german77/intructionsGravatar liamwhite2022-11-271-3/+26
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | yuzu-cmd: Update configuration file description
| * | | | | | | | yuzu-cmd: Update configuration file descriptionGravatar german772022-11-261-3/+26
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge pull request #9276 from goldenx86/fsrSliderGravatar bunnei2022-11-278-1/+200
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | FSR Sharpening Slider
| * | | | | | | | Sharpness instead of SharpeningGravatar Matías Locatti2022-11-261-3/+3
| | | | | | | | |
| * | | | | | | | configure_graphics: Implement custom FSR Sharpening settingGravatar lat9nq2022-11-252-61/+128
| | | | | | | | |
| * | | | | | | | settings: Reset FSR sharpening global state with the othersGravatar lat9nq2022-11-251-0/+1
| | | | | | | | |
| * | | | | | | | FSR Sharpening Slider part 1 - only a global sliderGravatar Matías Locatti2022-11-248-1/+132
| | |_|/ / / / / | |/| | | | | |
* | | | | | | | crypto: use user-provided keys whenever possibleGravatar Valeri2022-11-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Solves an issue where autogenerated title keys would take precedence over those provided by user.
* | | | | | | | OopsGravatar Matías Locatti2022-11-261-1/+1
| | | | | | | |
* | | | | | | | Replace GLSL as the default OpenGL shader backendGravatar Matías Locatti2022-11-261-1/+1
| |/ / / / / / |/| | | | | | | | | | | | | GLASM is not very compatible with the latest games, and too many people have the special superpower to break their Vulkan support.
* | | | | | | Merge pull request #9288 from vonchenplus/deferred_drawGravatar liamwhite2022-11-262-61/+63
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | video_core: Fine tune maxwell drawing trigger mechanism