aboutsummaryrefslogtreecommitdiffstats
path: root/android/qemulator.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct auto-detection of default VM heap size.David 'Digit' Turner2011-02-101-1/+1
| | | | | | | | | | | | This patch removes the need for the -m <memory> core option. Instead, the RAM size is taken by default from qemu-hardware.ini. Also, the default value of vm.heapSize is no longer 16MB, it is now adjusted based on the RAM size (16/32/48 values) + Get rid of core -lcd-density option (use .ini file instead) Change-Id: I93919926b61a132c7943a1bb2c41f7a3ab7f2d2f
* emulator: Fix -no-window flagDavid 'Digit' Turner2011-02-091-0/+2
| | | | Change-Id: Ibb06b7d412faeafa717de6d095a9eaae84d35ab4
* Simplify UI-only sources.David 'Digit' Turner2011-02-021-2/+4
| | | | | | | | | | Get rid of console-ui.c, qemu-timer-ui.c and modify vl-android-ui.c to use a generic Looper object instead of a crummy event loop. We still need to implement qemu_set_fd_handler for two sources under android/protocol/ but this will be cleaned up later. Change-Id: Icd0762675ca2f54e720a9cec40f96caea500b52f
* Separate init_skinned_ui() into two functions.David 'Digit' Turner2011-02-021-16/+0
| | | | | | | | | | | | | | | This removes init_skinned_ui() and adds parse_skin_files() and init_sdl_ui(). The first function only parses skin files and options, and doesn't do anything related to the UI. The second function does setup the SDL UI after all options/skin processing has been performed. We also modify main.c and main-ui.c to move the call to init_sdl_ui() as far as possible after the options parsing. + Move core attachment code to the end of qemu_main() in main-ui.c Change-Id: I2bf5f0a096d827ae1fee070a8fa45cbd4629d54f
* Refactored ui-core-control and core-ui-control protocolsVladimir Chtchetkine2011-01-281-10/+8
| | | | | | | Also cleaned the code up from obsolete ui-core-protocol.* and core-ui-protocol.* Change-Id: I194bec669d25b68a10c32b2be50bc9da50c52ebb
* Implement UI control service and clientVladimir Chtchetkine2011-01-251-1/+2
| | | | Change-Id: Iecc1b5bb9ddcdaf9f22c500a5195718db3f25354
* Remove unnecessary calls in UI <-> Core protocols.Vladimir Chtchetkine2011-01-201-1/+1
| | | | | | | Core port related calls are no longer needed, since UI is aware of core's base port on attachment to the core Change-Id: Ic211fc9b02cb652009360f80917e90c44d941878
* Compute default memory size from screen size.David 'Digit' Turner2011-01-191-0/+16
| | | | | | | | This change is used when using a magic skin (e.g. -skin 800x600) or when using the full Android build system, in order to determine a good default for the RAM size. Change-Id: I900e28146592cdd3f0df9b3f1828b119309eea85
* Hook up framebuffer changes with UI windowVladimir Chtchetkine2011-01-131-0/+13
| | | | Change-Id: Ib2dff72c808614cd6ded096d62717afc1c41e667
* Add android_port initialization in the core.Vladimir Chtchetkine2010-09-011-5/+5
| | | | | | Also some minor cleanups to the ui <-> core stuff. Change-Id: I7d64ec1aa694c027851b7e262b6e1b80bb6cef08
* Fix window title to display the correct port number for the emulator.David 'Digit' Turner2010-07-301-0/+7
| | | | Change-Id: I289451995683d5d4de2afe2e87481418a393c82f
* Better separation of UI and Core sources for framebuffer emulation.David 'Digit' Turner2010-07-271-5/+275
| | | | | | + new document under docs/DISPLAY-STATE.TXT to explain what's happening. Change-Id: Ia0d233377266212da49af932c7528f46f5feb92d
* Moved dependency on android_ui_set_window_scale to ui-core-protocol.hVladimir Chtchetkine2010-07-161-1/+1
| | | | | | Also cleaned up dependency on android_base_port variable Change-Id: I8c1675a859e3d24e9bb174471dd03556c696aff1
* Removed hw-control dependency from the UI.Vladimir Chtchetkine2010-07-081-7/+2
| | | | | | | qemulator_setup has been setting brighness callback via direct call to hw-control. After the change callback is set via call to ui-core-protocol Change-Id: Ib96887d47cf765f38f4a7ad39f4f39963d9fb90d
* Move key event generation out of the UI realm into neutral space.Vladimir Chtchetkine2010-07-071-1/+1
| | | | | | | Abstracted keycode event array into keycode_array.[hc], Moved key to keycode translation into charmap.c Change-Id: I4de0c9853fa93d675895fc361e62ee36c1c0a652
* Add ui_core_protocol.* to simulate UI->Core exchange.Vladimir Chtchetkine2010-06-291-1/+2
| | | | Change-Id: I969bb097fcd9be55d83368ddee0e377a0f0af896
* Moved QEmulator out of main.cVladimir Chtchetkine2010-05-111-0/+329
Change-Id: I20964bb5d7fbef5ea22d265427793a2a7fce2017