Commit Graph

21202 Commits

Author SHA1 Message Date
Charles Lombardo 2bfa1fcc36 android: Convert MinimalDocumentFile to Kotlin 2023-06-03 00:05:38 -07:00
Charles Lombardo 9725bf8103 android: Convert GameProvider to Kotlin 2023-06-03 00:05:38 -07:00
Charles Lombardo cf0f69d13d android: Convert GameDatabase to Kotlin 2023-06-03 00:05:38 -07:00
Charles Lombardo 0bf21f04c1 android: Convert Game to Kotlin 2023-06-03 00:05:38 -07:00
Charles Lombardo 569a7b7ae4 android: Convert EmulationFragment to Kotlin 2023-06-03 00:05:38 -07:00
Charles Lombardo ede993a8c3 android: Convert SettingsFile to Kotlin 2023-06-03 00:05:38 -07:00
Charles Lombardo 76b357cfe9 android: Convert SettingsFrameLayout to Kotlin 2023-06-03 00:05:38 -07:00
Charles Lombardo 51583a8842 android: Convert SettingsFragmentView to Kotlin 2023-06-03 00:05:38 -07:00
Charles Lombardo 1b9472a2d3 android: Convert SettingsFragmentPresenter to Kotlin 2023-06-03 00:05:38 -07:00
Charles Lombardo 7fc1459dad android: Convert SettingsFragment to Kotlin 2023-06-03 00:05:37 -07:00
Charles Lombardo 9dc5e6357a android: Convert SettingsActivityView to Kotlin 2023-06-03 00:05:37 -07:00
Charles Lombardo 7d5891fd2c android: Convert SettingsActivityPresenter to Kotlin 2023-06-03 00:05:37 -07:00
Charles Lombardo 8ae265d457 android: Convert SettingsActivity to Kotlin 2023-06-03 00:05:37 -07:00
Charles Lombardo 86d10dc029 android: Convert SubmenuViewHolder to Kotlin 2023-06-03 00:05:37 -07:00
Charles Lombardo 77129e3de3 android: Convert SliderViewHolder to Kotlin 2023-06-03 00:05:37 -07:00
Charles Lombardo 2bc7a87424 android: Convert SingleChoiceViewHolder to Kotlin 2023-06-03 00:05:37 -07:00
Charles Lombardo b468c5d052 android: Convert SettingViewHolder to Kotlin 2023-06-03 00:05:37 -07:00
Charles Lombardo 93d87111c5 android: Convert HeaderViewHolder to Kotlin 2023-06-03 00:05:37 -07:00
Charles Lombardo 4d38000140 android: Convert DateTimeViewHolder to Kotlin 2023-06-03 00:05:37 -07:00
Charles Lombardo 769fcb4a2d android: Convert CheckBoxSettingViewHolder to Kotlin 2023-06-03 00:05:36 -07:00
Charles Lombardo 28a069de34 android: Convert StringSetting to Kotlin 2023-06-03 00:05:36 -07:00
Charles Lombardo 48f959540c android: Convert SettingSection to Kotlin 2023-06-03 00:05:36 -07:00
Charles Lombardo f6d37365cf android: Convert Setting to Kotlin 2023-06-03 00:05:36 -07:00
Charles Lombardo 0cbd5545db android: Convert IntSetting to Kotlin 2023-06-03 00:05:36 -07:00
Charles Lombardo 1a04e1e0c0 android: Convert FloatSetting to Kotlin 2023-06-03 00:05:36 -07:00
Charles Lombardo 372bf73aef android: Convert BooleanSetting to Kotlin 2023-06-03 00:05:36 -07:00
Charles Lombardo bab9335bcb android: Convert SubmenuSetting to Kotlin 2023-06-03 00:05:36 -07:00
Charles Lombardo b0acee2098 android: Convert StringSingleChoiceSetting to Kotlin 2023-06-03 00:05:36 -07:00
Charles Lombardo 1abd7828b9 android: Convert SliderSetting to Kotlin 2023-06-03 00:05:36 -07:00
Charles Lombardo 5452399d41 android: Convert SingleChoiceSetting to Kotlin 2023-06-03 00:05:35 -07:00
Charles Lombardo 73c51dc89f android: Convert SettingsItem to Kotlin 2023-06-03 00:05:35 -07:00
Charles Lombardo e243d6d2d7 android: Convert HeaderSetting to Kotlin 2023-06-03 00:05:35 -07:00
Charles Lombardo 87523b434b android: Convert DateTimeSetting to Kotlin 2023-06-03 00:05:35 -07:00
Charles Lombardo fba3550c64 android: Convert CheckBoxSetting to Kotlin 2023-06-03 00:05:35 -07:00
Charles Lombardo c3c3c0c2e6 android: Convert GameAdapter to Kotlin 2023-06-03 00:05:35 -07:00
Charles Lombardo 729faf93e0 android: Convert SettingsAdapter to Kotlin
Update SettingsAdapter.kt
2023-06-03 00:05:35 -07:00
Charles Lombardo 69e52b6ef9 android: Convert EmulationActivity to Kotlin 2023-06-03 00:05:35 -07:00
Charles Lombardo 28215f6d7d android: Use material slider in settings dialog 2023-06-03 00:05:35 -07:00
Charles Lombardo 53f09ed61b android: Convert Settings to Kotlin 2023-06-03 00:05:35 -07:00
Charles Lombardo 107087b5a4 android: Use androidx preferences 2023-06-03 00:05:34 -07:00
bunnei 815cafacb2 android: frontend: Add unique error strings for Vulkan initialization errors. 2023-06-03 00:05:34 -07:00
german77 ada3a4085a android: Use the center of the object and reduce draw calls 2023-06-03 00:05:34 -07:00
german77 76b5181bdf android: Replace old buttons with vectors 2023-06-03 00:05:34 -07:00
Charles Lombardo b07a640036 android: Enable Kotlin support 2023-06-03 00:05:34 -07:00
Charles Lombardo a65a6e7b36 android: Upgrade java version to 11 2023-06-03 00:05:33 -07:00
Charles Lombardo ae08a9e1ed android: Upgrade dependencies 2023-06-03 00:05:33 -07:00
Charles Lombardo 4ec3ebeb00 android: Upgrade to AGP 7.4.2 2023-06-03 00:05:33 -07:00
Charles Lombardo a72f2e1493 android: Replace lintOptions with lint 2023-06-03 00:05:33 -07:00
Charles Lombardo 57060fc7cd android: Move namespace to app module build.gradle 2023-06-03 00:05:33 -07:00
Charles Lombardo 0e6b181f17 android: bump compile/target sdk to 33 2023-06-03 00:05:33 -07:00
Charles Lombardo 3356f96505 android: Upgrade gradle to 8.0.1 2023-06-03 00:05:33 -07:00
liushuyu 44a629e584 video_core: fix clang-format errors 2023-06-03 00:05:33 -07:00
liushuyu 0492011af7 CMake: fix pkg-config behavior when building for Android 2023-06-03 00:05:33 -07:00
liushuyu bca45d1588 CI: add Android build systems 2023-06-03 00:05:33 -07:00
bunnei 041fab3165 android: build.gradle: Cleanup build types. 2023-06-03 00:05:32 -07:00
bunnei aabb796b6d android: frontend: settings: Add graphics debugging. 2023-06-03 00:05:32 -07:00
bunnei 8b30f10dd1 android: jni: Ensure system is only initialized once.
- Fixes likelihood that fastmem allocation succeeds.
2023-06-03 00:05:32 -07:00
bunnei ea54161dbf video_core: vulkan_device: Correct error message for unsuitable driver. 2023-06-03 00:05:32 -07:00
bunnei 7330adf87b android: frontend: Cleanup framerate counter. 2023-06-03 00:05:32 -07:00
bunnei 27250ee9ad android: vulkan: Implement adrenotools turbo mode. 2023-06-03 00:05:32 -07:00
bunnei 6ae51eff8a android: vulkan_device: Disable VK_EXT_extended_dynamic_state2 on Qualcomm.
- Newer drivers report this as supported, but it is broken.
2023-06-03 00:05:32 -07:00
bunnei a4a4784553 android: frontend: Add support for GPU driver selection. 2023-06-03 00:05:32 -07:00
bunnei 74e76421e6 android: native: Add support for custom Vulkan driver loading. 2023-06-03 00:05:31 -07:00
bunnei 56600190e4 core: frontend: Refactor GraphicsContext to its own module. 2023-06-03 00:05:31 -07:00
bunnei f644380506 common: dynamic_library: Add ctor for existing handle. 2023-06-03 00:05:31 -07:00
bunnei f292a3a357 android: EmulationFragment: Always reset overlay.
- Ensures correct placement until we have better overlay configuration.
2023-06-03 00:05:31 -07:00
Billy Laws cfbe4b09eb Avoid using VectorExtractDynamic for subgroup mask on Adreno GPUs
This crashes their shader compiler for some reason.
2023-06-03 00:05:31 -07:00
Billy Laws 2beb3051c1 Implement scaled vertex buffer format emulation
These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
2023-06-03 00:05:31 -07:00
Billy Laws 58d420937c Disable push descriptors on adreno drivers
Regular descriptors are around 1.5x faster to update.
2023-06-03 00:05:31 -07:00
Billy Laws ca2c3a6d5a Disable VK_EXT_extended_dynamic_state on mali 2023-06-03 00:05:31 -07:00
Billy Laws b2b069279e Disable multithreaded pipeline compilation on Qualcomm drivers
This causes crashes during compilation on several 6xx and 5xx driver versions.
2023-06-03 00:05:31 -07:00
Narr the Reg 38b030ac58 android: Add motion sensor 2023-06-03 00:05:30 -07:00
Narr the Reg 580e65192c android: Hook jni input properly 2023-06-03 00:05:30 -07:00
Narr the Reg c478528dca android: cleanup touch update loop 2023-06-03 00:05:30 -07:00
Narr the Reg dbca0637a1 android: Clean joystick overlay 2023-06-03 00:05:30 -07:00
Narr the Reg 28f4ee78f6 android: Clean dpad overlay 2023-06-03 00:05:30 -07:00
Narr the Reg f465b2aa69 android: Clean button overlay 2023-06-03 00:05:30 -07:00
Narr the Reg 99eb289722 android: Add all buttons to screen controller 2023-06-03 00:05:30 -07:00
Narr the Reg f7f126520c android: Apply clang format 2023-06-03 00:05:30 -07:00
bunnei a75fe2e2c3 android: frontend: Implement game grid view. (#9) 2023-06-03 00:05:30 -07:00
german77 ceed69d9a5 android: Replace notification icon with yuzu 2023-06-03 00:05:30 -07:00
bunnei bc4213e6dc android: strings: Refresh key dumping URL. 2023-06-03 00:05:29 -07:00
bunnei 6ec92cc172 android: frontend: Modify ROM load messaging for invalid keys. 2023-06-03 00:05:29 -07:00
bunnei af1855e0ad android: frontend: Integrate key installation for SAF. 2023-06-03 00:05:29 -07:00
bunnei a42184f92e android: jni: Add function to reload keys. 2023-06-03 00:05:29 -07:00
bunnei 4fb2d06a8c core: crypto: key_manager: Add methods to reload & validate keys. 2023-06-03 00:05:29 -07:00
bunnei 9da136ffdc android: EmulationActivity: Temporarily disable running notification. 2023-06-03 00:05:29 -07:00
bunnei 44b082af08 android: Implement SAF support & migrate to SDK 31. (#4) 2023-06-03 00:05:29 -07:00
bunnei 8d2b8927a4 android: Harden emulation shutdown when loader fails. 2023-06-03 00:05:29 -07:00
bunnei 0f4119c966 android: SettingsFragmentPresenter: Fix default renderer backend. 2023-06-03 00:05:29 -07:00
bunnei 1286403687 android: jni: native: Add lock around HaltEmulation, tighten run loop. 2023-06-03 00:05:29 -07:00
bunnei d3217eaa4b android: jni: native: Refactor locking for is_running. 2023-06-03 00:05:28 -07:00
bunnei 09ad9ed549 android: jni: native: Remove unnecessary atomic for is_running. 2023-06-03 00:05:28 -07:00
bunnei 5dbae4cd4d android: jni: native: Tighten up emulation start/stop signaling. 2023-06-03 00:05:28 -07:00
bunnei ea4b6e3d8b android: jni: native: Consolidate emulation state into EmulationSession singleton.
- Fixes state management issues across multiple boots.
- Fixes crashes related to unsafe access of perf stats.
2023-06-03 00:05:28 -07:00
bunnei ca686f1ab7 android: Frontend: Fix rendering aspect ratio & add a setting for it. 2023-06-03 00:05:28 -07:00
bunnei ffdb02ea5e android: Integrate settings frontend with yuzu & remove unused code. 2023-06-03 00:05:28 -07:00
Liam 46927d217c externals: add adrenotools for bcenabler 2023-06-03 00:05:28 -07:00
Liam 120b8baebb device_memory: Use smaller virtual reservation size for compatibility with 39-bit paging 2023-06-03 00:05:28 -07:00
bunnei b3a74d7f73 video_core: vulkan_device: Device initialization for Adreno. 2023-06-03 00:05:28 -07:00
bunnei ce06e9e7fc video_core: vk_pipeline_cache: Disable support_descriptor_aliasing on Android. 2023-06-03 00:05:28 -07:00
bunnei f6f470fb4b video_core: vk_swapchain: Fix image format for Android. 2023-06-03 00:05:28 -07:00
bunnei 3f736b377a android: Minimize frontend & convert to yuzu. 2023-06-03 00:05:27 -07:00
bunnei 189bb7602c video_core: vk_blit_screen: Rotate viewport for Android landscape. 2023-06-03 00:05:27 -07:00
bunnei c5b29ef3b7 common: error: Fix for Android. 2023-06-03 00:05:27 -07:00
bunnei 48835ce81b common: fs: Implement for Android. 2023-06-03 00:05:27 -07:00
bunnei fa9b38c400 common: logging: Implement Android logcat backend. 2023-06-03 00:05:26 -07:00
bunnei 699d6751d8 common: host_memory: Implement for Android. 2023-06-03 00:05:26 -07:00
bunnei 573b88b179 android: Minimal JNI for yuzu. 2023-06-03 00:05:26 -07:00
bunnei 5fa0293c19 android: Add Citra frontend. 2023-06-03 00:05:26 -07:00
bunnei 6549cf8bd0 cmake: Integrate bundled FFmpeg for Android. 2023-06-03 00:05:26 -07:00
liamwhite cd9f88e483 Merge pull request #10091 from Kelebek1/bc_bugggggg
Fix buffer overlap checking skipping a page for stream score right expand
2023-06-01 09:06:07 -04:00
liamwhite 2d92f940d7 Merge pull request #10530 from Kelebek1/syncpt_oob
Fix incorrect syncpt id bounds check and potential out of bounds lookup
2023-06-01 09:05:42 -04:00
liamwhite 90a3955fbb Merge pull request #10474 from GPUCode/you-left-me-waiting
Remove timeline semaphore wait
2023-06-01 09:05:30 -04:00
liamwhite c60fc2d416 Merge pull request #10352 from grimkor/add-context-menu-status-bar-settings
add context menu for status bar settings
2023-06-01 09:05:23 -04:00
liamwhite 38a5299599 Merge pull request #10482 from german77/gamelist
yuzu: Disable game list while game is running
2023-06-01 09:05:18 -04:00
Kelebek1 f50f69f07c Fix incorrect id check and potential out of bounds lookup 2023-05-31 19:10:00 +01:00
Kelebek1 3da7eafba7 Skip BufferCache tickframe with no channel state set 2023-05-30 21:57:13 +01:00
12101111 3f3e986098 input_common: rename PAGE_SIZE to avoid conflict
See also: https://github.com/yuzu-emu/yuzu/issues/8779
2023-05-30 16:59:06 +08:00
german77 e1f99c566b yuzu: Disable game list while game is running 2023-05-29 10:00:34 -06:00
Morph ef9b1765fa externals: Update to fmt 10 and add format_as formatter for BitField
Implicit conversions are now disallowed in fmt 10. Use format_as to convert to the underlying type.
2023-05-28 15:05:55 -04:00
liamwhite a4a3df9e69 Merge pull request #10483 from ameerj/gl-cpu-astc
gl_texture_cache: Fix ASTC CPU decoding with compression disabled
2023-05-28 13:18:31 -04:00
liamwhite ca2c5a9243 Merge pull request #10280 from danilaml/cmake-bin-dir
Use TARGET_FILE_DIR generator expression
2023-05-28 13:18:06 -04:00
liamwhite 01008297aa Merge pull request #10283 from danilaml/support-interlaced-videos
Add support for deinterlaced video playback
2023-05-28 13:17:58 -04:00
liamwhite e39dde5cd6 Merge pull request #10463 from liamwhite/this-is-why-we-need-g
vfs_concat: fix time complexity of read
2023-05-28 13:17:42 -04:00
liamwhite c0e8e6b617 Merge pull request #10464 from liamwhite/clear-cache
qt: add menu item to remove cache storage
2023-05-28 13:17:33 -04:00
liamwhite 56e0201201 Merge pull request #10469 from Kelebek1/bc_state
Move buffer bindings to per-channel state
2023-05-28 13:17:26 -04:00
ameerj 514c224679 gl_texture_cache: Fix ASTC CPU decoding with compression disabled
gl_format was incorrectly being overwritten when compression was disabled
2023-05-28 13:14:51 -04:00
GPUCode 0dc4778654 renderer_vulkan: Remove timeline semaphore wait 2023-05-28 02:39:44 +03:00
Kelebek1 29e1cdf7e1 Audren wait as suggested by ByLaws 2023-05-27 17:38:07 +01:00
Kelebek1 62c747f8a1 Move buffer bindings to per-channel state 2023-05-27 17:04:18 +01:00
Liam 0627c4622f qt: add menu item to remove cache storage 2023-05-26 23:29:44 -04:00
Matías Locatti ebcfe440ba Merge pull request #10414 from liamwhite/anv-push-descriptor
vulkan_device: Enable VK_KHR_push_descriptor on newer ANV
2023-05-26 17:36:37 -03:00
Matías Locatti 9eab38567c Merge pull request #10418 from liamwhite/blink-and-youll-miss-it
texture_cache: process aliases and overlaps in the correct order
2023-05-26 17:36:09 -03:00
Liam 18088c67cd vfs_concat: fix time complexity of read 2023-05-26 16:07:38 -04:00
Kelebek1 eea071bf87 Fix buffer overlap checking skipping a page for stream score right expand 2023-05-26 10:35:46 +01:00
Liam e19d49925a shader_recompiler: fix copy-paste error 2023-05-26 00:36:12 -04:00
bunnei eeef4170e3 Merge pull request #10221 from Kelebek1/partial_dsp_revert
Add a 5ms tiemout to the DSP processing wait
2023-05-25 21:34:50 -07:00
bunnei 39fcbfead6 Merge pull request #10396 from german77/amiibo_write
input_common: Implement amiibo writing
2023-05-25 14:07:16 -07:00
liamwhite bdebdf83fb Merge pull request #10454 from 521337/fix-u-option
Don't exit when using "-u" option in yuzu-cmd
2023-05-25 14:12:51 -04:00
Fernando S 987c98fdec Merge pull request #10452 from liamwhite/ibgc
video_core: don't garbage collect during configuration
2023-05-25 20:09:08 +02:00
Ariel Cabello c44d17b35d Don't exit when using "-u" option in yuzu-cmd 2023-05-25 20:07:52 +02:00
Liam 6c77a107a4 video_core: don't garbage collect during configuration 2023-05-25 12:03:12 -04:00
Ariel Cabello df0f80f55c Add short "-u" option for yuzu_cmd.
The -u short option was documented but not implemented in yuzu_cmd.
The same long option --user worked before.
2023-05-25 16:05:22 +02:00
bunnei d9ed2052d8 Merge pull request #10415 from german77/amiibo-no-key
service: nfc: Remove encryption key requirement
2023-05-24 22:14:55 -07:00
bunnei 62301e0f65 Merge pull request #10435 from FernandoS27/gotta-clean-mess-ups
Texture cache: revert wrong acceleration assumption
2023-05-24 21:00:53 -07:00
Fernando Sahmkow b0e5aa6725 Texture cache: revert wrong acceleration assumption 2023-05-24 10:52:02 +02:00
Fernando Sahmkow 769b1f0264 Texture Cache Util: Fix block depth adjustment on slices. 2023-05-24 10:06:58 +02:00
Fernando Sahmkow ce9a97ca48 texture_cache: process aliases and overlaps in the correct order 2023-05-24 09:53:42 +02:00
Fernando S 72c3cf6b32 Merge pull request #10422 from liamwhite/gc
video_core: tune garbage collection aggressiveness
2023-05-24 03:58:49 +02:00