JosJuice
1ba43c726d
Android: Fix SettingsActivity back stack behavior after stop+start
...
Fixes the behavior where the settings activity would go back to
the top-level menu after switching to a different app and back.
2021-06-08 09:00:20 +02:00
SachinVin
bed6a4f12f
Merge pull request #221 from SachinVin/disk-shader
...
Disk Shader cache follow-ups
2021-05-05 22:29:30 +05:30
SachinVin
9415de2372
gl_rasterizer_cache.cpp: remove depth/stencil check (fixup merge conflict)
...
ref 4a2d1b5edb (diff-84fa6454a9a35c9d9ce4d87fdf502ff3aba28c3e23ef8f6d17eabdb23c78cf07L895-L902)
2021-04-30 00:21:26 +05:30
SachinVin
bbe7221e1a
gl_rasterizer.cpp: don't check for GL_ARB_copy_image when using GLES
2021-04-29 23:54:37 +05:30
SachinVin
9669dd647a
id_cache.cpp: use unordered_map for s_java_load_callback_stages
2021-04-29 23:54:37 +05:30
SachinVin
455cd56343
id_cache.cpp: emplace instead of inserting into s_java_load_callback_stages
2021-04-29 23:53:47 +05:30
SachinVin
68301c05a9
id_cache.cpp: use key-object pairs to DeleteGlobalRef of s_java_load_callback_stages
...
Co-authored-by: Pengfei Zhu <21307832+zhaowenlan1779@users.noreply.github.com>
2021-04-29 23:53:46 +05:30
SachinVin
1a24521046
id_cache: Move LoadCallbackStage map to ID Cache
2021-04-25 12:07:08 +05:30
SachinVin
0b32c2792e
DiskShaderCacheProgress.java: Use runOnUiThread instead of a Handler.
2021-04-23 22:38:35 -07:00
SachinVin
3e171e2d65
DiskShaderCacheProgress.java: Add copyright notice
2021-04-23 22:38:35 -07:00
SachinVin
14154d8e78
native.cpp; create cpu_context
only when async gpu enabled and reset it after use
2021-04-23 22:38:35 -07:00
SachinVin
6d9e652eb0
native.cpp: remove const for jclass,
...
because it is apparently a typedef'd pointer
2021-04-23 22:38:35 -07:00
SachinVin
fceb98a310
Android: native.cpp: use switch to map LoadCallbackStages
2021-04-23 22:38:35 -07:00
SachinVin
164006d8ba
DiskShaderCacheProgress.java: Add log for when EmulationActivity
is not present
2021-04-23 22:38:35 -07:00
SachinVin
8b7055f33e
android: native.cpp: rename is_running
to stop_run
and invert uses
2021-04-23 22:38:35 -07:00
SachinVin
f8dbaa2044
clang-format
...
x
y
2021-04-23 22:38:35 -07:00
SachinVin
7a044d9586
android: disk_shader: add UI
...
# Conflicts:
# src/android/app/src/main/res/values/strings.xml
ui pt3
2021-04-23 22:38:35 -07:00
SachinVin
39c002f6cd
android: use string resources for disk shader progress
...
# Conflicts:
# src/android/app/src/main/res/values/strings.xml
2021-04-23 22:38:35 -07:00
SachinVin
c5dd439e53
android: progress bar for disk shaders
2021-04-23 22:38:35 -07:00
SachinVin
1acc0884db
andoid: update default_ini.h
2021-04-23 22:38:35 -07:00
SachinVin
9ed737b609
disk_shader:update directory structure
2021-04-23 22:38:35 -07:00
SachinVin
84cf87c40d
disk_shader: Port multi thread shader compile from yuzu
...
video_core: store emu_window for creating shared context
2021-04-23 22:38:35 -07:00
SachinVin
f627440bb3
disk_shader : non separable
2021-04-23 22:38:35 -07:00
bunnei
7928c4b152
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-04-23 22:38:35 -07:00
xperia64
5ea0430669
Update gradle
2021-04-23 22:38:35 -07:00
bunnei
9f143505da
android: Update mainfiest and build.grade for target SDK version 29.
2021-04-23 22:38:35 -07:00
xperia64
5f79f9ed6d
Partial revert of Choreographer implementation; it doesn't seem *that* much worse...
2021-04-23 22:38:35 -07:00
xperia64
0184e1af53
Fix crash related to unpause being called after stop
2021-04-23 22:38:35 -07:00
bunnei
ce6b480bee
android: jni: Fix missing camera includes.
2021-04-23 22:38:35 -07:00
zhupengfei
c029c9fe6c
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-04-23 22:38:35 -07:00
zhupengfei
b38ff54af6
android: Use DialogFragment for the core error dialog
...
Fixes a bug when changing orientation while the dialog is shown.
2021-04-23 22:38:35 -07:00
zhupengfei
a56eba77fb
fixup! android: Add savestates UI
2021-04-23 22:38:35 -07:00
zhupengfei
c0942a59c8
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-04-23 22:38:35 -07:00
zhupengfei
cf84342e35
android: Add savestates UI
...
A simple menu with savestates info.
2021-04-23 22:38:35 -07:00
zhupengfei
8a31ffaf22
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-04-23 22:38:35 -07:00
bunnei
77c8cb23a0
android: config: Fix setting for use_frame_limit.
2021-04-23 22:38:35 -07:00
bunnei
a748c2cc7e
Update strings.xml
2021-04-23 22:38:34 -07:00
Nathan Lepori
ab285bb6bb
Implemented switch for sliding finger across dpad + fixed sensitivity
2021-04-23 22:38:34 -07:00
SachinVin
0507234077
video_core/CMakeLists.txt: Use toolchain cmake in shader header generator
2021-04-23 22:38:34 -07:00
SachinVin
a09d30298e
gl_state.cpp: Fix typo in texture buffer LUT
2021-04-23 22:38:34 -07:00
SachinVin
08432346f7
android : EmulationActivity: Don't show rationale if the permission was denied indefinitely
2021-04-23 22:38:34 -07:00
SachinVin
d5e765fa53
fix formatting
2021-04-23 22:38:34 -07:00
SachinVin
428b0910ef
android: Disable sensors when emulation is paused
2021-04-23 22:38:34 -07:00
SachinVin
337da335d6
android : refactor button_manager{.cpp, .h} to input_manager
...
Now that it also handles sensors
2021-04-23 22:38:34 -07:00
SutandoTsukai181
6aa9b1c9dc
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-04-23 22:38:34 -07:00
SutandoTsukai181
bf02579927
Add Cardboard VR
...
Based on hrydgard/ppsspp/pull/12449
2021-04-23 22:38:34 -07:00
SutandoTsukai181
8027b7cfe7
Add Stereoscopy settings UI
2021-04-23 22:38:34 -07:00
SachinVin
98205a3324
Run clang-format
2021-04-23 22:38:34 -07:00
SutandoTsukai181
e2689ee93c
Remove unnecessary conditional
2021-04-23 22:38:34 -07:00
SutandoTsukai181
b55da9bef3
Wait on present_queue instead of free_queue
2021-04-23 22:38:34 -07:00