9345 Commits

Author SHA1 Message Date
bunnei
83ae04191c
Merge pull request #216 from SachinVin/disk-shader
Add Disk shader cache
2021-04-23 22:30:42 -07:00
SachinVin
9e836e9b06 DiskShaderCacheProgress.java: Use runOnUiThread instead of a Handler. 2021-04-22 20:45:27 +05:30
SachinVin
031b5c8c28 DiskShaderCacheProgress.java: Add copyright notice 2021-04-21 21:19:33 +05:30
SachinVin
1f775dac21 native.cpp; create cpu_context only when async gpu enabled and reset it after use 2021-04-21 21:19:32 +05:30
SachinVin
fa063c88f4 native.cpp: remove const for jclass,
because it is apparently a typedef'd pointer
2021-04-21 21:19:31 +05:30
SachinVin
03b0bac6e4 Android: native.cpp: use switch to map LoadCallbackStages 2021-04-21 21:19:30 +05:30
SachinVin
4a4c9da22a DiskShaderCacheProgress.java: Add log for when EmulationActivity is not present 2021-04-21 21:19:30 +05:30
SachinVin
da1f7813cb android: native.cpp: rename is_running to stop_run and invert uses 2021-04-21 21:19:29 +05:30
SachinVin
b734fbc735 clang-format
x

y
2021-04-21 21:19:28 +05:30
SachinVin
00fd444ced android: disk_shader: add UI
# Conflicts:
#	src/android/app/src/main/res/values/strings.xml

ui pt3
2021-04-21 21:16:16 +05:30
SachinVin
7851867088 android: use string resources for disk shader progress
# Conflicts:
#	src/android/app/src/main/res/values/strings.xml
2021-04-06 16:38:49 +05:30
SachinVin
6a3c181e50 android: progress bar for disk shaders 2021-04-06 16:38:49 +05:30
SachinVin
06113d9452 andoid: update default_ini.h 2021-04-06 16:38:48 +05:30
SachinVin
bb193da076 disk_shader:update directory structure 2021-04-06 16:38:48 +05:30
SachinVin
8be0e81486 disk_shader: Port multi thread shader compile from yuzu
video_core: store emu_window for creating shared context
2021-04-06 16:38:48 +05:30
SachinVin
947db6c7b6 disk_shader : non separable 2021-04-06 16:38:46 +05:30
bunnei
a6860a9653 Revert com.android.billingclient:billing to 2.0.3
- This is soon deprecated, but likely the last open source version of the building library.
2021-02-28 11:15:02 -08:00
xperia64
07d64943e2 Update gradle 2021-02-21 18:27:59 -05:00
bunnei
21a6a0d9a8 android: Update mainfiest and build.grade for target SDK version 29. 2021-02-21 18:06:29 -05:00
xperia64
3c34a6732e Partial revert of Choreographer implementation; it doesn't seem *that* much worse... 2021-02-21 18:06:29 -05:00
xperia64
9426cf490f Fix crash related to unpause being called after stop 2021-02-21 18:06:29 -05:00
bunnei
6cd96467c3 android: jni: Fix missing camera includes. 2021-02-21 18:06:29 -05:00
zhupengfei
8494a97ac2 android: Add a warning when saving state
Display a warning when a user saves a state, until they explicitly choose to not see it anymore.
2021-02-21 18:06:29 -05:00
zhupengfei
67623f95bd android: Use DialogFragment for the core error dialog
Fixes a bug when changing orientation while the dialog is shown.
2021-02-21 18:06:29 -05:00
zhupengfei
447db08960 fixup! android: Add savestates UI 2021-02-21 18:06:29 -05:00
zhupengfei
bb0a2fd6fd android: Handle core errors
The errors are handled in a similar manner to the Qt frontend: an AlertDialog
will pop up, prompting the user to select 'Abort' or 'Continue'.

Error messages are translatable as string values.
2021-02-21 18:06:29 -05:00
zhupengfei
68c80f1f9c android: Add savestates UI
A simple menu with savestates info.
2021-02-21 18:06:29 -05:00
zhupengfei
ae288b913d 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.
2021-02-21 18:06:29 -05:00
bunnei
fa17d8a2bc android: config: Fix setting for use_frame_limit. 2021-02-21 18:06:29 -05:00
bunnei
d29a5ab615 Update strings.xml 2021-02-21 18:06:29 -05:00
Nathan Lepori
48b636db79 Implemented switch for sliding finger across dpad + fixed sensitivity 2021-02-21 18:06:29 -05:00
SachinVin
9c86a8ab70 video_core/CMakeLists.txt: Use toolchain cmake in shader header generator 2021-02-21 18:06:29 -05:00
SachinVin
0a80621daf gl_state.cpp: Fix typo in texture buffer LUT 2021-02-21 18:06:29 -05:00
SachinVin
4ec4840fab android : EmulationActivity: Don't show rationale if the permission was denied indefinitely 2021-02-21 18:06:29 -05:00
SachinVin
0ba73687ab fix formatting 2021-02-21 18:06:29 -05:00
SachinVin
1d8da88d2c android: Disable sensors when emulation is paused 2021-02-21 18:06:29 -05:00
SachinVin
3f44609698 android : refactor button_manager{.cpp, .h} to input_manager
Now that it also handles sensors
2021-02-21 18:06:29 -05:00
SutandoTsukai181
2b655b2e7e 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.
2021-02-21 18:06:29 -05:00
SutandoTsukai181
d7c5727b01 Add Cardboard VR
Based on hrydgard/ppsspp/pull/12449
2021-02-21 18:06:29 -05:00
SutandoTsukai181
638435cc62 Add Stereoscopy settings UI 2021-02-21 18:06:28 -05:00
SachinVin
bb355410e6 Run clang-format 2021-02-21 18:06:28 -05:00
SutandoTsukai181
c568db81cf Remove unnecessary conditional 2021-02-21 18:06:28 -05:00
SutandoTsukai181
18f5ba21f1 Wait on present_queue instead of free_queue 2021-02-21 18:06:28 -05:00
SutandoTsukai181
3a381ad7c6 Remove reference to "has_custom_button_text" 2021-02-21 18:06:28 -05:00
SutandoTsukai181
7cda537935 Properly handle button_text for android 2021-02-21 18:06:28 -05:00
Tobias
478fad95f7 AndroidManifest: Remove the maximum aspect ratio entirely 2021-02-21 18:06:28 -05:00
Tobias
7fa52876e4 AndroidManifest: Increase the maximum aspect ratio
This should help display the app on the whole screen on 21:9 devices like the Experia Z5.
2021-02-21 18:06:28 -05:00
bunnei
792e4f9a6c gl_shader_decompiler: Improve performance of accurate_mul on Android. 2021-02-21 18:06:28 -05:00
weihuoya
cba2f53516 presenting in the ui thread 2021-02-21 18:06:28 -05:00
weihuoya
a1a446d720 presenting if need 2021-02-21 18:06:28 -05:00