Permalink
Commits on Aug 29, 2011
  1. Merge changes I1fa3512b,I47df0cae

    * changes:
      Add hw.gpu.enabled hardware property
      Fix a crash when GPU emulation doesn't work.
    digit-android committed with Android Code Review Aug 29, 2011
  2. 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
    digit-android committed Aug 25, 2011
  3. Fix a crash when GPU emulation doesn't work.

    This patch fixes a simple segmentation fault in the case
    where we can't connect to the GPU emulation rendering library.
    
    Change-Id: I47df0cae9029aee4738fd89083750e3baca5f032
    digit-android committed Aug 26, 2011
Commits on Aug 28, 2011
  1. Merge "Fix premature boot-properties service disconnect."

    Vladimir Chtchetkine committed with Android Code Review Aug 28, 2011
Commits on Aug 27, 2011
  1. Fix premature boot-properties service disconnect.

    Change-Id: I746147ab0c441a05055f7fc878eda3e035c0da14
    Vladimir Chtchetkine committed Aug 27, 2011
Commits on Aug 25, 2011
  1. Merge "Enable qemud clients to pass connection parameters to emulator."

    Vladimir Chtchetkine committed with Android Code Review Aug 25, 2011
  2. Enable qemud clients to pass connection parameters to emulator.

    This is useful for qemud pipe clients to be able to pass parameters to the
    emulator service when connecting. In particular, this would be extremely
    useful for camera emulation clients, which can pass name of the camera
    device, and other parameters that may be required to connect to the
    camera. Parameters are passed when opening the qemud pipe in form:
    /dev/qemu_pipe/camera:/dev/video0
    I.e. parameters follow the service name, separated from it by ':'
    
    Change-Id: I67f0ef0ff27008e2b52652e58d72d5216b244646
    Vladimir Chtchetkine committed Aug 20, 2011
  3. Merge "Fix qemu pipe's 'poll' callbacks"

    Vladimir Chtchetkine committed with Android Code Review Aug 25, 2011
  4. Fix qemu pipe's 'poll' callbacks

    Throughout emulator's code pipe's 'poll' callback was returning PIPE_WAKE_XXX,
    instead of PIPE_POLL_XXX flags. This created whole sort of issues with the
    qemu pipe service <-> client communications.
    This is also a fix for http://b/issue?id=5196348
    
    Change-Id: I92202cf4ef4554559eb022c4410ee93923edec1b
    Vladimir Chtchetkine committed Aug 25, 2011
Commits on Aug 24, 2011
  1. Merge "Fix the darwin build"

    Vladimir Chtchetkine committed with Android Code Review Aug 24, 2011
  2. Fix the darwin build

    Change-Id: I87bd356f7673bdbcc8e5f196f4a89182b3a36cbe
    Vladimir Chtchetkine committed Aug 24, 2011
  3. Merge "Fix build break: make sure darwin build picks up on required d…

    …eclarations"
    Vladimir Chtchetkine committed with Android Code Review Aug 24, 2011
  4. Fix build break: make sure darwin build picks up on required declarat…

    …ions
    
    Change-Id: I801d56668d8591e599994c65fb47b9c3ea77ff73
    Vladimir Chtchetkine committed Aug 24, 2011
  5. Merge "Fix the build by #ifdefing linux-only includes"

    Vladimir Chtchetkine committed with Android Code Review Aug 24, 2011
  6. Fix the build by #ifdefing linux-only includes

    Change-Id: Ia4b6b45ad305307f28858f834f284b07be7d134d
    Vladimir Chtchetkine committed Aug 24, 2011
  7. Merge "emulator: probe shared library search path"

    digit-android committed with Android Code Review Aug 24, 2011
  8. Merge "android-configure.sh: Add OpenGLES support"

    digit-android committed with Android Code Review Aug 24, 2011
  9. emulator: probe shared library search path

    This patch modifies the 'emulator' launcher program to probe
    for a adequate directory containing shared libraries that will
    be required by the emulator core to implement GLES emulation
    properly.
    
    It does that by looking for a library named libOpenglRender.so
    (or .dll, or .dylib depending on the platform) in various directories
    around the one containing the executable program.
    
    When such a directory is found, it modifies the value of the PATH
    or LD_LIBRARY_PATH environment variable before calling exec()
    
    This is necessary because there is no way to change the list
    of search directories at runtime, i.e. between the program's start
    and the moment it calls dlopen() to load such a library.
    
    Change-Id: I7346d26597382f44931cdf08936b051e74d3641a
    digit-android committed Aug 24, 2011
  10. android-configure.sh: Add OpenGLES support

    This patch modifies android-configure.sh in several ways:
    
    - It adds --gles-include and --gles-libs options to point
      to the location where one can find the headers and host
      shared libraries required for OpenGLES emulation support.
    
    - It also adds --no-gles to disable adding such support.
    
    - In the case of a platform build, it auto-configs
      --gles-include and --gles-libs for you.
    
    - adds '#define CONFIG_ANDROID_OPENGLES 1" to the
      auto-generated config-host.h file.
    
    This is in preparation of more GLES-related patches.
    
    Note that this does *not* add GLES emulation support to the
    emulator itself, this will come later.
    
    Change-Id: I42d93475d323334db1b585f61c963688c80a3f06
    digit-android committed Aug 24, 2011
  11. Merge "Avoid conflicts with SDL_CONFIG variable."

    digit-android committed with Android Code Review Aug 24, 2011
  12. Merge "Add DLL-loading head <android/utils/dll.h>"

    digit-android committed with Android Code Review Aug 24, 2011
  13. Avoid conflicts with SDL_CONFIG variable.

    Other Android.mk parsed before this one may define SDL_CONFIG
    in an unexpected way. We only use this variable as input when
    want to implement the --sdl-config option in ./android-configure.sh
    
    Use QEMU_SDL_CONFIG instead to avoid issues.
    
    Change-Id: I89d56284017c696227d7c66ea7d7b0acaa73a9ca
    digit-android committed Aug 24, 2011
  14. Add DLL-loading head <android/utils/dll.h>

    This patch adds several functions to make loading shared libraries
    dynamically easier. This will be used to load the GLES emulation
    libraries.
    
    Change-Id: Ib401af339530bc647bfa86fb23a2840fe0a201dd
    digit-android committed Aug 17, 2011
  15. Merge "Video capturing code for Linux, and Windows"

    Vladimir Chtchetkine committed with Android Code Review Aug 24, 2011
Commits on Aug 22, 2011
  1. Merge "Revert "Revert "Merge c80340 from master to r13: Move charmap …

    …to hardware properties"...""
    Xavier Ducrohet committed with Android Code Review Aug 22, 2011
  2. Revert "Revert "Merge c80340 from master to r13: Move charmap to hard…

    …ware properties"..."
    
    This reverts commit cccd28c.
    
    c80340 add a CL to tools_r13 that broken the build. It was therefore reverted
    with cccd28. This revert was merged into tools_r13 but shouldn't have been.
    
    This reverts the revert to put back the CL in master.
    
    Change-Id: I95fcefedb77596cfdf76269f248b2ae80c85c830
    Xavier Ducrohet committed Aug 12, 2011
Commits on Aug 19, 2011
  1. Merge "Fix an emulator crash due to closed qemud pipe"

    Vladimir Chtchetkine committed with Android Code Review Aug 19, 2011
Commits on Aug 18, 2011
  1. Fix an emulator crash due to closed qemud pipe

    It looks like goldfish_pipe may make a call to the pipe after client
    has been disconnected and QemudClient instance freed. This results
    in a sudden death of the emulator, because _qemudPipe_recvBuffers
    doesn't know that the client for that call is gone.
    
    Change-Id: Ie1dd5481a01fd5bbb58d8c2d4e1bbe1ecfeca38a
    Vladimir Chtchetkine committed Aug 18, 2011
  2. merge from tools_r13

    Change-Id: I4994dd2e99378bfeeb1a88ba07742e205bf07a18
    The Android Open-Source Project committed Aug 18, 2011
  3. Video capturing code for Linux, and Windows

    Contains API that connects to a camera device, and pulls video frames from it
    on request from the client.
    
    Change-Id: If1d80c57611afff637a7734ce5c3a2c874cfc85a
    Vladimir Chtchetkine committed Aug 18, 2011
  4. Fix internet connectivity of emulator over proxy

    When trying to connect to a host on the internet using a proxy, the
    socket address was passed uninitialized to the proxy manager. The
    effects were similar to the ones described in Issue 18715. The change
    adds the socket address to the proxy manager after it has been
    initialized.
    Matthias Thomae committed with digit-android Aug 5, 2011
Commits on Aug 15, 2011
  1. Merge "opengles: improve throughput of TCP socket"

    digit-android committed with Android Code Review Aug 15, 2011
  2. opengles: improve throughput of TCP socket

    Disable the TCP Nagle algorithm to drastically improve the
    throughput of small packets when creating the TCP socket used
    to talk with the OpenGLES renderer library.
    
    Coupled with a corresponding change in the server part of the
    code, this improves performance of most applications significantly.
    
    + get rid of shouldSetSockOpt field, by performing the buffer
      adjustment just after the socket is created.
    
    Change-Id: Ibacca834ff98d1e9a92fb735f450b925e373fdc0
    digit-android committed Aug 15, 2011
Commits on Aug 13, 2011
  1. Merge "Fix internet connectivity of emulator over proxy"

    digit-android committed with Android Code Review Aug 13, 2011