Commit graph

1060 commits

Author SHA1 Message Date
Unknown W. Brackets
b75291375a Android: Setup UI callback earlier if possible. 2019-10-06 16:11:15 -07:00
Henrik Rydgård
bf1777f7d3 1.9.3 commit 2019-10-06 15:02:44 +02:00
Henrik Rydgård
f65258fc60 Android: Finally fix our display sizing problems for good, hopefully. 2019-10-06 13:25:44 +02:00
Henrik Rydgård
d5f2d74257 Android: Preparation for future cutout (notch) support 2019-10-06 13:25:35 +02:00
Henrik Rydgård
ccda27edcf Increase max aspect to 2.4. Fixes #12349 2019-10-06 13:22:14 +02:00
Henrik Rydgård
f342d8d856 Logging improvements 2019-10-06 13:21:57 +02:00
Unknown W. Brackets
d137f35c64 Android: Setup UI callback before settings change.
We need to receive a notification of our own change, or the initial flag
will be out of sync.  Also adds it in the javaGL path.
2019-10-05 16:21:13 -07:00
Henrik Rydgård
0698944752 Fixes 2019-10-06 00:20:49 +02:00
Henrik Rydgård
c023cd7e20 Make use of OnSystemUiVisibilityChangeListener to check whether navbar is hidden. Affects DPI calculations.
Also recalculate all dp parameters after either display or buffer size changed.
2019-10-05 23:30:50 +02:00
Henrik Rydgård
0b9353b1dc Touchscreen: Apply weihouya's fix, add a touchscreen test screen. See #12381. 2019-10-02 22:05:34 +02:00
Henrik Rydgård
382d5a6b95 Blind attempt at fixing an OpenSL ES crash 2019-09-27 23:08:35 +02:00
Henrik Rydgård
a484fab919 Symbolic commit for 1.9.2. Making another submission attempt to Google play so have to increment the version. 2019-09-26 18:27:15 +02:00
Henrik Rydgård
97194ee642 Symbolic commit for 1.9.1.
This one is only to get around a Google Play issue.
2019-09-25 22:47:46 +02:00
Henrik Rydgård
4f07db87d8 Symbolic 1.9.0 commit 2019-09-25 20:21:46 +02:00
Henrik Rydgård
f3b84fd8a4 Android: Fix crashes on Android versions < 11 due to mCameraHelper being null 2019-09-24 23:44:14 +02:00
Henrik Rydgård
9d65ff8873 Silence a few warnings. 2019-09-24 23:10:18 +02:00
Henrik Rydgård
5a53570b38 Case fix for previous commit 2019-09-19 12:39:03 +02:00
Henrik Rydgård
b5af797ca6 Hacky workaround for #12339 (Amazon FireStick 4k issue) 2019-09-19 10:39:12 +02:00
Henrik Rydgård
f9bf1f96bd Android audio: Turns out the initial queue operation queued up too little data anyway (sizeof on dynamic buffer.. sigh).
Anyway like I said, none of this really seems to matter.
2019-09-17 23:41:47 +02:00
Henrik Rydgård
e69b71b58f Remove some legacy 2019-09-17 23:26:42 +02:00
Henrik Rydgård
54570fdfb4 Android OpenSL: Fix bug where we should have enqueued two buffers on startup.
I don't actually think this matters much though. Seems to make
absolutely no difference on any of my devices, but you never know.
2019-09-17 19:44:39 +02:00
Henrik Rydgård
309d6562d5 We had an old fallback to the EGL GL loop in the Vulkan init. Remove it. 2019-09-17 10:52:02 +02:00
Henrik Rydgård
57c6ab7206 Android: Remove the popup message when falling back to OpenGL. Fixes #12284 . 2019-09-02 20:02:40 +02:00
Henrik Rydgård
7610220b30 Vulkan: Prepare for adding a second init path for VulkanContext.
Will eventually be used for libretro.
2019-09-01 22:21:19 +02:00
Florin9doi
e1164cfe4f [Android] Updates for camera
-rotate camera frames to follow display orientation
-release camera resources when a game is closed
-release camera resources when the activity is paused
2019-08-24 22:54:45 +03:00
Florin9doi
187dfb2816 Update PowerSaveModeReceiver (again) 2019-08-20 11:32:39 +03:00
Unknown W. Brackets
9f694afcc3
Merge pull request #12237 from hrydgard/vulkan-device-name-blacklist
Vulkan: Simple blacklist of device names that are not allowed to check for Vulkan
2019-08-13 19:03:20 -07:00
Florin9doi
18e7877526 Update PowerSaveModeReceiver 2019-08-13 21:00:36 +03:00
Henrik Rydgård
caa8f1a433 Android: NativeApp.Init: Log the device name. 2019-08-13 10:15:39 +02:00
Henrik Rydgård
dc9e794867
Merge pull request #12213 from Florin9doi/sceUsbMic
sceUsbMic
2019-08-04 18:23:49 +02:00
Henrik Rydgård
96a15cf525 Fix the indirect postprocessing path. Fixes #12133 (but see the issue for a secondary bug). 2019-08-04 18:01:36 +02:00
Florin9doi
99c4a00dae sceUsbMic 2019-08-03 21:09:33 +03:00
Henrik Rydgård
e284d9f00d Remove Google Cardboard support. Fixes #11668 2019-07-01 14:47:42 +02:00
Henrik Rydgård
2ecec84c84
Merge pull request #12127 from unknownbrackets/ge-record
Cleanup GE dump playback
2019-06-24 12:28:32 +02:00
Henrik Rydgård
aff429ee09 For the non-vulkan backends, zero display rotation settings just to be sure. 2019-06-24 10:30:32 +02:00
Unknown W. Brackets
93069756e6 GE Debugger: Split playback into a separate file. 2019-06-23 18:49:27 -07:00
Henrik Rydgård
2ed535af29 Update SPIRV-Cross 2019-06-20 00:41:47 +02:00
Silent
bb2ba8086b
Improved Show in Folder:
- Not spawning cmd.exe anymore, rather using the same way Chromium does to spawn a shell window with a file focused
- Hid a nonfunctional "Show In Folder" button for UWP builds
2019-05-23 19:59:08 +02:00
Robert Carr
c01186d35c Android: Display measurement fixes
No longer set display parameters on surface create - surface is resized
after create to match screen dimensions. Fixes offset issue when started
in immersive mode.

Also update measurements on multi-window change, and use getMetrics when
in multi-window mode as getRealMetrics returns full screen size, not
window size.
2019-05-12 23:24:46 +10:00
Unknown W. Brackets
812e84e4a7 Android: Allow less common sample rates.
Just assume anything we received is a valid one.
2019-03-23 12:12:13 -07:00
Henrik Rydgård
e66f019ffa Update the version number in AndroidManifest.xml (pretty sure we don't really still need to do this, but whatever). 2019-03-14 09:00:50 +01:00
Henrik Rydgård
aba375e2f7 Remove old resolution hackery that didn't fix anything. 2019-02-28 14:16:20 +01:00
Henrik Rydgård
3e1197f5f3 Android: Add some logging 2019-02-10 20:13:13 +01:00
Henrik Rydgard
478b0b4278 Further improve VK extension loading. Switch to VK_EXT_debug_utils (but fallback to VK_EXT_debug_report if only that is available). 2019-02-05 21:31:38 +01:00
Henrik Rydgard
3fd216ad3a Better handling of swap chain size, add PowerVR hack. Fixes #11743 2019-01-25 20:19:55 +01:00
Henrik Rydgård
46585a5da9 Additional logging 2019-01-23 18:34:25 +01:00
Henrik Rydgård
b86c96261a Update to latest gradle, update lang submodule. 2019-01-15 23:35:59 +01:00
Unknown W. Brackets
adeca2c3ba GLES: Move some vendor bug checks to Draw. 2018-12-23 20:27:22 -08:00
Henrik Rydgård
015c314fb1 Android EGL config: Always require 8888, stencil if version >= ICS 2018-12-19 23:05:48 +01:00
Henrik Rydgård
c8f86def97 Android EGL: Add logging of depth and stencil bits 2018-12-19 22:52:44 +01:00