Aaron Culliney
055f098811
Dynamically create audio menu for simplicity
2015-07-25 00:07:58 -07:00
Aaron Culliney
fe34a86c35
Maintain a menu page stack for simplicity
2015-07-25 00:06:20 -07:00
Aaron Culliney
933ef5533a
Hook in new audio menu and minor menu cleanup
2015-07-24 22:40:38 -07:00
Aaron Culliney
37a8985f79
First cut at audio settings menu
2015-07-24 22:39:46 -07:00
Aaron Culliney
c2fdebd040
Remove mParentView HACK now that we don't use the system soft keyboard
2015-07-24 22:36:57 -07:00
Aaron Culliney
a60ffb8eb9
Beginning of Android persistent settings
2015-07-21 21:38:28 -07:00
Aaron Culliney
87d7d8a115
Compile Android variant with optimization and debugging symbols
2015-07-12 15:38:28 -07:00
Aaron Culliney
7ca4a2646d
Optimize video drawing and API cleanup
...
- Enforces synchronized access to video dirty bit
2015-07-12 14:13:13 -07:00
Aaron Culliney
da301ded7c
Android build tweaks
...
- Build in ARM mode, not Thumb mode (cpu.S is written in common ARM dialect)
- Include various ABIs (phat APK)
2015-07-12 13:12:44 -07:00
Aaron Culliney
5f4bf6b1a7
Use single buffer queue callback for OpenSLES/Android
...
- OpenSLES Callback now performs simple mix of 2 sources (speaker and mockingboard)
- Avoids multiple callbacks which was a performance penalty especially for low-end droids
2015-07-12 12:59:49 -07:00
Aaron Culliney
66978056c9
Build system tweaks
2015-07-07 21:40:48 -07:00
Aaron Culliney
ada6d7a0be
Pause/resume CPU/audio together
2015-07-04 18:17:04 -07:00
Aaron Culliney
20b3e25915
Renamed to get Android build working
2015-07-04 18:14:21 -07:00
Aaron Culliney
2aba9a5ba1
Better OpenSLES backend implementation for Android
...
- Uses buffer values gleaned from Android system
- Removes completely unnecessary playq and uses ringBuffer instead with read/write heads
- ringBuffer includes a certain amount of "overflow" space for callback convenience
2015-07-04 18:01:44 -07:00
Aaron Culliney
951b4518c1
Expose device-preferred audio parameters to native
2015-06-28 12:49:26 -07:00
Aaron Culliney
38ef54bf57
Include class to detect audio capabilities of Android device
2015-06-28 11:50:32 -07:00
Aaron Culliney
f0f95a80ff
Project changes insisted upon by Android Studio
2015-06-27 13:12:38 -07:00
Aaron Culliney
9631e1e039
Remove > API 19 method call
2015-06-27 13:12:09 -07:00
Aaron Culliney
a72d6db296
Allow system to handle volume change keys
2015-06-27 12:59:59 -07:00
Aaron Culliney
bb8d51817b
First cut at Android OpenSLES backend
2015-06-27 11:48:00 -07:00
Aaron Culliney
1707c60701
Refactor : completely excise win-shim
...
- Moves remaining shim code into mockingboard.c
- Breaks Mac builds for now =P
2015-06-14 14:07:32 -07:00
Aaron Culliney
22037355c8
Enable StrictMode to detect potential issues when iterating on the Java side of things
2015-06-09 21:06:32 -07:00
Aaron Culliney
1da7acbaba
Properly hook up Android shutdown paths
2015-06-06 21:18:27 -07:00
Aaron Culliney
aa31141455
Ctrl-combo keys work with hardware keyboard
2015-06-06 21:17:15 -07:00
Aaron Culliney
2562c17d73
Record Java exceptions to app home directory
2015-06-06 12:55:14 -07:00
Aaron Culliney
f2abf4ce35
Fix emulator quit path on Android
2015-06-01 22:50:44 -07:00
Aaron Culliney
debd0370b3
Only choose 8888 color for now
2015-05-30 23:19:20 -07:00
Aaron Culliney
e6ec58a8ba
Fix Android build break
2015-05-29 21:48:39 -07:00
Aaron Culliney
9e9939a3a6
Only allow explicit main menu requests to bubble up
...
- Works around existing bugs in various gltouchwidget's logic
2015-05-23 23:17:33 -07:00
Aaron Culliney
da0b4c51cf
Changes Android Studio made when upgraded
2015-05-23 22:49:03 -07:00
Aaron Culliney
fe8aa03360
Updates for Android build
2015-05-10 14:06:20 -07:00
Aaron Culliney
5ec12f2e08
Remove unused configuration settings
2015-05-10 14:04:58 -07:00
Aaron Culliney
68011fa8f2
First cut at touch menu HUD
...
- Enables choosing touch keyboard or touch joystick
- Enables increasing/decreasing speed
- Enables opening main popup menu
- Also migrates all gesture responsibility away from Java side of things
2015-05-09 19:23:52 -07:00
Aaron Culliney
4e23795cfd
First cut at GL touch keyboard
2015-04-22 23:32:36 -07:00
Aaron Culliney
fc531ea8dd
Disk selection now just returns to emulation
2015-04-18 15:29:04 -07:00
Aaron Culliney
c2bd14f9b5
REFACTOR : glcpuanim now manages all generic alert messages
2015-04-18 15:15:09 -07:00
Aaron Culliney
c48e72c27f
Keep native side paused on "system" onResume()
2015-04-17 21:43:02 -07:00
Aaron Culliney
883403e6e8
Avoid android.view.WindowLeaked issue with lingering popups
...
- Was seeing android.view.WindowLeaked issue on certain devices if the main popup menu was left lingering (which was
previously by design ... bad design apparently)
- Simplifies lifecycle pause/resume (should be no Android UI showing now)
- Emulation resumes automatically, will handle pausing-CPU-on-resume on native side in subsequent commit
2015-04-17 21:42:45 -07:00
Aaron Culliney
ee8660e394
Prevent creating a second native CPU thread on multiple onCreate() calls
...
- This was blowing up in an assert on the native side, yay defensive coding!
2015-04-17 21:41:46 -07:00
Aaron Culliney
2bc846d1fe
Revert "Fix non-deterministic ctor load issues and use singleton for video_backend module access"
...
This reverts commit af95212a19
.
TODO : make ctor loads deterministic
2015-04-17 21:40:56 -07:00
Aaron Culliney
af95212a19
Fix non-deterministic ctor load issues and use singleton for video_backend module access
2015-04-16 21:53:12 -07:00
Aaron Culliney
ca139ee94a
REFACTOR : glanimation rechristend, touch handling genericized
...
- 'animation' was too constrained a name to what these do, so switch to the overloaded term 'node' ;-)
- Touch handling is no longer the sole purview of the touchjoy, (in prep for touchable HUD elements)
2015-04-12 15:55:06 -07:00
Aaron Culliney
19e1a8e3d8
REFACTOR : beginnings of object-oriented approach for HUD models
2015-04-12 00:40:43 -07:00
Aaron Culliney
101d78d160
Assure we use only landscape dimensions
2015-04-11 11:42:40 -07:00
Aaron Culliney
e876cd03b6
REFACTOR : begin consolidating common code for OpenGL HUD interfaces
2015-04-11 11:42:18 -07:00
Aaron Culliney
bbf10565a8
Eliminate flicker when main menu showing by continuing to render
2015-04-07 22:50:00 -07:00
Aaron Culliney
d298601bbe
Android main menu : quit choice should be last
2015-04-07 22:46:36 -07:00
Aaron Culliney
e808dd9861
First cut at Android disk selection interface
2015-04-07 22:42:47 -07:00
Aaron Culliney
ae27a891dd
Various updates to menu system
2015-04-07 22:18:25 -07:00
Aaron Culliney
10590052f2
Avoid NPEs when servicing gestures
2015-04-04 22:36:04 -07:00