9165 Commits

Author SHA1 Message Date
zhupengfei
861510b192 core, video_core: Fixes to make savestates work
1. Acquire the context before initializing renderer when using async gpu

2. Do not try present when renderer is nullptr
  This has some potential race condition but is also what we do in qt

3. Synchronize before serializing video core (WaitForProcessing)
  For this, the GPU thread is changed to pop commands *after* processing.

4. Avoid waiting on future fences
  Such events can exist in core timing queue when deserializing.
2020-08-25 22:26:20 -04:00
bunnei
875b1fb0d8 android: config: Fix setting for use_frame_limit. 2020-08-15 22:41:21 -04:00
bunnei
b219e64979 Update strings.xml 2020-08-15 13:58:50 -04:00
Nathan Lepori
6df0f69c10 Implemented switch for sliding finger across dpad + fixed sensitivity 2020-08-15 13:58:50 -04:00
SachinVin
243a02e7b2 video_core/CMakeLists.txt: Use toolchain cmake in shader header generator 2020-08-15 13:58:50 -04:00
SachinVin
73a2706d0b gl_state.cpp: Fix typo in texture buffer LUT 2020-08-15 13:58:50 -04:00
SachinVin
b64aa78e80 android : EmulationActivity: Don't show rationale if the permission was denied indefinitely 2020-08-15 13:58:50 -04:00
SachinVin
6eee2bca14 fix formatting 2020-08-15 13:58:50 -04:00
SachinVin
1e56f8fa05 android: Disable sensors when emulation is paused 2020-08-15 13:58:50 -04:00
SachinVin
1c63f772f6 android : refactor button_manager{.cpp, .h} to input_manager
Now that it also handles sensors
2020-08-15 13:58:50 -04:00
SutandoTsukai181
5f91f7a3bd Update framebuffer layout when closing the settings
Fixes an issue where the default layout gets applied when closing the settings, which is noticable if you swap screens before changing the layout.
2020-08-15 13:58:50 -04:00
SutandoTsukai181
6f7d53fa06 Add Cardboard VR
Based on hrydgard/ppsspp/pull/12449
2020-08-15 13:58:50 -04:00
SutandoTsukai181
dd68e69bad Add Stereoscopy settings UI 2020-08-15 13:58:50 -04:00
SachinVin
342e520c79 Run clang-format 2020-08-15 13:58:50 -04:00
SutandoTsukai181
c15f6f9de4 Remove unnecessary conditional 2020-08-15 13:58:50 -04:00
SutandoTsukai181
799d541858 Wait on present_queue instead of free_queue 2020-08-15 13:58:50 -04:00
SutandoTsukai181
6646c09633 Remove reference to "has_custom_button_text" 2020-08-15 13:58:50 -04:00
SutandoTsukai181
e422027b69 Properly handle button_text for android 2020-08-15 13:58:50 -04:00
SutandoTsukai181
936f38a450 Port "applets/swkbd: Properly handle button_text"
from citra-emu/citra/pull/5381
2020-08-15 13:58:49 -04:00
Tobias
6e46a88a5d AndroidManifest: Remove the maximum aspect ratio entirely 2020-08-15 13:58:49 -04:00
Tobias
90089ef9a5 AndroidManifest: Increase the maximum aspect ratio
This should help display the app on the whole screen on 21:9 devices like the Experia Z5.
2020-08-15 13:58:49 -04:00
bunnei
c74a94760d gl_shader_decompiler: Improve performance of accurate_mul on Android. 2020-08-15 13:58:49 -04:00
weihuoya
73e83cd6ce presenting in the ui thread 2020-08-15 13:58:49 -04:00
weihuoya
dc3a4d3323 presenting if need 2020-08-15 13:58:49 -04:00
weihuoya
49ec1a1cdc use separate texture buffer for light and fog 2020-08-15 13:58:49 -04:00
zhang wei
0e3aa68da7 Minor fixes to the UX (#126) 2020-08-15 13:58:49 -04:00
SachinVin
e96a2fe469 Update: dynarmic
Rebase on MerryMage/dynarmic@659d78c
2020-08-15 13:58:49 -04:00
bunnei
7722c7ce50 android: CheckBoxSetting: Fix a ClassCastException exception with isChecked. 2020-08-15 13:58:49 -04:00
bunnei
1550c0e955 android: MainActivity: Fix a nullptr exception with onSaveInstanceState. 2020-08-15 13:58:49 -04:00
bunnei
fb0b52431b android: SettingsFragmentPresenter: Fix a nullptr exception with loadSettingsList. 2020-08-15 13:58:49 -04:00
bunnei
1d083cc7db Revert "Presenting in ui thread (#92)"
This reverts commit d1c2e8fb88873bf8642d07ca7e386cc1bac19692.
2020-08-15 13:58:49 -04:00
bunnei
fe4ff50d5b android: native: Reload game specific settings when in game. 2020-08-15 13:58:49 -04:00
zhang wei
fb6c29ef9c Presenting in ui thread (#92)
* present in ui thread

* rm test file

* use gradle 3.6.3

* fx present issue
2020-08-15 13:58:49 -04:00
xperia64
e2421a83ad Disable deptch stencil shader in texture_downloader_es for now 2020-08-15 13:58:49 -04:00
SachinVin
fac744a760 android : Fix touchscreen for reals
Adds proper multitouch tracking for touchscreen
2020-08-15 13:58:49 -04:00
SachinVin
a4d58bb800 core/frontend/emu_window: return true when TouchPressed is consumed 2020-08-15 13:58:49 -04:00
xperia64
32b872db59 Clamp the circle pad more correctly 2020-08-15 13:58:49 -04:00
xperia64
a61f1f3c26 Fix the N3DS controls 2020-08-15 13:58:49 -04:00
xperia64
4df093bfb4 Shield TV driver bug workaround 2020-08-15 13:58:49 -04:00
SachinVin
6bf39d0fa6 android : InputOverlayDrawableDpad.java: Initialize mTrackId to -1 2020-08-15 13:58:49 -04:00
SachinVin
c9bd7ac4a8 android: Bring back git hash version name 2020-08-15 13:58:49 -04:00
bunnei
414be2fb1f android: game_settings: Mario & Luigi games require accurate mul. 2020-08-15 13:58:49 -04:00
BreadFish64
c7e81bc936 video_core/GLES: fix issues cause by missing glTextureBarrier
create a duplicate for sampling instead
2020-08-15 13:58:49 -04:00
BreadFish64
6c5f1677fe actually add icons 2020-08-15 13:58:49 -04:00
BreadFish64
27904df199 add icon to CIA install menu item 2020-08-15 13:58:49 -04:00
BreadFish64
5702238c3c refresh game list after installing CIA 2020-08-15 13:58:49 -04:00
BreadFish64
1ff5dabb71 android: Add initial CIA installation 2020-08-15 13:58:49 -04:00
bunnei
2650233845 android: game_settings: Further cleanups. 2020-08-15 13:58:49 -04:00
bunnei
f543398dfb android: native: Set game specific settings before initializing core.
- Allows some other settings to be overridden.
2020-08-15 13:58:49 -04:00
bunnei
6ad08c1d78 android: game_settings: Disable asynch GPU with DQ7.
- This was causing some issues.
2020-08-15 13:58:49 -04:00