Commit Graph

1057 Commits

Author SHA1 Message Date
Unknown W. Brackets
e746a2d106 Debugger: Add stepping to WebSocket API. 2018-06-08 06:59:17 -07:00
Unknown W. Brackets
944948a5f4 Debugger: Initial disasm API. 2018-06-08 06:59:17 -07:00
Unknown W. Brackets
3dac5f2103 Debugger: Add current game info. 2018-06-08 06:59:17 -07:00
Unknown W. Brackets
1f987bf1c1 Debugger: Initial register get/set APIs. 2018-06-08 06:59:16 -07:00
Unknown W. Brackets
b37d59e8fa Debugger: Organize WebSocket event handling.
Just a starting point to organize it.  Trying to keep it simple.
2018-06-08 06:59:16 -07:00
Unknown W. Brackets
c2b9b5a9e8 Debugger: Serve a simple log listener WebSocket.
Planning to add more functionality to it, and sharing the reporting port
is possibly not ideal - although it would make discovery easier.
2018-06-08 06:59:16 -07:00
Unknown W. Brackets
3a8a2ff933 http: Move web server to core and use flags.
This way we can independently control the debugger and disc sharing, since
debugger could have security impact.
2018-06-07 16:28:01 -07:00
Unknown W. Brackets
e21753bc93 Debugger: Add assembler to build. 2018-06-06 05:59:24 -07:00
Henrik Rydgård
b9388f50e1
Merge pull request #11133 from unknownbrackets/java-format
Android: Reformat Java files
2018-06-06 10:13:45 +02:00
Henrik Rydgård
9a610c8a01 Update to 1.6.3 2018-06-05 19:58:41 +02:00
Unknown W. Brackets
4846cfe6a5 Android: Reformat Java files.
Mostly indentation, just ran a formatter tool and did some cleanup.

No code changes.
2018-06-03 17:57:23 -07:00
Henrik Rydgård
00e5da2c35 Update to 1.6.2 2018-05-30 19:47:20 +02:00
Henrik Rydgård
88e358afc8 Update to 1.6.1 2018-05-28 18:47:10 +02:00
Henrik Rydgård
14d17419b1 Minor cleanup 2018-05-27 22:51:00 +02:00
Henrik Rydgård
343763cf5a More paranoia from Google Play 2018-05-27 22:16:36 +02:00
Henrik Rydgård
b730d187e8 Add some paranoid checks guided by stack traces from Google Play 2018-05-27 22:12:59 +02:00
Henrik Rydgård
09e85eb150 Update version to 1.6 in AndroidManifest.xml 2018-05-26 14:26:32 +02:00
Henrik Rydgård
d897d58727
Merge pull request #11071 from hrydgard/android-navbar-black
Android: In v21 and later, make the navigation bar black using styles.xml
2018-05-26 14:25:30 +02:00
Henrik Rydgård
7c921c5367 Android immersive mode: Fix display size stretch and touch screen inaccuracy when toggling immersive mode 2018-05-25 23:40:34 +02:00
Henrik Rydgård
0e0a3d2804 Android: In v21 and later, make the navigation bar black using styles.xml 2018-05-25 22:42:43 +02:00
Henrik Rydgård
ef67899fdc Let's try to update the sustainedperformancemode in yet another place... See #11018 2018-05-13 20:35:54 +02:00
Henrik Rydgård
701c2c0294 Call updateSustainedPerformanceMode from surfaceChanged as well. May help #11018 2018-05-09 22:03:45 +02:00
Henrik Rydgård
c1bdb69687
Merge pull request #11022 from hrydgard/screen-brightness-fix
Android: Only keep the screen bright ingame.
2018-05-09 06:06:27 +02:00
Henrik Rydgård
a8083b9684 Android: Only keep the screen bright ingame. 2018-05-08 23:05:37 +02:00
Henrik Rydgård
7d3efdc237 Call updateSustainedPerformanceMode on app focus changes. Should help #11018 2018-05-08 20:45:12 +02:00
Henrik Rydgård
ecee4c74b3 Update to the current gradle version, 4.4 2018-05-08 18:44:41 +02:00
Unknown W. Brackets
3f1544612b Android: Add missing graphics shutdown calls.
These were there for graphics restart (like resize) but not for full
shutdown, which was causing crashes during shutdown sometimes.

See #10931.
2018-04-21 08:33:53 -07:00
weihuoya
19ddeea8ee Android: Buildfix. 2018-04-19 21:25:09 -07:00
Henrik Rydgård
0381f3afb9 Conditionally revert "Remove the bad orientation hack. Seems the Nexus 5X bug is fixed."
Adds a check for SDK_INT to only use this hack on old Android versions.

Can't figure out another way to help #10916, I tried :(

This reverts commit d40ebbf8cb.
2018-04-18 20:50:05 +02:00
Unknown W. Brackets
379be140d6 Android: Avoid overload shadowing. 2018-04-14 11:25:15 -07:00
Unknown W. Brackets
6ba0a6cdfd Android: End GLES renderer after emu thread join.
This matches other backends, and prevents things from being added to the
deleter after GLES end.  Fixes #10849.
2018-04-08 19:28:15 -07:00
Unknown W. Brackets
89186d8113 Replay: Initial structure for replay functionality. 2018-04-07 15:36:28 -07:00
Henrik Rydgård
e3b1b9d6d1
Merge pull request #10792 from hrydgard/haptic-feedback-override
Android: Have haptic feedback ignore the global setting, but default to off.
2018-03-25 16:49:00 +02:00
Henrik Rydgård
d40ebbf8cb Remove the bad orientation hack. Seems the Nexus 5X bug is fixed.
I suppose other devices might also have the bug, but meh... platform bugs :(

Should help #10779
2018-03-25 15:14:15 +02:00
Henrik Rydgård
4a3692161b Show chosen postshader display name properly, plus some additional bugfixes. Fixes #10790 2018-03-25 14:42:48 +02:00
Henrik Rydgård
188ed07d77 Android: Have haptic feedback ignore the global setting, but default to off. 2018-03-25 13:42:57 +02:00
Henrik Rydgård
fb15208777 Android: Reload the config after getting storage permission, and ask immediately. Should help #10670 2018-03-24 12:52:51 +01:00
Henrik Rydgård
7761d2366b Android: Prevent a text bitmap size from becoming 0 on '\r\n'. Fixes #10764 (unless there are more platforms where it's broken...) 2018-03-23 10:48:54 +01:00
Florin9doi
8f38c7949c Landscape Auto for Android 2018-03-19 23:09:25 +02:00
Henrik Rydgård
78488a4ea6 Android: Restore auto screen orientation.
Fixes #10708

This reverts commit 53a351c29d.
2018-03-19 20:12:37 +01:00
Henrik Rydgård
08c3e13517 Do more detailed checks for Vulkan availability. Should hopefully solve #10729. 2018-03-17 11:36:16 +01:00
Henrik Rydgård
9f9903c02e Fixes to vulkan restart logic on Android. Should help #10696 2018-03-11 17:14:11 +01:00
Henrik Rydgård
f196a877e6 Android: Fix fallback from Vulkan to GL. 2018-03-03 00:00:18 +01:00
Henrik Rydgård
5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Henrik Rydgård
926b3873df Fix issue with Vulkan task switching and resolution changes on Android. 2018-02-12 17:47:31 +01:00
Unknown W. Brackets
cdf378d20c GLES: Prevent race condition on shutdown.
emuThreadState might become STOPPED before the last frame has been run,
which can cause WaitUntilQueueIdle to hang.

It's simpler just to wait until StopThread() is called, since it now is.
This will line up properly with run_.
2018-02-11 11:40:11 -08:00
Unknown W. Brackets
48b4a5f378 Android: Fix race condition on shutdown. 2018-02-10 16:55:48 -08:00
Henrik Rydgård
ae19c48138 Cleanup the Windows thread stuff to work like the other platforms. Not quite perfect yet. 2018-02-07 16:00:29 +01:00
Henrik Rydgård
7f30037e45 Android: Fix emuthread management to exit cleanly without hanging. Helps with task switching on Android. 2018-02-07 13:11:43 +01:00
Henrik Rydgård
22e28e218b
Merge pull request #10411 from hrydgard/gl-render-manager
GL render manager - new faster GL multithreading
2018-01-31 12:22:07 +01:00
Henrik Rydgård
26b146a247 Buildfixes 2018-01-30 12:28:44 +01:00
Henrik Rydgård
c60c8ed68a Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour. 2018-01-29 19:38:10 +01:00
Henrik Rydgård
19ab367591 Fix some accidental extra-indentation 2018-01-28 19:26:42 +01:00
Henrik Rydgård
bd3a681fd3 Enough JNI/threading hackery to get it to run on Android! Broken readbacks make it crash alot though. 2018-01-28 17:30:33 +01:00
Henrik Rydgård
7abb8702ce Work towards threaded GL on Android. Now TextDrawer barfs on wrong JNI context. 2018-01-28 17:29:27 +01:00
Henrik Rydgård
fdca06d208 More work on shutdown, still hanging though. 2018-01-27 15:10:17 +01:00
Henrik Rydgård
062608ad78 Start moving the framebuffer stuff over to the render manager 2018-01-27 15:10:17 +01:00
Henrik Rydgård
5d3c1e7871 Additional header cleanup 2018-01-20 21:55:25 +01:00
Henrik Rydgård
133bef575a Split Android graphics context implementations into their own files. 2018-01-20 21:47:16 +01:00
Henrik Rydgård
1a97f62dc9 Fix running the CPU test from the UI. 2018-01-04 18:10:41 +01:00
Unknown W. Brackets
766b40aad8 GPU: Reset GPUBackend on graphics init.
This way, when using a port that doesn't support Vulkan, it doesn't just
silently use upside down GL, etc.
2017-12-26 16:02:55 -08:00
Unknown W. Brackets
d6da758ed3 GPU: Remove duplicate BACKEND constants. 2017-12-26 15:55:24 -08:00
Henrik Rydgård
2250ef799c Avoid including platform-specific headers in VulkanContext.h 2017-12-18 12:54:25 +01:00
Henrik Rydgård
6f0b382d9e Move vulkan debug callback out from WindowsVulkanContext into a file that can be shared with other platforms later. 2017-12-13 19:29:42 +01:00
Unknown W. Brackets
2943bbdbfd UI: Cancel loaders on shutdown.
Improves backend switching / locking / etc. performance when the recent
list has games that aren't currently available.

Also, remove unnecessary duplicate gameinfo flush on EGL loop shutdown.
Already happens in NativeShutdownGraphics().
2017-12-09 16:48:38 -08:00
Henrik Rydgård
58fd674bbf Try to fix build with the old Android build system too... 2017-12-08 10:25:42 +01:00
Henrik Rydgård
1076e358e0 Also update Application.mk for the old build system. 2017-12-07 23:47:54 +01:00
Henrik Rydgård
18f93342f3 From NDK 16, libc++ is out of beta and gnustl will be deprecated soon, so switch.
No apparent issues, even on Nexus One with Android 2.3.
2017-12-07 23:45:36 +01:00
Henrik Rydgård
7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård
a1e74d0d4f v1.5.4 2017-12-05 14:51:51 +01:00
Henrik Rydgård
ab95dcae91
Merge pull request #10249 from unknownbrackets/minor
More minor cleanups
2017-12-04 09:49:44 +01:00
Unknown W. Brackets
9c046d7518 Android: Fix race condition on lock/unlock.
This might be related to the recreate from bad orientation - sometimes, it
was pause/resuming pretty quick, which would get stuck waiting for a join.
2017-12-03 20:32:17 -08:00
Unknown W. Brackets
2e87a652a4 Android: Reset immersive after native dialogs.
Not sure why it only happens on OpenGL, but it implies we need to reset
the state after the alert is dismissed.  Fixes #10177.
2017-12-03 19:22:04 -08:00
Unknown W. Brackets
79f03a0767 Android: Fix crash on shutdown/restart.
The text drawing textures needed to be deleted before shutting down their
allocator.  Fixes #10244.
2017-12-03 14:39:00 -08:00
Unknown W. Brackets
04c61ea429 Android: Render text with newlines properly.
Fixes the Android part of #10217.

Not sure if the line height calculation is ideal but it's visually fine.
2017-12-02 16:05:35 -08:00
Henrik Rydgård
341611e16a Update AndroidManifest.xml to 1.5.3.0, just in case anyone is still using the old build system where this isn't automatic. 2017-12-02 12:10:48 +01:00
Henrik Rydgård
5fbbb3e115 Try a silly workaround for an otherwise unexplainable crash seen in Google Play Console 2017-12-01 19:56:53 +01:00
Henrik Rydgård
04515946e6 Comment, minor cleanup 2017-12-01 18:47:01 +01:00
Henrik Rydgård
b0c42f7081 Fix a java exception around the GPS stuff 2017-11-30 00:59:54 +01:00
Henrik Rydgård
51a6c67502 Crash in a more appropriate place if missing a drawcontext (happens on really weak devices only) 2017-11-29 19:29:53 +01:00
Henrik Rydgård
6ea669368c Crash reports from 5% rollout of 1.5: Make some asserts dbg_asserts for now, try to fix an issue with framebuffers when postproc is enabled. 2017-11-29 18:53:52 +01:00
Henrik Rydgård
e9303fd1cd Try to get androidgitversion to behave. It thinks the build is dirty when it's not. 2017-11-29 15:44:16 +01:00
Henrik Rydgård
bdbe2549d0 Update AndroidManifest.xml to 1.5.0 2017-11-29 12:19:11 +01:00
Henrik Rydgård
234f30a372 Minor error checking improvement 2017-11-26 14:52:26 +01:00
Henrik Rydgård
a763fe4b95 Android: Call setDisplayParameters early with the display w/h in pixels. Without this, was defaulting to 1x rendering on S8 which is silly. 2017-11-26 14:49:00 +01:00
Henrik Rydgård
495532f0ff Fix text width measurement on Android when there are spaces at the start/end of the string (bounds doesn't handle that). Fixes 10174 2017-11-22 22:45:38 +01:00
Henrik Rydgård
ee759d83e3 Oops, android buildfix 2017-11-22 14:42:01 +01:00
Henrik Rydgård
b1fce1c61a Android: Fix #9697 where we'd hang if we lacked permission and got a filename as a command. 2017-11-21 13:55:14 +01:00
Henrik Rydgård
27a60f5e58 Fix message asserts on Android. Add more of them to check things in Vulkan code. 2017-11-20 12:11:47 +01:00
Henrik Rydgård
a0414a6176
Merge pull request #10145 from hrydgard/shortcut-fix
Android: When creating shortcuts, put the file path in data, not in extras.
2017-11-16 15:01:19 +01:00
Henrik Rydgård
5675e8a816 Minor cleanup, and more terrifying orientation hackery 2017-11-16 15:00:27 +01:00
Henrik Rydgård
1fb7560a14 Android: When creating shortcuts, put the file path in data, not in Extras.
Actually, let's keep extras around now for very limited backwards compatibility but check data first.
2017-11-16 14:45:47 +01:00
Henrik Rydgård
a1e593b6ba Fix the "vulkan not found" message on android. Fixes #10034 2017-11-16 13:45:15 +01:00
Henrik Rydgård
53a351c29d Workaround orientation bug in Android when unlocking the screen.
Or I'm doing something wrong somewhere...

Also kill off "Auto" orientation. It's just a pain.

Fixes #10128
2017-11-16 12:33:50 +01:00
Unknown W. Brackets
b1554ef061 Vulkan: Cut down on asserts during init.
In case something is horribly wrong, or our desired settings aren't
compatible, let's try to stumble our way out.

More things can fail, but the goal is to detect failure or at least be
able to render UI settings to swap out of Vulkan.
2017-11-12 21:56:55 -08:00
Henrik Rydgård
b8dc4d1fb8 Buildfixes for Android 2017-11-12 16:55:36 +01:00
Henrik Rydgård
e6681a443d Android: Cleaner way to avoid double-resizing the backbuffer. 2017-11-11 11:18:38 +01:00
Henrik Rydgård
08041d8775 Fix blackscreen when resolution is set to auto. Fixes #10081 2017-11-10 22:33:00 +01:00
Henrik Rydgård
c32f505b58 Fix race condition. 2017-11-10 15:45:14 +01:00
Henrik Rydgård
1c76d28843 Avoid double-initializing the Vulkan backbuffer on startup. 2017-11-10 13:13:56 +01:00
Henrik Rydgård
ee768ca949 Logging improvements, avoid resetting the Android text drawer unnecessarily 2017-11-10 13:02:24 +01:00
Henrik Rydgård
3cc5d8f40a More minor vulkan fixes and cleanups. Don't actually call "Resized" if the size stays the same. 2017-11-10 12:41:06 +01:00
Henrik Rydgård
0a2b20bf59 More logging and tweaking 2017-11-10 12:09:42 +01:00
Henrik Rydgård
6eb58b1252 Keep the draw context up to date in a bunch of places. More logging. 2017-11-09 16:28:22 +01:00
Henrik Rydgård
ec504756e0 Vulkan: Improve init/shutdown logging on Android. Fix a bug where we'd not run InitDeviceObjects on GPU_Vulkan sometimes. 2017-11-09 16:02:05 +01:00
Henrik Rydgård
4e04780adc Upgrade glslang to a fresh version (used to compile Vulkan shaders). Might help #10065 ?) 2017-11-09 13:36:18 +01:00
Henrik Rydgård
c6c90d4cbc Improve Vulkan device selection mechanism to prefer discrete GPUs 2017-11-09 12:21:20 +01:00
Henrik Rydgård
c855ab66d5 Cleanup gradle output. 2017-11-09 11:22:38 +01:00
Henrik Rydgård
4970668b99 Try harder to free up memory from the Android native font rendering system. Might help #10069 2017-11-07 12:31:03 +01:00
Unknown W. Brackets
ebe9dcafde Vulkan: Wait for queue idle in DestroyBackbuffers.
Otherwise it's only done after destroying Draw, so no need to mutex.
2017-11-05 08:44:14 -08:00
Henrik Rydgård
5018e400f2 Remove some code duplication 2017-11-01 14:51:15 +01:00
Henrik Rydgård
ca7a2d06ca Vulkan: Implement stencil upload (for Star Ocean). 2017-11-01 14:18:39 +01:00
Henrik Rydgård
fa81dd9c44 Forgot to update the Android target version here to 26. 2017-10-27 01:26:27 +02:00
Henrik Rydgård
1c5bd0f8dc Move the VulkanRenderManager stuff to thin3d, fits in better there. 2017-10-26 10:56:59 +02:00
Henrik Rydgård
a33daa4985 Update gradle files to Android Studio 3.0 defaults. 2017-10-26 10:48:55 +02:00
Henrik Rydgård
2c8fb0fbd1 Can't use the camera stuff on Android versions before 11. Fixes #10029. 2017-10-24 15:40:04 +02:00
Henrik Rydgård
b9ba525de1 Don't call functions in asserts, they get compiled out in release... 2017-10-20 14:45:00 +02:00
Henrik Rydgård
017d3da067 Allow D3D9 context creation to bail if shader compilation fails (D3D9 runtime not installed).
Fixes an issue where after switching to D3D9 on a PC without the D3D9 runtime, it's impossible to start PPSSPP anymore.
2017-10-20 11:53:07 +02:00
Carlos Estrague / Mrc_munir
efe251dc10 Re-enable gradle x86_64 android build
It should work now I've tried it with android-x86 Images and  with emulator android sdk avd image
2017-10-16 01:14:15 +02:00
Henrik Rydgård
271a3bb7d3 Fix the build on the buildbot by avoiding fancy new Java features. Fixes #9979 2017-09-27 10:29:56 +02:00
Unknown W. Brackets
7db9dfb50b Headless: Reduce some duplication.
We can share the screenshot code for SDL.
2017-09-20 09:25:28 -07:00
Henrik Rydgård
42cb559a8d Merge pull request #9927 from Florin9doi/master
Integrate sceUsbGps and sceUsbCam with Android
2017-08-31 09:47:25 +02:00
Henrik Rydgård
55e9807a53 Separate VulkanContext::CreateDevice into ChooseDevice and CreateDevice to give an opportunity to enable extensions. 2017-08-28 14:12:56 +02:00
Florin9doi
892bc8617d Integrate sceUsbGps and sceUsbCam with Android 2017-08-27 17:19:11 +03:00
Henrik Rydgård
560eaa5390 Vulkan: Add code (disabled) to be able to run with more in-flight frames. Only improves performance marginally and needs more testing. 2017-08-17 17:57:37 +02:00
Henrik Rydgård
d65547edb5 Crashfix on older devices 2017-08-17 17:49:36 +02:00
Henrik Rydgård
95d3a8edbe Spacing 2017-08-16 10:24:12 +02:00
Henrik Rydgård
d94351ef90 Initial work on supporting sustained perf mode 2017-08-15 16:41:13 +02:00
Ade Novan
5382efd44e Update ab.cmd 2017-08-09 06:04:34 +08:00
Gde Made Novan Priambhada
f236ea1fc9 group chat options and set enabled ptr 2017-08-09 04:19:28 +08:00
Gde Made Novan Priambhada
4420719a86 Bug fix 2017-08-09 03:50:31 +08:00
Henrik Rydgård
edf0606bf7 Disable the x86-64 Android build until it can be debugged. Works around #9814 (all such devices can run the x86 build instead) 2017-08-08 16:02:29 +02:00
Henrik Rydgård
2de5e2b5c0 Android: Fix bug where the surface size could be wrong after task switching and automatic recreation 2017-08-08 13:41:45 +02:00
Henrik Rydgård
7b4cf8516b Make some decls private 2017-08-08 13:30:34 +02:00
Henrik Rydgård
3be5682247 Disable codepath that requires vibration permission which we don't have 2017-08-08 13:22:36 +02:00
Henrik Rydgård
7a3a620ff2 Always shut down audio, regardless of why the task is being destroyed. Might help #9771 2017-08-08 13:03:23 +02:00
Henrik Rydgård
cefb57d778 Misc cleanup 2017-08-08 13:01:09 +02:00
Henrik Rydgård
5627d82891 Format string fixes in DPI logging 2017-08-08 11:40:56 +02:00
Henrik Rydgård
e268da823a Android: Add some missing codepaths when using Vulkan, might fix audio/controller issues on task switching 2017-08-08 11:31:13 +02:00
Henrik Rydgård
6ee8cb5f2e Review fixes, thanks unknown 2017-08-08 10:14:20 +02:00
Henrik Rydgård
b87ae5d7db Consolidate DPI/sizing handling on Android 2017-08-07 15:55:19 +02:00
Henrik Rydgård
43de028209 updateDisplayMetrics was a poorly defined method, removed it. 2017-08-07 15:07:55 +02:00
Henrik Rydgård
ae64519f05 More splitting of dpi vars 2017-08-07 15:03:07 +02:00
Henrik Rydgård
eaceef9373 Re-enable resizing the window on Android, change onConfigurationChanged flags 2017-08-07 15:02:18 +02:00
Henrik Rydgård
f4cf501cf6 Separate X and Y dpi_scale 2017-08-07 13:37:01 +02:00
Henrik Rydgård
11c75476f7 Turn g_dpi into a float, because why not 2017-08-07 12:16:08 +02:00
Henrik Rydgård
d44309405a Android: Fix scaling issue on configuration changes. Why was that division by 2 there??
Must have been some old left-over debug code.
2017-08-07 11:49:09 +02:00
Henrik Rydgård
ea047fa43a Android: Turn off resizability until we can properly fix the sizing logic. Helps #9866 2017-08-06 20:37:36 +02:00
Henrik Rydgård
3ce8680d9a Make the OpenSL wrapper an object too, to make sure it's always initialized the same. 2017-08-01 15:42:47 +02:00
Henrik Rydgård
a453dc8123 Make a state object for the Android audio wrapper 2017-08-01 15:28:45 +02:00
Ade Novan
18525ea523 Android Chat Support 2017-07-02 01:28:38 +08:00
Unknown W. Brackets
21fbacd993 Build: Include Roboto in buildscripts. 2017-06-06 23:28:43 -07:00
Henrik Rydgård
751c61bd69 We are already shipping Roboto-Condensed.ttf, let's use it 2017-06-06 15:45:43 +02:00
Henrik Rydgård
3a640ff8aa Address comments, make things closer to the Win32 code. Things work better. 2017-06-06 11:30:20 +02:00
Henrik Rydgård
0af19719cb Fix vertical positioning, eliminate double-& 2017-06-05 23:45:58 +02:00
Henrik Rydgård
0d3d642371 It works! 2017-06-05 23:09:12 +02:00
Henrik Rydgård
0bf92a4fa2 Font rendering code runs but it sure ain't right 2017-06-05 23:09:11 +02:00
Henrik Rydgård
d9c43642c2 Fix assorted JNI issues, the calls work now. 2017-06-05 23:09:10 +02:00
Henrik Rydgård
871260fcc4 Start sketching native text rendering for Android 2017-06-05 23:09:04 +02:00
Henrik Rydgård
c5ebeb4273 Merge pull request #9780 from unknownbrackets/ge-record
GE recorder and replay
2017-06-05 10:08:55 +02:00
Henrik Rydgård
2391c0edd5 Fix reported null pointer error in the Java code 2017-06-04 11:51:24 +02:00
Unknown W. Brackets
36069d1446 GE Debugger: Simple framework to load dumps.
This tries to execute them within the context of the emulator as much as
possible, so we don't have weird bugs.  Going with a file type so we can
easily load the dump by opening the file directly.
2017-06-03 15:29:11 -07:00
Unknown W. Brackets
cbbd3cac7e GE Debugger: Initial structure for GE data dumping.
This snapshots the GE commands and drawing to facilitate debugging.
2017-06-03 15:29:09 -07:00
Henrik Rydgård
7bfccfbb13 Merge pull request #9745 from hrydgard/android-backend-switch-restart
Android: Just like on Windows, prompt to restart when changing graphics backend
2017-05-31 11:53:03 +02:00
Henrik Rydgård
01635a5cd6 Android: Just like on Windows, prompt to restart when changing graphics backend. 2017-05-31 11:12:11 +02:00
Unknown W. Brackets
1b491fe156 SoftGPU: Stub a jit for texel fetch. 2017-05-30 22:57:30 -07:00
Unknown W. Brackets
d5426e4360 SoftGPU: Move sampler code to a dedicated file. 2017-05-30 22:53:23 -07:00
Henrik Rydgård
d21a1f8813 Android: Fallback to OpenGL if Vulkan fails to init. 2017-05-30 10:31:41 +02:00
Henrik Rydgård
3ae4c122e5 Update to v1.4.2 2017-05-27 11:58:05 +02:00
Henrik Rydgård
be77ffd4e8 Show the Android "board name" in system information. 2017-05-26 12:29:27 +02:00
Henrik Rydgård
e776eff6db Update version to 1.4.1 2017-05-23 12:45:38 +02:00
Unknown W. Brackets
984060a85f Merge pull request #9677 from hrydgard/joystick-sensitivity
Quick hack to enable analog stick sensitivity on non-windows platforms.
2017-05-20 13:41:27 -04:00
Henrik Rydgård
4491c7e2ca Quick hack to enable analog stick sensitivity on non-windows platforms.
See #8028
2017-05-18 15:15:10 +02:00
Henrik Rydgård
df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Henrik Rydgård
22e509905e gradle: Add a "flavor dimension" to make Android Studio 3.0 happy 2017-05-18 12:34:44 +02:00
Enyby
55f4e75e21 Update buildassets.sh
Fix assets pathes in build scripts.
2017-05-17 20:17:25 +03:00
Enyby
ffb24621cd Update ab.sh
Fix pathes.
2017-05-17 06:15:01 +03:00
Enyby
57ebdda63b Update ab.cmd
Fixed pathes and copy dirs.
2017-05-16 12:05:42 +03:00
Unknown W. Brackets
3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Unknown W. Brackets
ee68f09be5 Merge pull request #9653 from xiushudongfang/UI_background_android
UI: Allow choosing bgs (android)
2017-04-29 20:23:58 -04:00
Unknown W. Brackets
9ea7281b3c Core: Cleanup MAC address handling.
No need to make it leak, even if it doesn't matter much on shutdown.
Better to have the leak listing empty.
2017-04-29 12:48:06 -07:00
xiushu
c3a6d5a392 Remove blank line 2017-04-30 02:09:52 +08:00
xiushu
93536997cd UI: Allow choosing bgs (android) 2017-04-30 02:06:37 +08:00
Henrik Rydgard
cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Henrik Rydgård
186d471305 Update AndroidManifest version to 1.4.
(Probably can stop doing this though as Eclipse builds are no longer used for
releases).
2017-03-31 11:34:57 +02:00
Henrik Rydgård
8a7661a44f Gradle: Use the main assets directory instead of the android/assets one which is only updated when doing old style builds... 2017-03-31 10:59:46 +02:00
Henrik Rydgard
50e45207ea Prepare for ultra-wide screens like S8 and G6. See https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html?m=1 2017-03-29 23:26:32 +02:00
Henrik Rydgård
60f74c3ba2 Gradle: Output the computed version name and code to text files for further processing. 2017-03-27 16:58:08 +02:00
Henrik Rydgård
9f3580f67d gradle: Automatically set Android version number according to git commit, when version >= 1.4. Fixes #9490. 2017-03-27 12:06:31 +02:00
Henrik Rydgard
6a88d6c5a4 gradle: Avoid catch-22 where you can't change the config when it starts out at release (sync needs to pass) 2017-03-25 09:38:05 +01:00
Henrik Rydgård
45e9b45830 Create a way to externally set versioncode and versionname. Will be useful for Google Play beta builds. 2017-03-23 10:47:58 +01:00
Henrik Rydgård
22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00
Henrik Rydgård
d8859acb27 Gradle experiment: Throw an exception quickly if trying to build release without RELEASE_STORE_FILE. 2017-03-20 16:15:12 +01:00
Henrik Rydgård
9f26d573e6 Android: Add way to inject signing keys into build.gradle externally. 2017-03-20 11:06:52 +01:00
Henrik Rydgard
c62ec964f2 Update a resource 2017-03-18 16:33:16 +01:00
Henrik Rydgard
908193e894 Rework Android lost/restore lifecycle again. Can autorotate screen without crashing again. Should help #9295 and maybe #8906. 2017-03-18 15:21:26 +01:00
Henrik Rydgård
1424713f62 Minor resource reorg 2017-03-17 12:35:27 +01:00
Henrik Rydgård
bf518a0320 Android: Add gold resources (banners need work) 2017-03-16 16:05:51 +01:00
Henrik Rydgård
c18edcdab4 gradle: Add a new build config with debug signing but release optimization.
Add a fixed debug keystore so debug key is effectively the same on all my computers,
making testing more convenient.
2017-03-16 13:14:24 +01:00
Henrik Rydgard
fa353aeb1f This file is still needed in its old location to build Android using the old tools. 2017-03-15 23:06:47 +01:00