History log of /external/qemu/android/skin/window.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
496168ed6e29479bcc2c5cac2ade6f045013a59c 12-Jul-2014 David 'Digit' Turner <digit@google.com> Remove obsolete android/protocol/ directory.

This feature was never really completed, and impedes refactoring.
The corresponding sources were used to try to implement the separation
of UI and emulation engine into two separate processes, but never
truly worked. The lack of DSL to generate protocol stubs/proxies
was also very painful.

The feature could be revived in the future with a very different
implementation, if desirable.

Change-Id: I516d6627ee5d649bbcbf140b6274f1ff1b57fdd3
/external/qemu/android/skin/window.c
a95a4dc1d37f9fa2f133e750312ee5c3440c4710 26-Feb-2014 Arthur Blume <arthurb@google.com> b/13188424: Add support for onion in Android emulator skins
Layout file can now include onion { } section.

Change-Id: I2fa4e975bee3ce4fc0390e3c7ce3f4edd268241a
/external/qemu/android/skin/window.c
6ba28da38c1b175e4535774051f4ae9ff0943b03 10-Jan-2014 David 'Digit' Turner <digit@android.com> Update doc to reflect new Goldfish source locations

+ update docs/ANDROID-QEMU-PIPE.TXT to include missing
description of "parameters block" access mode.

Change-Id: I02b96ebd484d524410b4c5d8a780cf36596d908b
/external/qemu/android/skin/window.c
d4e803c5e928790b14704ae7f0b048da7ba47fab 14-Dec-2013 David 'Digit' Turner <digit@android.com> Move android-trace.h to include/android/

+ android-trace_common.h -> include/android/trace_common.h
NOTE: trace_common.h is still in the top-level directory because
the qtools first need to be updated to include the header
at include/android/trace_common.h

+ trace.c -> android/
+ user-events.h -> include/android/
+ user-events-qemu.c -> android/

Change-Id: Idbf59c8b1a5cc2872f035eb3fa7f9922755f357d
/external/qemu/android/skin/window.c
6e86d77975dde8f6bb06544f0639a448d7b4f862 23-Oct-2012 Raphael Moll <ralf@android.com> Fix background color: remap ARGB depending on surface.

Change-Id: I27a2aa2477e245f43ec76fc2c5cccf5c4ebc47df
/external/qemu/android/skin/window.c
74b55003f76dbca96e4a26d98fe464081ca5341f 18-Jul-2012 Jesse Hall <jessehall@google.com> Handle SDL windows with BGRA color

The switch to CoreGraphics on OSX (instead of QuickDraw) in SDL 1.2.15
means the SDL-created window now has BGRA color order instead of ARGB.
This change makes the r5g6b5 and xbgr32 format converters handle
whatever channel ordering the main SDL surface has. Skin regions don't
need to change, since we draw them into auxiliary surfaces we created
with ARGB order, and SDL does the conversion when we blit them into
the main window.

Change-Id: I2ae0529c66c11b60b3ade7a7a742368a2ab614bd
/external/qemu/android/skin/window.c
cb88e79ecbd16dea5f2201fd12320db5945db83e 26-Aug-2011 David 'Digit' Turner <digit@android.com> Add hw.gpu.enabled hardware property

This patch adds a new hardware property to enable GPU emulation
(named hw.gpu.enabled). It is currently disabled by default.

It also modifies the UI code to display the GL output properly
inside the UI window. And sets the kernel parameter qemu.gles
to either 0 or 1 to indicate to the guest system's GLES libraries
whether to use GPU emulation or fallback to the software renderer.

A future patch will also add auto-detection of desktop GL capabilities.
For example, if the emulator is started on a headless server without
an X11/GL display, hw.gpu.enabled will be forced to 'no', forcing the
guest to use the software renderer.

Another patch will allow to change the property from the command-line
for debugging purpose.

NOTE: If you want to test GPU emulation, change the default value of
the property in android/avd/hardware-properties.ini from 'no'
to 'yes'. You will need to run a ToT master AOSP tree with
the following pending patches applied:

https://review.source.android.com/25797
https://review.source.android.com/25154
https://review.source.android.com/25759

Change-Id: I1fa3512be24395244fd5068f2bf59ad54db5c7d5
/external/qemu/android/skin/window.c
62ffc423bdf158d98ee2902916963c4fde7fbe47 06-Jul-2011 Maciek Molerus <maciek@google.com> Added GTV related keys

Adds the definitions for keys present in GoogleTV.
Standard linux definitions are used to send
notifications to emulated system.

Change-Id: Id87aebfc86c5ce8b7331314352f2640a00ef36ae
/external/qemu/android/skin/window.c
f816a75ca5b357563a4ecf996e95b24ffabd0b54 23-Jun-2011 David 'Digit' Turner <digit@android.com> Fix -audio <name> and -no-audio processing.

Turns out that the string passed to putenv() must not be modified :-/

We provide our own win32 implementation for emulator-ui that doesn't
embed the os-win32.c QEMU-specific file.

Change-Id: I7260fbc37d23a5340dab589dfde577ef5eb10005
/external/qemu/android/skin/window.c
7e48eceb9caa7eeae31461c0ada5ff5b4286d323 26-May-2011 David 'Digit' Turner <digit@android.com> Auto-adjust scale and window position when needed.

This patch changes the emulator's default behaviour in two ways:

- Automatically compute the window scale to ensure that the emulator's
window can be displayed within the current screen. This ensures that
it remains usable when emulating a large-resolution device on a
small display (e.g. on a 13" laptop running at 1024x768).

This check and auto-correction do not happen if you use the
-scale or -dpi-monitor options.

- When re-centering an out-of-focus window, ensure that the top of
the window is visible (which generally includes the window's
title bar). This allows the window to be easily moved or minimized
by the user is needed.

This fixes three bugs:

http://code.google.com/p/android/issues/detail?id=16399
http://code.google.com/p/android/issues/detail?id=16398
http://code.google.com/p/android/issues/detail?id=16397

Change-Id: I8e5a624446d064038b5b9ad16556db8328244906
/external/qemu/android/skin/window.c
e3fdd075ed97085b4201cb0c79609633b19bddcc 02-Feb-2011 David 'Digit' Turner <digit@android.com> Move framebuffer.h to android/

The QFrameBuffer is no used by QEMU-specific code anymore so it's
more logical to move it here.

Change-Id: Id49ff53dd49648000e7543652d66f7c03881a8cb
/external/qemu/android/skin/window.c
777eb68eb60cac18f4b62e2e1b14a906875cbe7a 26-Jan-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Refactored ui-core-control and core-ui-control protocols

Also cleaned the code up from obsolete ui-core-protocol.* and
core-ui-protocol.*

Change-Id: I194bec669d25b68a10c32b2be50bc9da50c52ebb
/external/qemu/android/skin/window.c
646a4f8761b4de1f20a42b7e069ca0f75689724a 25-Jan-2011 rich cannings <richc@google.com> Use setenv when available

Even putenv("X=y") is bad because the "string becomes part of the
environment; changing it later will change the environment."
(http://www.kernel.org/doc/man-pages/online/pages/man3/putenv.3.html)

Change-Id: I0d57204a7020649493fb005c962951407d40fa45
/external/qemu/android/skin/window.c
a46c1675f90288252ae0e992f52c72a6db5dd2a7 25-Jan-2011 rich cannings <richc@google.com> Use putenv when setenv is unavailable

Windows builds and possibly others do not have putenv. Using
"#ifdef HAVE_SETENV" which is common in qemu.

Change-Id: I2cd6770a77cd192440ff4dc6a624568eb27d5558
/external/qemu/android/skin/window.c
a0f5d51826fc3b7ee5937c9c0fb1df7e29e13b8b 25-Jan-2011 rich cannings <richc@google.com> putenv(3) misused. Corrected with setenv(3).

POS34-C. Do not call putenv() with a pointer to an automatic variable as
the argument:

Change-Id: I0c973edd2cc8d6c86287ec0258bca6a06f319bfb
https://www.securecoding.cert.org/confluence/display/seccode/POS34-C.+Do+not+call+putenv()+with+a+pointer+to+an+automatic+variable+as+the+argument
/external/qemu/android/skin/window.c
122b335f58e2f52d542854dcddef8723a2b213a4 16-Jan-2011 David 'Digit' Turner <digit@android.com> Sligh speedup for pixel conversion routines with Duff's device.

Change-Id: If832bc5844945f7a2027b2f8d09393586545d8d5
/external/qemu/android/skin/window.c
97d795c955f8d261a0a5294d49ea06d5a473ed03 16-Jan-2011 David 'Digit' Turner <digit@android.com> Add support for 32-bit framebuffers.

This modifies the emulator so support 32-bit framebuffers.
You can create such a frame-buffer using one of these methods:

- Add a "bpp 32" line to the "display" element of your skin
- Use the new 'magic' skin option format: e.g. -skin 320x480x32

Note that the result will be hideous since the kernel driver still
thinks the hardware is only 16-bits. This will be addressed in a
later patch to hw/goldfish_fb.c and to the kernel driver
($KERNEL/drivers/video/goldfishfb.c)

Change-Id: I0fc700c4a4cb8521076605324e15ed34e5d01136
/external/qemu/android/skin/window.c
80bc5c8c7b9c50e8f302c22c2fba42dd6e8aa2df 20-Oct-2010 David 'Digit' Turner <digit@android.com> Fix incorrect orientation at boot.

The goldfish kernel's event driver is very picky about the
state of the virtual device it talks to. Essentially, it can
only listen to h/w events if the corresponding IRQ is raised
_after_ it has completed some initial setup.

If the IRQ is raised before, the driver will refuse to listen
to events, and any interaction becomes impossible.

We changed the way our UI windows are built and managed
previously, and this had the unfortunate effect of sending
one h/w event too soon, which, in the old code, would raise
the IRQ prematurely. This resulted in an input freeze.

To work around this the UI code was modified to not send
the initial h/w event, but this resulted in bad orientation
of the home screen at the end of the boot sequence.

This change allows the virtual device to wait for the kernel
driver before raising the IRQ, in the case any h/w event has
been buffered. It also removes the hack in the UI code,
allowing the send of the initial h/w event at startup.

BONUS MINOR CHANGES:
EsounD probe: fix error message.
console: fix compiler warnings
libpng: proper handling of MMX support.
android-configure.sh: fix --ignore-audio handling
The option didn't do anything if the audio development packages
are properly installed on the system.

Change-Id: Ib134158873d5cb72290c9676d92d20233226c889
/external/qemu/android/skin/window.c
18fe86e8245878f3b7a2813bd59b8cfcf636e15c 19-Oct-2010 David 'Digit' Turner <digit@android.com> emulator-ui: Remove dependencies from qemu sources.

This change removes some QEMU-specifics that crept into the UI code.

Change-Id: Ib1974dc64e54a35dc0cd01aec1eb547a9263a0c8
/external/qemu/android/skin/window.c
ba1f57f4a17ea97343b58903ba7100fee58ba28e 27-Jul-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Added qemu-android build target which will build bare (UI-stripped) emulator

Also has some minor separation changes

Change-Id: I367e26f691d4d77b43c59b090b01434133d33584
/external/qemu/android/skin/window.c
055ae42d36d9d78a7920f66ee2df485d81d24264 27-Jul-2010 David 'Digit' Turner <digit@android.com> Better separation of UI and Core sources for framebuffer emulation.

+ new document under docs/DISPLAY-STATE.TXT to explain what's happening.

Change-Id: Ia0d233377266212da49af932c7528f46f5feb92d
/external/qemu/android/skin/window.c
34f2974ce7ec7c71beb47b5daf9089d5c8c40c79 26-May-2010 David 'Digit' Turner <digit@android.com> Add small user-event abstraction interface.

Preparation for future UI frontend/backend separation.

This is done to ensure that the code under android/skin/ does not depend
on any QEMU-specific header. We achieve this by adding a new abstract header
"user-events.h" and one QEMU-specific implementations for the functions
defined here.

This also modifies console.h and vl-android.c to make them closer to
upstream (by removing Android-specific changes).

+ fix Makefile.android to always build SDL from sources in standalone mode.

Change-Id: I0d152741e7bb2c9cd283f5c35bd054385c7c1eb3
/external/qemu/android/skin/window.c
48ed3267dfffedb65385b0a1f1462fdd46d049bb 07-Oct-2009 David 'Digit' Turner <digit@google.com> Do not use qemu_malloc() to allocate arrays.

This function will call abort() for zero-sized arrays. This is stupid so use
the Android-specific functions that return NULL instead.
/external/qemu/android/skin/window.c
87250c24aec9449eb615951cf537a2fcf709f1d8 18-Sep-2009 David 'Digit' Turner <digit@google.com> Allow skins to provide a "dpad-rotation" field for each layout.

This is used to deal with the fact that the framework *always* assumes that
the physical DPad is rotated in landscaped mode, while the default skin no
longer does that.

NOTE: tested on old skin files for backwards compatibility.

(Upcoming skin fixes coming in another patch)
/external/qemu/android/skin/window.c
46be48730333120a7b939116cef075e61c12c703 04-Jun-2009 David 'Digit' Turner <digit@google.com> Add our modified SDL sources under distrib/sdl-1.2.12
Fix distrib/make-distrib.sh script to work with git
Fix distrib/build-emulator.sh to accomodate for new SDL configure script
Handle Tiger SDK usage in SDL configure script
/external/qemu/android/skin/window.c
9877e2e3e3c2df64de306b48f80a4f5d0b028d95 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/external/qemu/android/skin/window.c
b059facee5eb498c78c573617c62cc13eddc8644 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
/external/qemu/android/skin/window.c
8b23a6c7e1aee255004dd19098d4c2462b61b849 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/skin/window.c
f721e3ac031f892af46f255a47d7f54a91317b30 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/skin/window.c
c27f813900a3c114562efbb8df1065e94766fc48 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/external/qemu/android/skin/window.c