ameerj
453e90ef6f
perf_stats: Rework FPS counter to be more accurate
The FPS counter was based on metrics in the nvdisp swapbuffers call. This metric would be accurate if the gpu thread/renderer were synchronous with the nvdisp service, but that's no longer the case.
This commit moves the frame counting responsibility onto the concrete renderers after their frame draw calls. Resulting in more meaningful metrics.
The displayed FPS is now made up of the average framerate between the previous and most recent update, in order to avoid distracting FPS counter updates when framerate is oscillating between close values.
The status bar update frequency was also changed from 2 seconds to 500ms.
5 years ago
Ameer J
a9c9d56a35
Merge pull request #6300 from Morph1984/mbedtls
externals: Update mbedtls to 8c88150ca
5 years ago
Morph
293ea086aa
Merge pull request #6306 from lat9nq/ffmpeg-untagged
externals: Checkout 79e8d17024 for FFmpeg
5 years ago
lat9nq
4a4884b4c8
externals: Checkout 79e8d17024 for FFmpeg
6b6b9e593d does not exist on FFmpeg master, and tag n4.3.1 requires
manually fetching all of FFmpeg's tags. `git` reports that the commit
does not exist initially and can be confusing as a result. Instead,
checkout the immediately previous commit from n4.3.1 on their master
branch.
5 years ago
bunnei
5568354451
Merge pull request #6301 from Morph1984/ssl-ImportClientPki
ssl: Stub Import(Client/Server)Pki
5 years ago
Morph
d1c74c3444
Merge pull request #6298 from Kewlan/toggled-show-add-on-refresh
configure_ui: Call RequestGameListUpdate when toggling "Show Add-Ons Column"
5 years ago
Morph
46f773ad5c
ssl: Stub Import(Client/Server)Pki
- Used in JUMP FORCE Deluxe Edition
5 years ago
Morph
27c2d51a53
Merge pull request #6267 from german77/gestureRewrite
hid: Improve hardware accuracy of gestures
5 years ago
Morph
a0540386e8
externals: Update mbedtls to 8c88150ca
5 years ago
Kewlan
182b56f54e
configure_ui: Call RequestGameListUpdate when toggling "Show Add-Ons Column"
5 years ago
bunnei
6997b030b1
Merge pull request #6291 from lioncash/kern-shadow
kernel: Eliminate variable shadowing
5 years ago
Morph
34a189140f
Merge pull request #6294 from german77/kernelCleanup
kernel: Delete unused files
5 years ago
german77
1b8951c31b
kernel: Delete unused files
5 years ago
Morph
892d4762ca
Merge pull request #6292 from lat9nq/sdl-trunk
externals: Update SDL to 107db2d8
5 years ago
lat9nq
b7b716ff5e
externals: Use SDL2 statically
Building it as a shared library causes issues distributing it to an
AppImage, since linuxdeploy expects the executable to only dynamically
link to system libraries. Additionally, simply dynamically linking to a
library in the binary directory is bound to cause issues.
Solution is to use SDL's CMake switches and build it statically. We also
alias `SDL2` to `SDL2-static` on the external submodule for
compatibility with the rest of the project.
5 years ago
lat9nq
401dfe53fa
externals: Update SDL to 107db2d8
In light of 627cb430b4 , the SDL submodule also needs updated. Updates
to the same commit used by the SDL package in ext-windows-bin.
5 years ago
Lioncash
e019da0487
kernel: Eliminate variable shadowing
Now that the large kernel refactor is merged, we can eliminate the
remaining variable shadowing cases.
5 years ago
bunnei
627cb430b4
Update SDL2 to SDL2-2.0.15-prerelease.
- Improves native Switch JoyCon/Pro Controller support.
5 years ago
bunnei
80460d421e
Merge pull request #6266 from bunnei/kautoobject-refactor
Kernel Rework: Migrate kernel objects to KAutoObject
5 years ago
bunnei
e75a9872ea
Merge pull request #6287 from lioncash/ldr-copy
ldr: Simplify memory copy within LoadNro()
5 years ago
Lioncash
6890201733
ldr: Simplify memory copy within LoadNro()
We can use the dedicated memory function for performing copies instead
of reading into a temporary buffer and then immediately writing it back
out to memory.
Eliminates a bit of heap memory churn.
5 years ago
bunnei
afdbfb884c
hle: kernel: KPageTable: CanContain should not be constexpr.
5 years ago
bunnei
14cb6883db
hle: kernel: Move slab resource counts to Kernel.
5 years ago
bunnei
720906d0a5
fixup! hle: kernel: Migrate KSharedMemory to KAutoObject.
5 years ago
bunnei
37338198be
fixup! hle: kernel: Migrate more of KThread to KAutoObject.
5 years ago
bunnei
b784918391
fixup! common: bit_util: Add BIT macro.
5 years ago
bunnei
636dd1917e
fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
5 years ago
bunnei
0cbeafef3e
fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
5 years ago
bunnei
4ebb8f0dfe
kernel: svc: Remove unused RetrieveResourceLimitValue function.
5 years ago
bunnei
89966df98c
hle: kernel: Fix un/sign mismatch errors with NUM_CPU_CORES.
5 years ago
bunnei
fd11e0722b
fixup! hle: kernel: Add initial impl. of slab setup.
5 years ago
bunnei
7341a973df
fixup! hle: kernel: Migrate to KHandleTable.
5 years ago
bunnei
464b640058
fixup! hle: kernel: Migrate more of KThread to KAutoObject.
5 years ago
bunnei
e2e26f8299
common: parent_of_member: Fix build for OffsetOf().
5 years ago
bunnei
396379c2c0
fixup! common: intrusive_red_black_tree: Disable static_assert that will not evaluate as constant on MSVC.
5 years ago
bunnei
3fa3fa47e5
fixup! hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.
5 years ago
bunnei
a50cc0c3f8
fixup! hle: kernel: Migrate to KHandleTable.
5 years ago
bunnei
9536ae2f2e
fixup! hle: kernel: Add initial impl. of KLinkedList.
5 years ago
bunnei
a4fc003902
fixup! hle: kernel: Migrate to KHandleTable.
5 years ago
bunnei
8ea927fb3b
fixup! hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject.
5 years ago
bunnei
0dfa7a1417
fixup! hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
5 years ago
bunnei
dc0abc7315
fixup! hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
5 years ago
bunnei
e04364fcf4
fixup! hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject.
5 years ago
bunnei
a257c4971d
fixup! hle: kernel: Migrate to KHandleTable.
5 years ago
bunnei
2a28e9e465
fixup! hle: kernel: Add initial impl. of KAutoObjectWithListContainer.
5 years ago
bunnei
adcfeee40f
fixup! hle: kernel: Add initial impl. of KAutoObjectWithListContainer.
5 years ago
bunnei
5786975b49
fixup! hle: kernel: Add initial impl. of KAutoObject.
5 years ago
bunnei
335794e7ec
fixup! hle: kernel: Add initial impl. of KAutoObject.
5 years ago
bunnei
05522ebecb
fixup! hle: kernel: Add initial impl. of slab setup.
5 years ago
bunnei
5b894b28d6
common: Rename NON_COPYABLE/NON_MOVABLE with YUZU_ prefix.
5 years ago