summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Shelve InputFlinger for another release. DO NOT MERGEMichael Wright2014-08-184-187/+1
| | | | Change-Id: I0f034a2b8b1d9192f61f5001799bd3aa4b3964c7
* Merge "Change output format to not throw warning on volantis." into lmp-devMichael Lentine2014-08-061-1/+1
|\
| * Change output format to not throw warning on volantis.Michael Lentine2014-08-071-1/+1
| | | | | | | | Change-Id: Id66eb61bdb1ceccfb7aefa0aa70793dac807c257
* | Merge "Fix HWComposer Surface Crop when surface is rotated" into lmp-devMichael Lentine2014-08-071-5/+5
|\ \ | |/
| * Fix HWComposer Surface Crop when surface is rotatedMichael Lentine2014-08-071-5/+5
| | | | | | | | | | | | Bug: 15091149 Change-Id: I97ecd8af9636da9403fafdb3f9b846f95053ebb7
* | Revert "Revert "Add system accelerators for BACK and HOME.""Michael Wright2014-08-062-2/+58
| | | | | | | | | | | | This reverts commit d671f98a27f547ebcddff8dc962fe895549355e2. Change-Id: Ibec48f81653bd2f755fc59a241fa7836baf53233
* | Revert "Add system accelerators for BACK and HOME."Michael Wright2014-08-062-56/+2
| | | | | | | | This reverts commit 278b525d25b852554015ec4f92862f9297b502fd.
* | Add system accelerators for BACK and HOME.Michael Wright2014-08-062-2/+56
|/ | | | | | | | Meta+Backspace -> BACK Meta+Enter -> HOME Bug: 14066931 Change-Id: Iff1d027300fa9911626785944a6d8efe4f62235e
* Merge "SurfaceFlinger: Prevent deadlock by updating an atomic layer set." ↵Eric Penner2014-07-292-2/+22
|\ | | | | | | into lmp-dev
| * SurfaceFlinger: Prevent deadlock by updating an atomic layer set.Eric Penner2014-07-302-2/+22
| | | | | | | | | | | | Bug: 12934849 Change-Id: I9dede7316f1e967de4140bd731ac810115ea302f
* | Build fix for size_t on 64bit.Michael Lentine2014-07-302-3/+3
| | | | | | | | Change-Id: Ic16895b30d78ba8a635b709adbae31a590501b20
* | Build fix for printf with int64 and size_tMichael Lentine2014-07-301-2/+2
| | | | | | | | Change-Id: I642584cce7dd43e6d491a49228b0bce047d53354
* | Build fix to use the correct source.Michael Lentine2014-07-301-1/+1
| | | | | | | | Change-Id: If36710be600dd0e15c31682e0343f281baa55627
* | Add error for format and make sure setActiveConfig fails with an invalid mode.Michael Lentine2014-07-302-3/+9
| | | | | | | | Change-Id: Iacdb5cbad125787f96c64c88d432fc541c4cad1a
* | Allow for resizing of Virtual Displays.Michael Lentine2014-07-307-20/+83
| | | | | | | | | | | | | | | | | | | | Modify SurfaceFlinger to use VirtualDisplaySurface in all cases when a virtual display is used. Add functionality in VirtualDisplaySurface to resize the buffers aquired in the QueueBufferOutput. Add transaction support in SurfaceFlinger for resize. Add the modification of the size in DisplayDevice. Change-Id: Iae7e3556dc06fd18d470adbbd76f7255f6e6dd6b Tested: None
* | Have VirtualDisplays send SF resize messages when resizingMichael Wright2014-07-301-0/+1
| | | | | | | | Change-Id: I76d15b22099a659450ec875836c9bf2b6584838f
* | Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig.Michael Lentine2014-07-296-6/+84
| | | | | | | | | | | | | | | | This can be used to change the current display mode of the device. Change-Id: Icdc3fb58389b861dc77b68102083da6f7a96eccb Tested: None (cherry picked from commit 2651fa94635a96d653038fb389a0dd827338f8d3)
* | Turn on support for async cursor update in surfaceflinger.Riley Andrews2014-07-286-2/+113
|/ | | | | | | If available, surfaceflinger will use the hwc setCursorPositionAsync() api to change the position of supported cursor layers outside of the usual prepare/set loop. Change-Id: Ib3fc5c0c390b3489ddbba202379840a1d2748917
* SensorService performance improvements.Aravind Akella2014-07-242-72/+314
| | | | | | | | | i) Send ack for wake_up sensors on the socket connection instead of using Binder RPC. ii) Cache events per connection in case there are write failures. Compute cache size from FIFO counts of sensors. iii) Send FlushCompleteEvent only for apps that explicitly called flush(). Change-Id: I018969736b7794b1b930529586f2294a03ee8667
* CW on L: Fix a SIGSEGV crash in sensor service.Sean Wan2014-07-151-2/+6
| | | | | | | This is to fix b/16189080. BUG: 16189080 Change-Id: I78d44e82f797c0808891acde609040c46745a0bb
* Merge "Add sticky transform to surfaceflinger." into lmp-devRuben Brunk2014-07-142-7/+23
|\
| * Add sticky transform to surfaceflinger.Ruben Brunk2014-07-142-7/+23
| | | | | | | | | | | | | | | | | | | | Bug: 15116722 - Adds a sticky transform field that can be set from a SurfaceFlinger client Surface. This transform is added to any transform applied to the Surface. Change-Id: Idaa4311dfd027b2d2b8ea5e2c6cba2da5779d753
* | surfaceflinger: Make all sources depend on Android.mkJesse Hall2014-07-141-0/+1
|/ | | | | | | | This forces all SurfaceFlinger sources to be recompiled when the Makefile changes; that's overkill sometimes but makes sure everything gets recompiled when compile options (or similar) changes. Change-Id: I2b3c3090fc1c35078e13c77fbb1a78d447c39158
* Improve memory coherence management in screenshot code [DO NOT MERGE]Jesse Hall2014-07-142-20/+58
| | | | | | | | | | | The existing code worked in practice, but wasn't quite correct in theory and relied on implementation details of other code. It's still somewhat unusual and subtle, but now is correct-in-theory (I believe) and a little better documented. Bug: 16044767 Change-Id: I22b01d6640f0b7beca7cbfc74981795a3218b064 (cherry picked from commit c61576794e75898a829eac52fc524c8e907b4b02)
* Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]Jesse Hall2014-07-143-6/+9
| | | | | | | | This is necessary to use C11/C++11 stdlib atomics, which the next change will do. This change also fixes a couple bits of syntax that both GCC and Clang refuse to compile in -std=c++11 mode. Change-Id: Ia14d9d6b537a3bb106c23e19a277e48be180754c
* Remove unnecessary code and APIs.Sreeram Ramachandran2014-07-113-106/+0
| | | | | | This stuff has been replaced by setNetworkForUser() in NetdClient. Change-Id: If525ee259b74314191d1913f7c2a3e828e05c38f
* Merge "BufferQueue: Add allocateBuffers method"Dan Stoza2014-06-274-0/+15
|\
| * BufferQueue: Add allocateBuffers methodDan Stoza2014-06-204-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds an allocateBuffers method to BufferQueue, which instructs it to allocate up to the maximum number of buffers allowed by the current configuration. The goal is that this method can be called ahead of render time, which will prevent dequeueBuffers from blocking in allocation and inducing jank. This interface is also plumbed up to the native Surface (and, in another change, up to the Java Surface and ThreadedRenderer). Bug: 11792166 Change-Id: I4aa96b4351ea1c95ed5db228ca3ef98303229c74
* | GLConsumer: Stop using default constructor paramsDan Stoza2014-06-241-1/+1
| | | | | | | | | | | | | | | | Removes the dependency on default constructor parameters for GLConsumer so that a different constructor prototype can safely be added. Change-Id: I0da924bbd4c141edbf305598c1be8bc575654680
* | Use openssl's SHA1 instead of bionic's.Dan Albert2014-06-202-7/+11
| | | | | | | | | | | | Bionic is removing its SHA1. Change-Id: I7d15986ebac9e0f0eb7ff93457780bd90a4f1d4f
* | Merge "SurfaceFlinger: send VSYNC power hints to IPowerManager"Ruchi Kandoi2014-06-205-34/+63
|\ \
| * | SurfaceFlinger: send VSYNC power hints to IPowerManagerRuchi Kandoi2014-06-185-34/+63
| |/ | | | | | | | | | | | | | | VSYNC power hints are now sent via binder to IPowerManager. SurfaceFlinger no longer loads a second copy of the PowerHAL. VSYNC power hints are sent in batches and not on per frame basis. Change-Id: Ia5a839ab3c857cffae7089f810b4315d4ed23fcf
* | Merge "SurfaceFlinger: Fix rect out-of-bounds checks"Dan Stoza2014-06-171-4/+4
|\ \ | |/ |/|
| * SurfaceFlinger: Fix rect out-of-bounds checksDan Stoza2014-06-111-4/+4
| | | | | | | | | | | | | | | | Rects' right and bottom edges are treated as exclusive, so when checking against maximum width and height, we should use > instead of >=. Change-Id: Ifcdf6813c13fcab1a55f16c21064e765e93d49f0
* | Add two new display info fieldsAndy McFadden2014-06-171-2/+18
| | | | | | | | | | | | | | | | | | This adds SurfaceFlinger's app VSYNC offset and buffer deadline values to DisplayInfo. Bug 14612039 Change-Id: Ie0ab21d388fe2764f2b6f71bd1cefa33dc861a73
* | Merge "Surface reportingMode for Sensors."Aravind Akella2014-06-121-17/+24
|\ \
| * | Surface reportingMode for Sensors.Aravind Akella2014-06-121-17/+24
| |/ | | | | | | Change-Id: Iac8dd3408c90eb7d285a2e8043131fab3a7e58fa
* | Merge "surfaceflinger: Replace blank/unblank with setPowerMode"Prashant Malani2014-06-126-119/+78
|\ \
| * | surfaceflinger: Replace blank/unblank with setPowerModePrashant Malani2014-06-056-119/+78
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We replace the blank/unblank calls in surfaceFlinger with a more generic setPowerMode() routine. Some displays support different power modes (for example, with reduced color palettes). Depending on the use case we should be able to toggle these modes, so as to achieve incremental power savings. Initially, three power modes will be supported: - HWC_POWER_MODE_OFF - HWC_POWER_MODE_DOZE - HWC_POWER_MODE_NORMAL HWC_POWER_MODE_OFF will correspond to blanking the display, while HWC_POWER_MODE_NORMAL will correspond to unblanking. HWC_POWER_MODE_DOZE will put the display into a low power setting, if it is supported in hardware. If such a low power mode is not supported, it should be treated as a call to set the mode to HWC_POWER_MODE_NORMAL. As a consequence of adding the mPowerMode field, the mScreenAcquired is no longer required, and thus references to it are removed and replaced equivalent references to mPowerMode. We also add the glue code to connect the services invocation of setting a power mode and the HAL implementation in HWComposer. Bug: 13472578 Change-Id: I431595ecf16d2f2c94259272db3dd42f29636204 Signed-off-by: Prashant Malani <pmalani@google.com>
* | am 20914f0a: am a4e345e1: Merge "sensorservice: 64-bit compile issues"Mark Salyzyn2014-06-122-17/+20
|\ \ | | | | | | | | | | | | * commit '20914f0ad3691d977f61f1d4b92b49535e8f6f33': sensorservice: 64-bit compile issues
| * \ am a4e345e1: Merge "sensorservice: 64-bit compile issues"Mark Salyzyn2014-06-122-17/+20
| |\ \ | | | | | | | | | | | | | | | | * commit 'a4e345e169fd9101011e358abdfb9308bc065bdb': sensorservice: 64-bit compile issues
| | * | sensorservice: 64-bit compile issuesMark Salyzyn2014-06-102-17/+20
| | | | | | | | | | | | | | | | Change-Id: Ied7b779f39e71d041791729f7355b052b63903c5
* | | | Merge "inputflinger: 64-bit compile issues"Mark Salyzyn2014-06-121-24/+25
|\ \ \ \
| * | | | inputflinger: 64-bit compile issuesMark Salyzyn2014-06-101-24/+25
| | |_|/ | |/| | | | | | | | | | Change-Id: I9861f96a8234d5f57b664baead7a465771b63bd5
* | | | am 20071e50: am e3d37a7b: Enable support RGBX_8888 for omap3Wengang Wu2014-06-112-15/+0
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit '20071e5028adb6d7ced81843d33e4d0baa0768ed': Enable support RGBX_8888 for omap3
| * | | am e3d37a7b: Enable support RGBX_8888 for omap3Wengang Wu2014-06-112-15/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'e3d37a7b55f86f5d005dd67f828dcf51fe60c0f6': Enable support RGBX_8888 for omap3
| | * | | Enable support RGBX_8888 for omap3Wengang Wu2014-06-112-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14995811 Change-Id: Iaeb5a5ad0e3bcf215613f24f2570ae0d8267c016
| * | | | am 4ae6a267: am f3e4fda0: Merge "Remove dependencies on runtime_libdvm and ↵Brian Carlstrom2014-05-291-6/+9
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | libdvm.so in general" * commit '4ae6a26719feb21b7fa1cc5f307b591858a30f26': Remove dependencies on runtime_libdvm and libdvm.so in general
| | * | | am f3e4fda0: Merge "Remove dependencies on runtime_libdvm and libdvm.so in ↵Brian Carlstrom2014-05-291-6/+9
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | general" * commit 'f3e4fda09106cb93bddea35a2cc7dbd4b2c281e9': Remove dependencies on runtime_libdvm and libdvm.so in general
| | | * | | Remove dependencies on runtime_libdvm and libdvm.so in generalBrian Carlstrom2014-05-291-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14298175 (cherry picked from commit aefe55f0fb9e69be205497ef4fc3432d2f7a2d8b) Change-Id: I05b1a7dd1ef30b3366b52b46bfc7b39cfb3be198