summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-27gl_code.cpp: Remove a DOS style newlinelinaro_android_4.2.2Bernhard Rosenkränzer
Change-Id: Id3edd6e511371fa8b0afef2e90baed4662ed76c4 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2013-03-27frameworks/native/opengl: Fix build with gcc 4.8Bernhard Rosenkränzer
In gcc 4.8, the warning for unused parameters (such as JNIEnv* pointers in JNI functions that don't need it) is enabled by default - causing -Werror to break the build. Change-Id: Ib91721f2cb9912b79c2ac19b4210b1309b08304f Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2013-03-21surfaceflinger: HDMI Samsung Soc Origen_quad path changeFahad Kunnathadi
This code changes path for vendor file copy path of origen_quad. Change-Id: I100fd7a5c3bbbd45c0c8f4019df07c8ca9a34f66 Signed-off-by: Fahad Kunnathadi <fahad.k@linaro.org>
2013-02-13surfaceflinger: Handle screen timeout on hw without vsyncVishal Bhoj
timeout currently at 1 second waiting for vsync. With this change timeout happens at 16ms. Change-Id: I785a2ff2bd15710c1b36466a298379adcf0ae936 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2013-02-13surfaceflinger: Don't crash on missing functions in hwcomposersBernhard Rosenkraenzer
Some hwcomposers -- most notably hwcomposer.default.so -- don't implement blank() or eventControl(). Don't crash when trying to use them. Change-Id: I2b2c3e17f254e3c5e3706bd43de8a244d22a9bb6 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2013-02-13surfaceflinger: Work around aliasing violationsBernhard Rosenkraenzer
Change-Id: I22e758390c1312e60bb4adac2365be201ba6f161 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2013-02-13frameworks/native: Fix build with ISO C++11 compilersBernhard Rosenkraenzer
Fix macro definitions so they can't be confused with C++11 string literals Change-Id: I2856933291d08eed789188ea9be036324384e67f Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2013-02-13surfaceflinger: HDMI Samsung Soc Origen HDMI Enabling CodeFahad Kunnathadi
This code enables HDMI in origen board. Change-Id: I9c95b9a0aa6ed9dae077cff59104e2f95efe9327 Signed-off-by: Fahad Kunnathadi <fahad.k@linaro.org>
2013-02-13binder: Fix ABI incompatibility between older and newer compilersBernhard Rosenkraenzer
Parcel::writeString16's first parameter was a char16_t - defined to uint16_t somewhere else. With ISO C++11 compatible compilers, however, char16_t is a compiler-defined-type that is not necessarily unsigned. This causes the symbol to be different, breaking support for talking to binary blobs built with pre-ISO C++11-compilers, such as the Galaxy Nexus RIL. Change-Id: Ibaa57fbd7d9fc4a95649d3b45d28d29963a9548b Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2013-02-13Graphics: Add support for YUV bitmap formatsST-Ericsson
Support for the proprietary YCBCR42XMB and other YUV/YVU bitmap formats has been added to PixelFormat and CameraParameters. Change-Id: I88ed8153c2f1c4f772ef3496e1d4a637154ef420 Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/70893
2013-02-13Remove unused NVidia egl extensionsST-Ericsson
Change-Id: I5cb718426c4c3d261f7ef723e8d5be9b2e61b6e3 Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/70892
2013-02-13frameworks/native: Fix build in ISO C++11 modeBernhard Rosenkraenzer
Change-Id: Icc19cde1bf9c72397ed8bda545e9056483d83e8d Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2013-02-13frameworks/native: Fix build in ISO C++ 11 modeBernhard Rosenkraenzer
Fix constructs that are considered new string literals in C++ 11 mode Change-Id: Iadcad5f83c79e6726ca66ced5fc1e038b7587069 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2013-02-13frameworks/base: Make sure Singleton instantiations are exportedBernhard Rosenkraenzer
This fixes using Singletons across shared library borders with gcc 4.7+ Change-Id: I84b9cc99add4ace64c16e4fa8414a4fc7e4693c7 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2012-12-10merge in jb-mr1.1-release history after reset to jb-mr1.1-devandroid-4.2.2_r1.2android-4.2.2_r1.1android-4.2.2_r1jb-mr1.1-releaseThe Android Automerger
2012-12-10[DO NOT MERGE] GraphicBufferAllocator: stall alloc for async freesandroid-cts-4.2_r2Jamie Gennis
This change makes GraphicBufferAllocator::alloc wait for pending async frees to complete before attempting to allocate a gralloc buffer if there are more than 8 pending async frees. Bug: 7696861 Change-Id: I1fae86e13edefcaa153b8ce9fd057f335716059e
2012-12-07merge in jb-mr1.1-release history after reset to jb-mr1.1-devThe Android Automerger
2012-12-07Revert "ConsumerBase: free buffers outside the lock"Jamie Gennis
This reverts commit b21a4e3b5f7f07ed160ca6e1809313e2a8e2a6a4.
2012-12-07DO NOT MERGE GraphicBufferAllocator: make frees asyncJamie Gennis
This change makes GraphicBufferAllocator::free queue a job to another thread to perform the actual free operation. This prevents potentially slow free operations from blocking rendering. Bug: 7675940 Change-Id: Id61099d66bb4c3949d04184e0d7f192ac18076b4
2012-12-06merge in jb-mr1.1-release history after reset to jb-mr1.1-devThe Android Automerger
2012-12-06ConsumerBase: free buffers outside the lockJamie Gennis
This change makes ConsumerBase::onBuffersReleased hold a reference to all its gralloc buffers until after the mutex is unlocked. This prevents slow gralloc::free calls from causing lock contention with rendering threads. Bug: 7675940 Change-Id: I0ec805d1b612afeeecfffec03f982371d27d93be
2012-11-29merge in jb-mr1.1-release history after reset to jb-mr1.1-devThe Android Automerger
2012-11-27Merge "make transform hint multi-display aware" into jb-mr1.1-devMathias Agopian
2012-11-27merge in jb-mr1.1-release history after reset to jb-mr1.1-devThe Android Automerger
2012-11-27Merge "DO NOT MERGE - native_fence_sync: fix an enum name" into jb-mr1.1-devAndy McFadden
2012-11-26DO NOT MERGE - native_fence_sync: fix an enum nameJamie Gennis
This change replaces all references to the "EGL_NO_NATIVE_FENCE_ANDROID" enum with "EGL_NO_NATIVE_FENCE_FD_ANDROID". Bug: http://code.google.com/p/android/issues/detail?id=40295 (cherry-pick from master) Change-Id: Ie25d4ab9721d8b69b8d4afcf18e902ef8e3ad911
2012-11-26merge in jb-mr1.1-release history after reset to jb-mr1.1-devThe Android Automerger
2012-11-21make transform hint multi-display awareMathias Agopian
if a layer is not mirrored, we now use its display as the source for the transfrom hint calculation instead of always using the default (main) display. this change does two thing: 1) we make updateTransformHint take a DisplayDevice as a parameter instead of hard-coding the main display. 2) each time we do a transaction that could change the hint, we go through all layers and figure out which display should be used for their transform hint. Bug: 7599344 Change-Id: I9b04a95e6c372dd770bacf81d8ef6f8e31b87b83
2012-11-20gltrace: Make sure device is debuggable.Siva Velusamy
(cherry picked from commit 6482fa4db0a7ac99cd3503d6bf170f80b26fb695) Change-Id: I205aabcab1932025c12e7ba3d1b3cf94684f6758
2012-11-19merge in jb-mr1.1-release history after reset to jb-mr1.1-devThe Android Automerger
2012-11-19fix typo that broke all the buildsMathias Agopian
Bug: 7584338 Change-Id: Ieb8c27a544ac583af9aa1e0376e33a673d2d9673
2012-11-19merge in jb-mr1.1-release history after reset to jb-mr1.1-devThe Android Automerger
2012-11-19workaround: don't reset compositionType to HWC_FRAMEBUFFER [DO NOT MERGE]Mathias Agopian
This workaround a HWC HAL issue in Nexus 7, which causes videos and live wallpapers to animate slowly. Bug: 7563862 Change-Id: I16ad85317e3e7f47f005e7397357c14186b0a13d
2012-11-19workaround: don't reset compositionType to HWC_FRAMEBUFFER [DO NOT MERGE]Mathias Agopian
This workaround a HWC HAL issue in Nexus 7, which causes videos and live wallpapers to animate slowly. Bug: 7563862 Change-Id: I16ad85317e3e7f47f005e7397357c14186b0a13d
2012-11-16merge in jb-mr1.1-release history after reset to jb-mr1.1-devThe Android Automerger
2012-11-15fix an out-of-bounds memory accessMathias Agopian
in this particular case, this OOB is always harmless (and that's why it didn't get fixed from MR1), however, it interfers with valgrind debugging. Change-Id: Ic977e03287e59c4b124a89146c9023bd0cb540a8
2012-11-14Reset compositionType to HWC_FRAMEBUFFER before calling prepare()Mathias Agopian
Honor the documentation. this broke in JB-MR1. Change-Id: I841a93b409fc940374bc748c4e143d82a192669c
2012-11-14merge in jb-mr1.1-release history after reset to jb-mr1.1-devThe Android Automerger
2012-11-08Reduce emulator logspamAndy McFadden
The emulator doesn't support systrace, but we should point that out at most once per process. Bug 7436352 Change-Id: I06b2c1ea0df6c02c11cd2496423c337f8d7c62a1
2012-11-07bugreport: Add /proc/interrupts dumpDmitry Shmidt
Bug: 7301178 Change-Id: Ifad3b981ac904d4637d69dfc223d5bb2c9d80bda Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-11-07bugreport: Add wlan FW counters dump for bcmdhdDmitry Shmidt
Bug: 7494877 Change-Id: I4d24dbcf7596777ec02ab1312c2ab996ba7688f1 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-11-06Reconcile with jb-mr1-factory-release jb-mr1-release - do not mergeThe Android Open Source Project
Change-Id: I219247f1b0f5d87b4144dc1535039e93fc636a94
2012-11-06merge in jb-mr1.1-release history after reset to jb-mr1.1-devThe Android Automerger
2012-11-05merge in jb-mr1-release history after reset to jb-mr1-devandroid-cts-4.2_r1android-4.2_r1android-4.2.1_r1.2android-4.2.1_r1.1android-4.2.1_r1jb-mr1-releaseThe Android Automerger
2012-11-05fix transitions from hwc to GLES compositionandroid-sdk-support_r11Mathias Agopian
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
2012-10-30merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger
2012-10-28dumpstate: add kernel memory fragmentation unusable indexColin Cross
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
2012-10-25partially implement external display clippingMathias Agopian
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
2012-10-25merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger
2012-10-25partially implement external display clippingMathias Agopian
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