Aaron Culliney
2c97f7af19
Excise HEADLESS ... it was only being used by testcpu
2015-09-06 17:14:38 -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
c4397123cb
Assert that there is only one backend renderer
2015-06-22 22:21:27 -07:00
Aaron Culliney
dcd0207525
Fix ctor load priorities
2015-04-17 22:12:13 -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
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
1c31c1074d
REFACTOR : macro defines into toggles
2015-02-16 08:47:26 -08:00
Aaron Culliney
65f991ebcc
Build fixes for deprecated X11 variant
2014-10-30 00:11:17 -07:00
Aaron Culliney
429561643e
Fix build for testvm and testdisplay
2014-10-09 20:54:11 -07:00
Aaron Culliney
6858e51a75
Apple2Mac first cut and refactor common rendering code
...
* Based on NSOpenGLView and Apple's GLEssentials sample code
* CVDisplayLink- or NSTimer-driven rendering
* Works in window or fullscreen mode on Mac OSX Lion or later
TODO FIXME:
* Breaks Linux/Posix build
* Cocoa menu interfaces
* Key/mouse/joystick/gamepad handling
2014-09-30 21:01:58 -07:00
Aaron Culliney
f794098a02
Bugfix : properly handle control-modified keys
...
* GLUT sends the raw ascii ctrl-values, so we merely send them along in a "cooked" mode
+ It may be that some strange ctrl combinations (saw CTRL-~ or CTRL-ESC) are not properly handled this way, but
... not sure what can be done about this (doesn't seem to be a way to force glut to send us the non-cooked keys)
* Legacy X11 input continues to be sent as raw values (which arguably is a better way)
2014-09-21 17:26:37 -07:00
Aaron Culliney
a929ef854c
Refactor video_sync() and friends
...
- main thread render loop goes into X11 video driver
- removes video_sync()
2014-09-16 20:38:14 -07:00
Aaron Culliney
77e8f88edc
Refactoring colormap to internal structure/array
2014-08-17 15:31:49 -07:00
Aaron Culliney
4fb69a3196
Slight refactoring of key handling
...
* Adds a mapping from common ASCII to internal scancodes
* Renaming for consistency
2014-08-17 15:29:06 -07:00
Aaron Culliney
2def12c703
Fix build warning
2014-06-08 15:50:34 -07:00
Aaron Culliney
2f2698ed9e
Mark non-XShm support as buggy
2014-06-08 14:14:47 -07:00
Aaron Culliney
8b0325d60d
"HEADLESS" CPP define and envvar switches
...
* Allows running emulator in headless mode (default for some tests)
* setting HEADLESS=1 envvar from commandline will force headless operation
2014-04-26 13:34:35 -07:00
Aaron Culliney
afcc95c2f4
Allow Caps Lock state from X11 to override default
2014-03-30 13:20:56 -07:00
Aaron Culliney
209eb86051
More common video code
...
* Provide new function to get current common framebuffer
* Migrates non-X11 video_setpage routine
2014-03-30 11:11:02 -07:00
Aaron Culliney
78a3b39f6d
Interface menu changes
...
* Added an option to set caps lock (basing it off X11's value is not working well)
* Added a reboot emulator option (because Ctrl-Alt-End is potentially mapped by the X11 WM. ahem, Xfce...
2014-03-25 23:42:05 -07:00
Aaron Culliney
1dd72ec999
Codepaths for VIDEO_X11 macro conditional
2014-03-23 14:43:19 -07:00
asc
17440949bf
Updates to support testing
2014-01-25 14:13:38 -08:00
asc
3abd2e87aa
Refactor to use GNU build tools
...
* Added configure.ac and non-recursive Makefile.am
* Modularized source into subdirectories
* Simplified header inclusion
2014-01-22 20:51:50 -08:00