Aaron Culliney
1126a319ec
Misc tweaks to various GL interface objects
2015-04-26 18:12:56 -07:00
Aaron Culliney
e7c0d8fe48
Comments, and avoid NULL deref on app resume
2015-04-22 23:40:48 -07:00
Aaron Culliney
4e23795cfd
First cut at GL touch keyboard
2015-04-22 23:32:36 -07:00
Aaron Culliney
725cf68011
Move common function to base class
2015-04-19 14:28:47 -07:00
Aaron Culliney
142f0181bc
support showing hourglass pause animation
2015-04-19 14:28:09 -07:00
Aaron Culliney
eee0dd45e3
zero-initialize buffers
2015-04-19 14:26:40 -07:00
Aaron Culliney
2b658954f9
Various additions/changes to interface glyphs
2015-04-19 14:25:53 -07:00
Aaron Culliney
629e44b210
Slightly more idiomatic way to upload texture pixels
2015-04-18 15:29:55 -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
592c80344f
Add new custom bitmap glyphs, and change load positions
2015-04-18 14:50:02 -07:00
Aaron Culliney
dcd0207525
Fix ctor load priorities
2015-04-17 22:12:13 -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
e2272132c2
Do not destroy OpenGL needful things for VAO codepath
...
- Gets Mac build rendering again
2015-04-16 21:53:44 -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
4d3b1189d4
Add new sources to Mac project
2015-04-16 21:52:41 -07:00
Aaron Culliney
e2794070dd
fix typos to allow gltouchjoy to build
2015-04-12 16:20:01 -07:00
Aaron Culliney
737f6c5a13
Tweak dox
2015-04-12 16:14:04 -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
5b5c6fa533
REFACTOR : interface menus/HUDs
...
- menu/HUD creation functions moved to better location and renamed
- CPU change animation now default displays on desktop Linux (exercise common HUD codepaths with mobile)
2015-04-12 14:23:35 -07:00
Aaron Culliney
121e250c62
REFACTOR : GLModel render pass is common for HUD models
2015-04-12 11:27:33 -07:00
Aaron Culliney
06051e44e7
REFACTOR : CPU animation is now a HUD model
2015-04-12 00:41:41 -07:00
Aaron Culliney
19e1a8e3d8
REFACTOR : beginnings of object-oriented approach for HUD models
2015-04-12 00:40:43 -07:00
Aaron Culliney
60d7e2b305
touchjoy render pass optimizations : avoid OpenGL calls if alpha is zero
2015-04-11 12:18:36 -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
5712850e84
REFACTOR : demoModel -> GLModel
2015-04-11 11:42:18 -07:00
Aaron Culliney
9bbb180feb
Bugfix touchjoy : make sure only the correct button is firing
2015-04-11 11:42:18 -07:00
Aaron Culliney
805357e5ad
Mac target builds again after Android upheaval
2015-04-10 16:05:36 -07:00
Aaron Culliney
afc8c8bb24
Old Spamsung devices running Gingerbread cannot handle dangerous characters like backslash '\' in their OpenGL shader parsers
2015-04-07 23:17:13 -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
Aaron Culliney
985cec7725
Baseline GL touch joystick functionality (for AXIS_EMULATED_DEVICE type)
...
- Also updates GL touch joystick to allow dynamic HUD re-positioning
2015-04-04 20:35:34 -07:00
Aaron Culliney
23171c65fc
unnecessary to send alpha parameter into function
2015-04-04 12:49:05 -07:00
Aaron Culliney
30236cb400
First cut at GL Touch Joystick
2015-04-01 19:59:38 -07:00
Aaron Culliney
d63bd7b412
macro defines for various mousetext characters
2015-04-01 19:57:12 -07:00
Aaron Culliney
ccca77908a
Tweaks to get ndk-gdb.py running again
...
- magick incantation : ndk-gdb.py --force --launch org.deadc0de.apple2ix.Apple2Activity
2015-03-30 22:03:38 -07:00
Aaron Culliney
c40f9f7487
X11 renderer : don't change XImage from different thread
...
- Only allow the X11 renderer thread to change the XImage
2015-03-23 22:05:08 -07:00
Aaron Culliney
30c59bd43f
X11 renderer still works!
2015-03-23 21:45:46 -07:00
Aaron Culliney
e878ff7750
tests run again on Android
2015-03-22 21:44:03 -07:00
Aaron Culliney
c96f4ef6fb
Some Android build tweaks
2015-03-22 19:16:18 -07:00
Aaron Culliney
5f210bfcf3
HACK around lingering issues with speed adjustment on mobile
2015-03-22 19:14:35 -07:00
Aaron Culliney
dc8ed4f611
Two flavors of the Android build
2015-03-22 19:14:15 -07:00
Aaron Culliney
a4987671d9
Android rotates to the sensor landscape
2015-03-22 19:13:28 -07:00