Permalink
Commits on Dec 19, 2012
  1. Add setOrientation back

    	this is needed for some tegra ICS and JB_MR0 prebuilts
    BuzzBumbleBee committed with Bajee11 Nov 29, 2012
  2. dumpstate: Squash fixes from CM 10.0

    commit ba3723de8d13126027706bbbe6f9657da231b9bd
    Author: Mike Kasick <mike@kasick.org>
    Date:   Wed Oct 31 20:31:05 2012 -0400
    
        dumpstate: Fix calls to su to specify a shell command
    
        Superuser's su requires that shell commands be specified with the "-c"
        option.  Fix calls to su to explicitly specify this option.
    
    commit 78cd73fce82fd0b5ee98a6136c847932ba8c636b
    Author: Mike Kasick <mike@kasick.org>
    Date:   Wed Oct 31 18:53:58 2012 -0400
    
        dumpstate: Skip subsequent showmaps if the first run fails.
    
        dumpstate takes over six minutes to run as each call to "su" (which
        dumpstate uses opportunistically on states that require root privileges to
        access) takes approximately one second to process.
    
        The vast majority of these "su" calls are made to "showmap", which is
        called for every running process.  These calls nearly always fail, either
        because dumpstate is denied root access, or because "showmap" isn't
        installed.
    
        This greatly speeds up the dumpstate process by skipping subsequent
        "showmap" attempts if the first run (on process init) fails.
    
    Change-Id: Ibdfa996afff541dc30251da7ab01ac4987ae2ebc
    mkasick committed with Bajee11 Oct 31, 2012
  3. Revert "remove support for HWC < 1.0"

    This partially reverts commit 30bcc61
    and updates to the current API. Tested on 0.1 blobs from Tegra2/3
    and OMAP3/4
    
    Change-Id: I43cee8852b266d68d1edefbe7ac988b9dbcf7227
    rmcc committed with Bajee11 Nov 22, 2012
  4. surfaceflinger: odd hw rotation (90/270) patch for swapping width/height

    This patch works in addition to the following commit
    re-implementing ro.sf.hwrotation:
    CyanogenMod/android_frameworks_native@7d28343
    
    When using values of 90 and 270 for ro.sf.hwrotation the
    LCD width and height also need to be swapped to display properly.
    
    NOTE: This patch does not fix the initial startup of bootanimation
    
    Change-Id: Iab9de66348967a378dd73a41bc96d632f750386c
    Signed-off-by: Hashcode <hashcode0f@gmail.com>
    Hashcode committed with Bajee11 Dec 11, 2012
  5. DisplayDevice: Backwards compatibility with old EGL

    From 4.1 to 4.2, the display subsystem was reworked to
    use SurfaceTextureClient/BufferQueue instead of
    FramebufferNativeWindow for the framebuffer itself.
    
    Unfortunately, some legacy EGL libraries make assumptions
    that any framebuffer device will be FramebufferNativeWindow.
    
    These EGL libraries will fail when used in 4.2 as if the
    framebuffer is not FramebufferNativeWindow, they will
    try to dequeue more than one buffer at a time, which
    will cause a hang of the graphics subsystem.
    
    This allows use of FramebufferNativeWindow to keep
    legacy EGL implementations happy.  Confirmed EGL
    implementations that need this include but are
    not limited to:
    
    Set BOARD_EGL_NEEDS_LEGACY_FB to use
    
    Tegra2/3 ICS EGL
    Mali400 ICS EGL (Allwinner A10)
    Mali400 Jellybean (4.1) EGL (Samsung Exynos4)
    
    Original implementation by OndraOrg of XDA:
    http://forum.xda-developers.com/showpost.php?p=34469675&postcount=19
    
    Change-Id: I74005cf6753b3c9bfb4c1e32fb641f5167787917
    Entropy512 committed with Bajee11 Dec 10, 2012
  6. Sensor: Add RotationVectorSensor2

    (ported from 4.1)
    
    Some ICS apps (namely, Google Maps) expects a rotation vector to be
    available. Newer devices, this is provided by either Android's
    sensor fusion (requires Gyro) or by hardware sensor fusion (MPL).
    
    Older devices will lack this virtual sensor and compass in Google
    Maps will not work. To fix this, we can provide our own rotation
    vector sensor by converting the values from the orientation sensor.
    (They are basically the same information in different formats.)
    
    Thanks to Unhelpful for the help with related math.
    
    Change-Id: I39489b3a5ce7c7d890768614357f32cc491bd6d9
    pawitp committed with Bajee11 Dec 5, 2012
  7. libui: exynos4: apply FIMC usage flag on format HAL_PIXEL_FORMAT_YCbC…

    …r_420_SP_TILED
    
    Change-Id: I8a98e593cb60d0843e83a5e431142410e26d82e7
    codeworkx committed with Bajee11 Dec 3, 2012
  8. GraphicBuffer: exynos4: set FIMC1 usage bit on samsung specific formats

    Change-Id: Ia8cde7e594f8be464ef15eaae453872ee5aa2768
    codeworkx committed with Bajee11 Nov 27, 2012
  9. ui: exynos4: getphys is common

    Change-Id: I1dc9c2ced0700072e7c30c8435676873b10c7026
    codeworkx committed with Bajee11 Nov 26, 2012
  10. surfaceflinger: Reimplement hwrotation

    Change-Id: Ia26bb36b5b6de132af49c272c4472ad2703afbda
    rmcc committed with Bajee11 Nov 24, 2012
  11. libgui: Add ICS/MR0-compatible client::createSurface constructors

    Change-Id: Ia5b04d93320c65ac32a92cbd93daa6a64e6cee1c
    rmcc committed with Bajee11 Nov 26, 2012
  12. Revert "Revert "Compatibility work around for bad graphics driver dep…

    …endency.""
    
    This reverts commit 38b6572.
    
    Change-Id: If350d73839f1ed5e01af4299d44837e619d14d66
    rmcc committed with Bajee11 Nov 24, 2012
Commits on Nov 25, 2012
  1. exynos4: getphys implementation on buffermanager for samsung omx

    Change-Id: Iee665f56aaf601479d796703db983ca5fce9c5c3
    codeworkx committed with xoomdev Nov 24, 2012
  2. Revert "Revert "A vendor ril depends on a native screen shot code.""

    This reverts commit 94f2615.
    
    Fixes RIL on toroplus
    burnsra committed with xoomdev Nov 23, 2012
  3. Revert "get rid of MemoryHeapPmem"

    This reverts commit 7a75248 and
    makes MemoryHeapPmem conditioned to BOARD_NEEDS_MEMORYHEAPPMEM
    
    Change-Id: I2f38340984ba87d6970d17ec944e3faded4132c8
    rmcc committed with xoomdev Jul 13, 2012
Commits on Nov 6, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger committed Nov 6, 2012
  2. fix transitions from hwc to GLES composition

    If we switched from HWC to GLES but the dirty region was empty
    (could happen if the dirty region is outside of the screen for instance), we
    need to force a full screen composition.
    
    In this change we ignore the dirty region for the purpose of
    rejecting the whole update and we rely on the fact that it will later
    be expanded to the whole screen. This was the least risky fix.
    
    Bug: 7467760, 7452931
    Change-Id: I2132f2f963b00a3ce7150adadb107b0367b3862e
    Mathias Agopian committed Nov 6, 2012
Commits on Oct 30, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger committed Oct 30, 2012
Commits on Oct 29, 2012
  1. dumpstate: add kernel memory fragmentation unusable index

    Dump /d/extfrag/unusable_index in bugreports.  It shows the
    percentage of memory in each zone that is not available for
    allocations for each order.
    
    Change-Id: I2af6680cb609887ea7b3d6107d1aa88bd0206b52
    colincross committed Oct 29, 2012
Commits on Oct 26, 2012
  1. partially implement external display clipping

    we perform external display clipping only on the GL
    side (ie: not done on the h/w composer side, which is
    harder and would be too risky). in practice this means
    that WFD will be clipped properly, while HDMI *may* or
    may not depending on how hwc is used.
    
    Bug: 7149437
    Change-Id: I92d4d04220db72b6ffb134c7fa7a93af569723a5
    Mathias Agopian committed with The Android Automerger Oct 24, 2012
Commits on Oct 25, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger committed Oct 25, 2012
  2. partially implement external display clipping

    we perform external display clipping only on the GL
    side (ie: not done on the h/w composer side, which is
    harder and would be too risky). in practice this means
    that WFD will be clipped properly, while HDMI *may* or
    may not depending on how hwc is used.
    
    Bug: 7149437
    Change-Id: I92d4d04220db72b6ffb134c7fa7a93af569723a5
    Mathias Agopian committed Oct 24, 2012
  3. Revert "Revert "put back the unused virtuals in Vector<>""

    This reverts commit 225c66a
    
    Change-Id: If31a04b81052cbc7dd7bf237c07107c33066d03d
    Dave Burke committed with Android (Google) Code Review Oct 25, 2012
Commits on Oct 22, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger committed Oct 22, 2012
  2. prevent a client from crashing surfaceflinger

    a misbehaving or malicious client could cause SF to crash
    by providing a "fake" IInterface. we now check the
    IInterface we get is our own and local.
    
    Bug: 7278879
    Change-Id: Ia19d05902d4b2385c5a16416148378d4998833fd
    Mathias Agopian committed with Android (Google) Code Review Oct 22, 2012
  3. Merge "SurfaceFlinger: add support for secure displays" into jb-mr1-dev

    Jamie Gennis committed with Android (Google) Code Review Oct 22, 2012
  4. SurfaceFlinger: add support for secure displays

    This change adds support for displays that are not allowed to display surfaces
    with the eSecure flag set.  All non-virtual displays are considered secure,
    while virtual displays have their secure-ness specified at creation time.
    
    Bug: 7368436
    Change-Id: I81ad535d2d1e5a7ff78269017e85b111f0098500
    Jamie Gennis committed Oct 20, 2012
Commits on Oct 21, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger committed Oct 21, 2012
Commits on Oct 19, 2012
  1. Fix emulator vsync

    The code that reserves display IDs was only run when a hardware
    composer was present.  The eventControl() function, which handles
    enabling of vsync, was ignoring the request because the primary
    display didn't appear in its set of allocated IDs.  This moves
    reservation of IDs for built-in displays outside the HWC-only block.
    
    Also, added a couple of warnings in eventControl().
    
    Bug 7376568
    
    Change-Id: I185ccdf817a25499b5c2668f8f6d594afb8c1568
    fadden committed Oct 19, 2012
  2. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger committed Oct 19, 2012
  3. Merge "Add runtime debugging capabilities to OpenGL" into jb-mr1-dev

    Romain Guy committed with Android (Google) Code Review Oct 19, 2012
Commits on Oct 18, 2012
  1. Add runtime debugging capabilities to OpenGL

    The shell property debug.egl.trace can now be set to:
    
    0
      disables tracing
    1
      logs all GL calls
    error
      checks glGetError after every GL call, logs a stack trace on error
    systrace
      logs each GL call to systrace
    
    Change-Id: I34a2a2d4e19c373fd9eaa1b0cd93e67c87378996
    Romain Guy committed Oct 18, 2012
  2. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger committed Oct 18, 2012