emufan4568
0f4df2c012
rasterizer_cache: Use PBO staging buffer cache for texture uploads/downloads
2022-12-25 22:02:11 +02:00
emufan4568
c6fc4f5a87
rasterizer_cache: Reorder methods
2022-12-25 22:02:11 +02:00
emufan4568
916afa194d
rasterizer_cache: Remove remnants of cached_pages
2022-12-25 22:02:11 +02:00
emufan4568
6f2cd11a85
rasterizer_cache: Fix texture cube blitting
...
* The target was GL_TEXTURE_2D instead of GL_TEXTURE_CUBE_MAP_*
2022-12-25 22:02:11 +02:00
emufan4568
14652d52bc
morton_swizzle: Implement texture formats in UNSWIZZLE_TABLE
...
* I can now remove that loop that has been messing with my OCD
2022-12-25 22:02:11 +02:00
emufan4568
a57ee7cdf2
morton_swizzle: Use tiled_buffer instead of reading data from g_memory
...
* It's much safer and removes hardcoded global state usage
2022-12-25 22:02:11 +02:00
emufan4568
dbd3e6c29b
rasterizer_accelerated: Zero intialize cached_pages
...
* Resolves random crashes because count takes random values
2022-12-25 22:02:11 +02:00
emufan4568
665cbca17c
texture_runtime: Add staging buffer lock mechanism
2022-12-25 22:02:11 +02:00
emufan4568
efb9e9f40f
cached_surface: Remove custom texture logic
...
* Makes things more complicated and is in the way. It's probably already
broken by recent changes, so I'll need to reimplement it anyway
2022-12-25 22:02:11 +02:00
emufan4568
8d35118f63
renderer_opengl: Add driver class to report info/bugs
2022-12-25 22:02:11 +02:00
emufan4568
553c85456e
rasterizer_cache: Add staging buffer cache for uploads/downloads
...
* In addition bump context version to 4.4 to enforce ARB_buffer_storage and use EXT_buffer_storage for GLES which is support on many mobile devices
2022-12-25 22:02:11 +02:00
emufan4568
68ca206d53
rasterizer_cache: Improve TextureRuntime API
...
* This makes every operation more explicit and mimics more the Vulkan API
2022-12-25 22:02:11 +02:00
emufan4568
e30e977140
renderer_opengl: Encapsulate sync objects in OGLSync
2022-12-25 22:02:10 +02:00
emufan4568
f13738d252
morton_swizzle: Optimize and use std::span
2022-12-25 22:02:10 +02:00
emufan4568
04b927ab7f
morton_swizzle: Avoid buffer underflow
...
* Check the y coordinate before decrementing linear_buffer
2022-12-25 22:02:10 +02:00
emufan4568
993d172de9
morton_swizzle: Move out of bounds texture check out of the decode loop
...
* Running relative expensive checks like this on a hot path causes small but measurable performance loss. Tested SMD wit this and it doesn't crash
2022-12-25 22:02:10 +02:00
emufan4568
695447611e
rasterizer_cache: Use SurfaceType instead of Aspect
...
* It was doing pointless enum conversions when both enums described the same thing
2022-12-25 22:02:10 +02:00
emufan4568
06bacfbd72
rasterizer_cache: Separate texture swizzling to utils
2022-12-25 22:02:10 +02:00
emufan4568
cf8bc35d46
rasterizer_cache: Remove OpenGL references from morton_swizzle
2022-12-25 22:02:10 +02:00
emufan4568
ef859bab84
citra_qt: Forbid renderer change during runtime
...
* It's an endless source of problems and isn't usefull
2022-12-25 22:02:10 +02:00
emufan4568
a2d0669562
rasterizer_cache: Touch up MatchFlags comments
2022-12-25 22:02:10 +02:00
emufan4568
95365ad6ba
rasterizer_cache: Drop OpenGL postfix
2022-12-25 22:02:10 +02:00
emufan4568
1963b649e8
rasterizer_cache: Shorten filenames and general cleanup
...
* AllocateSurfaceTexture now takes the PixelFormat directly as FormatTuple is an OpenGL struct and will be moved there
2022-12-25 22:02:10 +02:00
emufan4568
db7cdb741c
video_core: Move UpdatePagesCachedCount to RasterizerAccelerated
2022-12-25 22:02:10 +02:00
emufan4568
0fe61ba040
citra_qt: Prepare GUI for Vulkan support
2022-12-25 22:02:06 +02:00
liushuyu
b588d6181b
qt_multimedia_camera: fix image handling in Qt 5.15+ ... ( #6231 )
...
... In Qt 5.15+ the QImage will not accept non-natively handled pixel
formats anymore. We can however use the newly added conversion method
provided in `QVideoFrame` to convert it to `QImage` instead
2022-12-24 11:45:31 +05:30
Vitor K
c8ff1d744a
Change Monoscopic Render mode to a dropdown ( #6215 )
2022-12-24 03:17:49 +01:00
Tobias
ae3d50f71f
Port yuzu-emu/yuzu#2968: configure_input: Fix input handling for ZL and ZR from controllers with analog triggers ( #4984 )
...
Co-authored-by: Frederic L. <freddyfunk@users.noreply.github.com >
2022-12-17 16:11:49 +01:00
Tobias
ccb50e7f2c
Port yuzu-emu/yuzu#9300: "CMake: Use precompiled headers to improve compile times" ( #6213 )
...
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com >
2022-12-17 16:06:38 +01:00
Vitor K
51e252c7ed
Hide mouse: fix for secondary window and single window mode ( #6220 )
2022-12-17 16:05:51 +01:00
Vitor K
517e0bc342
Camera fixes ( #6181 )
2022-12-17 16:05:04 +01:00
Vitor K
812c4fa059
Per-Game Settings: options to reset game settings ( #6219 )
2022-12-17 16:04:31 +01:00
Tobias
cb82ffbe20
code: Small cleanups and fixes to lambda captures ( #6191 )
...
Co-authored-by: v1993 <v19930312@gmail.com >
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com >
2022-12-17 16:04:10 +01:00
Pengfei Zhu
9d5ae8e1c2
service/nwm_uds: Add NetworkStatusChangeReason ( #5377 )
...
fixes https://github.com/citra-emu/citra/issues/3975
2022-12-17 16:03:59 +01:00
SachinVin
06a9f69d88
hle/service/cfg: Add Config block enums documented by 3dbrew... ( #6206 )
2022-12-14 01:48:41 +01:00
Vitor K
84eada8c50
Fix "auto" resolution factor ( #6218 )
2022-12-13 01:05:08 +01:00
PabloMK7
016ce6c286
Add 3GX plugin loader ( #6172 )
...
* Initial plugin loader support
* More plugin loader progress
* Organize code and more plugin features
* Fix clang-format
* Fix compilation and add android gui
* Fix clang-format
* Fix macos build
* Fix copy-paste bug and clang-format
* More merge fixes
* Make suggestions
* Move global variable to static member
* Fix typo
* Apply suggestions
* Proper initialization order
* Allocate plugin memory from SYSTEM instead of APPLICATION
* Do not mark free pages as RWX
* Fix plugins in old 3DS mode.
* Implement KernelSetState and notif 0x203
* Apply changes
* Remove unused variable
* Fix dynarmic commit
* Sublicense files with MIT License
* Remove non-ascii characters from license
2022-12-11 10:08:58 +02:00
GPUCode
48ee112ceb
Add per game configuration options ( #6187 )
...
* common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
* code: Wrap settings values
* Port from yuzu to allow per game settings
* citra_qt: Initial per-game settings dialog
* citra_qt: Use new API for read/save of config values
* citra_qt: Per game audio settings
* citra_qt: Per game graphics settings
* citra_qt: Per game system settings
* citra_qt: Per game general settings
* citra_qt: Document and run clang format
* citra_qt: Make icon smaller and centered
* citra_qt: Remove version number
* Not sure how to extract that, can always add it back later
* citra_qt: Wrap UISettings
* citra_qt: Fix unthottled fps setting
* citra_qt: Remove margin in emulation tab
* citra_qt: Implement some suggestions
* Bring back speed switch hotkey
* Allow configuration when game is running
* Rename/adjust UI stuff
* citra_qt: Fix build with separate windows
* citra_qt: Address feedback
* citra_qt: Log per-game settings before launching games
* citra_qt: Add shader cache options
* Also fix android build
* citra_qt: Add DLC menu option
* citra_qt: Run clang-format
* citra_qt: Adjust for time offset
* citra_qt: Implement suggestions
* Run clang-format
Co-authored-by: bunnei <bunneidev@gmail.com >
2022-12-08 13:27:25 +02:00
xperia64
f261daf2fa
Attempt to hotfix Android CI (assume /usr/bin/apksigner is no longer a jar) ( #6210 )
2022-12-08 07:25:11 +05:30
Vitor K
0fc177e268
configure_motion_touch: do not move engine parameter ( #6208 )
...
fixes an error stemmed from miscommunication
2022-12-06 21:52:25 -03:00
Ameer J
d1171328c9
Qt: Implement more hotkeys for secondary window ( #6198 )
2022-11-24 19:25:27 +05:30
SachinVin
850e5bf81c
Merge pull request #6194 from merryhime/more-accurate-cycle-counting
...
arm/dynarmic: More accurate cycle counting
2022-11-24 19:25:01 +05:30
Merry
6da59d581e
arm_tick_counts: Thumb implementation
2022-11-22 22:52:37 +00:00
Merry
9c0fad21db
arm_tick_counts: Implement ARM cycle counting
2022-11-22 22:52:37 +00:00
Merry
0f250bed89
arm_tick_counts: Skeleton implementation
2022-11-22 22:52:37 +00:00
Merry
7cae35024f
common: Add StringLiteral
2022-11-22 22:52:37 +00:00
Merry
f298278f37
arm/dynarmic: Initial implementation for instruction tick counts
2022-11-22 22:52:37 +00:00
Merry
2238e6c3ef
externals: Update dynarmic to 7a926d689bcc1cc39dd26d5bba379dffcc6815a3
2022-11-22 22:52:37 +00:00
Vitor K
d09f6d97f6
Merge pull request #6196 from vitor-k/stoll-exception
...
Resolve C4101 warning
2022-11-21 19:50:15 -03:00
Vitor K
1e6507d792
Resolve C4101 warning
...
and catch logic_error instead of exception, as stoll should only throw std::invalid_argument and std::out_of_range, and both inherit from it.
2022-11-20 22:41:33 -03:00