summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* am 6426bd62: am f53f9c6d: [DO NOT MERGE] GraphicBufferAllocator: stall alloc ↵Jamie Gennis2012-12-101-52/+108
|\ | | | | | | | | | | | | for async frees * commit '6426bd62676c743b0b5bdc397bcab5c669c6e51f': [DO NOT MERGE] GraphicBufferAllocator: stall alloc for async frees
| * [DO NOT MERGE] GraphicBufferAllocator: stall alloc for async freesJamie Gennis2012-12-101-52/+108
| | | | | | | | | | | | | | | | | | 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
* | am d4e70620: am 72c3f7d8: Revert "ConsumerBase: free buffers outside the lock"Jamie Gennis2012-12-071-24/+10
|\ \ | |/ | | | | | | * commit 'd4e706208c99ff1716fb0009ec867ff29ff04a7c': Revert "ConsumerBase: free buffers outside the lock"
| * Revert "ConsumerBase: free buffers outside the lock"Jamie Gennis2012-12-071-24/+10
| | | | | | | | This reverts commit b21a4e3b5f7f07ed160ca6e1809313e2a8e2a6a4.
* | am 2d659286: am 2e59d2c3: DO NOT MERGE GraphicBufferAllocator: make frees asyncJamie Gennis2012-12-071-11/+55
|\ \ | |/ | | | | | | * commit '2d659286b59dc7ff7378fe967f1c425e92155995': DO NOT MERGE GraphicBufferAllocator: make frees async
| * DO NOT MERGE GraphicBufferAllocator: make frees asyncJamie Gennis2012-12-071-11/+55
| | | | | | | | | | | | | | | | | | 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
* | am 3ed2736c: am b21a4e3b: ConsumerBase: free buffers outside the lockJamie Gennis2012-12-061-10/+24
|\ \ | |/ | | | | | | * commit '3ed2736c10efb2f18062591e308036837d9725a4': ConsumerBase: free buffers outside the lock
| * ConsumerBase: free buffers outside the lockJamie Gennis2012-12-061-10/+24
| | | | | | | | | | | | | | | | | | 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
* | am 594a8773: am 764c197c: fix typo that broke all the buildsMathias Agopian2012-11-201-6/+3
|\ \ | |/ | | | | | | * commit '594a8773c1ef5632a8eb2ef61a86c319460d4248': fix typo that broke all the builds
| * fix typo that broke all the buildsMathias Agopian2012-11-191-6/+3
| | | | | | | | | | Bug: 7584338 Change-Id: Ieb8c27a544ac583af9aa1e0376e33a673d2d9673
* | am 1d3612f1: am 2a8c49eb: fix an out-of-bounds memory accessMathias Agopian2012-11-191-4/+6
|\ \ | |/ | | | | | | * commit '1d3612f11cb0a56062059dad4643657750c23aab': fix an out-of-bounds memory access
| * fix an out-of-bounds memory accessMathias Agopian2012-11-151-4/+6
| | | | | | | | | | | | | | | | 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
* | am 434e21bf: am 3fdeb48e: Reduce emulator logspamAndy McFadden2012-11-091-2/+2
|\ \ | |/ | | | | | | * commit '434e21bfd6b14f8d99b9bcdb829e7252edd574f3': Reduce emulator logspam
| * Reduce emulator logspamAndy McFadden2012-11-081-2/+2
| | | | | | | | | | | | | | | | | | The emulator doesn't support systrace, but we should point that out at most once per process. Bug 7436352 Change-Id: I06b2c1ea0df6c02c11cd2496423c337f8d7c62a1
* | am 04075569: Revert "Revert "put back the unused virtuals in Vector<>""Dave Burke2012-10-251-0/+19
|\ \ | |/ | | | | | | * commit '04075569b565c949a6db8b4e8a9f10d281de4d9c': Revert "Revert "put back the unused virtuals in Vector<>""
| * Revert "Revert "put back the unused virtuals in Vector<>""Dave Burke2012-10-251-0/+19
| | | | | | | | | | | | This reverts commit 225c66a48cdc3acef21ee380dc134449749d3cb3 Change-Id: If31a04b81052cbc7dd7bf237c07107c33066d03d
* | am ba7dc2db: Merge "SurfaceFlinger: add support for secure displays" into ↵Jamie Gennis2012-10-222-21/+11
|\ \ | |/ | | | | | | | | | | jb-mr1-dev * commit 'ba7dc2db6e93a2407c8c328f2838591b7b760658': SurfaceFlinger: add support for secure displays
| * SurfaceFlinger: add support for secure displaysJamie Gennis2012-10-222-21/+11
| | | | | | | | | | | | | | | | | | 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
* | am 7f79a2bd: Merge "BufferQueue: alloc without holding the lock" into jb-mr1-devJamie Gennis2012-10-171-11/+25
|\ \ | |/ | | | | | | * commit '7f79a2bd5c92bc626890dc16ffb8cd2de934e5fb': BufferQueue: alloc without holding the lock
| * Merge "BufferQueue: alloc without holding the lock" into jb-mr1-devJamie Gennis2012-10-171-11/+25
| |\
| | * BufferQueue: alloc without holding the lockJamie Gennis2012-10-111-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes BufferQueue::dequeueBuffer release its mutex before allocating new buffers. This should alleviate lock contention in SurfaceFlinger where SF's main thread can get blocked waiting for an allocation operation to complete. Bug: 7335075 Change-Id: I1b000539cc616a695afab2e9c68507db69e57b13
* | | am 125becee: am 7abbbc68: Merge "Add TEMP_FAILURE_RETRY to ZipUtils"Kenny Root2012-10-162-27/+7
|\ \ \ | | | | | | | | | | | | | | | | * commit '125beceefd44f6abd17ff336bb989e1850965bd8': Add TEMP_FAILURE_RETRY to ZipUtils
| * | | Add TEMP_FAILURE_RETRY to ZipUtilsKenny Root2012-10-162-27/+7
| | | | | | | | | | | | | | | | Change-Id: I275c415f14eeffaf9a58d45f3ea014d766441ec3
* | | | am 3365c567: Merge "SurfaceFlinger: add animation transactions" into jb-mr1-devJamie Gennis2012-10-151-1/+22
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit '3365c56716432d3bfdf41bb82fb08df821f41d0c': SurfaceFlinger: add animation transactions
| * | | SurfaceFlinger: add animation transactionsJamie Gennis2012-10-151-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a transaction flag for WindowManager to indicate that a transaction is being used to animate windows around the screen. SurfaceFlinger will not allow more than one of these transactions to be outstanding at a time to prevent the animation "frames" from being dropped. Bug: 7353840 Change-Id: I6488a6e0e1ed13d27356d2203c9dc766dc6b1759
* | | | am 9bdaa60b: Merge "Add TEMP_FAILURE_RETRY around open and write calls" into ↵Kenny Root2012-10-121-5/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | jb-mr1-dev * commit '9bdaa60b809b223d14619d1f13afdd38acb1738d': Add TEMP_FAILURE_RETRY around open and write calls
| * | | Add TEMP_FAILURE_RETRY around open and write callsKenny Root2012-10-121-5/+8
| | |/ | |/| | | | | | | | | | Bug: 7330849 Change-Id: I9aef3c3d3a248c3eea7ca060124ad6decaa6b4da
* | | am 45778999: Merge "Fence didn\'t manager sync_wait error codes properly" ↵Mathias Agopian2012-10-091-5/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | into jb-mr1-dev * commit '45778999c705683ec0fcca3e90c7e9969e081d93': Fence didn't manager sync_wait error codes properly
| * | Merge "Fence didn't manager sync_wait error codes properly" into jb-mr1-devMathias Agopian2012-10-091-5/+6
| |\ \
| | * | Fence didn't manager sync_wait error codes properlyMathias Agopian2012-10-091-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | error codes are returned in errno, this caused ::waitForwever() to only wait for 1 second and return improper error code (-1). needed to help debugging 7316632 Bug: 7316632 Change-Id: Ie144f614a88393393972a3a770c6b4b0581f961a
* | | | am 2a09bb32: Add blankDisplay/unblankDisplay to SurfaceComposerClient.Jeff Brown2012-10-091-0/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '2a09bb321930e1f782599ec902bca1db58b9af77': Add blankDisplay/unblankDisplay to SurfaceComposerClient.
| * | | Add blankDisplay/unblankDisplay to SurfaceComposerClient.Jeff Brown2012-10-081-0/+8
| |/ / | | | | | | | | | | | | Bug: 7309812 Change-Id: Ia401d642094a46c62f0d26c65da1d11341e203a1
* | | am 6d24eef4: Merge "Revert "ugly, temporary, workaroung for a problem where ↵Dave Burke2012-10-071-12/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | a binder thread spins forever"" into jb-mr1-dev * commit '6d24eef4b6443afa8d361437c0a3a575b69609ae': Revert "ugly, temporary, workaroung for a problem where a binder thread spins forever"
| * | Merge "Revert "ugly, temporary, workaroung for a problem where a binder ↵Dave Burke2012-10-071-12/+0
| |\ \ | | | | | | | | | | | | thread spins forever"" into jb-mr1-dev
| | * | Revert "ugly, temporary, workaroung for a problem where a binder thread ↵Dave Burke2012-10-061-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spins forever" This reverts commit 0845d0245e09548110cacb0f20e9934753388aab Change-Id: I395037cb9427cd11f7de6bb78fbdfa917fc6263a
* | | | am dba919c5: Merge "ugly, temporary, workaroung for a problem where a binder ↵Dave Burke2012-10-051-0/+12
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | thread spins forever" into jb-mr1-dev * commit 'dba919c5f372872179cd14f8b5beeb4c22fe23c1': ugly, temporary, workaroung for a problem where a binder thread spins forever
| * | | Merge "ugly, temporary, workaroung for a problem where a binder thread spins ↵Dave Burke2012-10-051-0/+12
| |\ \ \ | | |/ / | | | | | | | | forever" into jb-mr1-dev
| | * | ugly, temporary, workaroung for a problem where a binder thread spins foreverMathias Agopian2012-10-051-0/+12
| | | | | | | | | | | | | | | | | | | | Bug: 7289992 Change-Id: I0c3d482a1af57e5f444be2ba7f2751ac3e954af2
* | | | am 9504eb91: Fix race condition in ConsumerBase::addReleaseFence()Jesse Hall2012-10-053-3/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '9504eb915c9628e130f45019bdefda0168089886': Fix race condition in ConsumerBase::addReleaseFence()
| * | | Fix race condition in ConsumerBase::addReleaseFence()Jesse Hall2012-10-053-3/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This needs the ConsumerBase mutex locked, but wasn't locking it. Two of the four places that called it already held the lock so were fine. Now addReleaseFence() takes the lock itself, and I added addReleaseFenceLocked() for the two already-locked callers, since in one of them dropping the lock would be inconvenient. Bug: 7289269 Change-Id: I7a5628adb516f8eec782aa6c14128202f96d7b0a
* | | am 0e8fcc2c: Merge "Fix missing parens in CleanSpec.mk." into jb-mr1-devStephen Hines2012-10-041-0/+1
|\ \ \ | |/ / | | | | | | | | | * commit '0e8fcc2c27f278478483ebbe1befe1460e8bbed1': Fix missing parens in CleanSpec.mk.
| * | Fix missing parens in CleanSpec.mk.Stephen Hines2012-10-041-0/+1
| | | | | | | | | | | | Change-Id: I0440a942d3e685d619ec9cc402d3293cb3f52df1
* | | am 3fbbd076: Fix broken CleanSpec.mk in libs/guiRaph Levien2012-10-041-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit '3fbbd076ad571810d9107ed870cfce2e8c062d10': Fix broken CleanSpec.mk in libs/gui
| * | Fix broken CleanSpec.mk in libs/guiRaph Levien2012-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CleanSpec is missing parens, which causes $P to be interpreted as a single variable, and the following printed to the log: Clean step: rm -rf RODUCT_OUT/obj/SHARED_LIBRARIES/libgui_intermediates This patch adds parens as needed. Change-Id: I587998fa67a4884418c286360a577cdbb6ea9a21
* | | am a573945d: libgui: enable fence support for exynos5Jamie Gennis2012-10-032-1/+3
|\ \ \ | |/ / | | | | | | | | | * commit 'a573945df7d21cfb73aa9cdba41561105e2ffb01': libgui: enable fence support for exynos5
| * | libgui: enable fence support for exynos5Jamie Gennis2012-10-032-1/+3
| | | | | | | | | | | | | | | Change-Id: Iffc48412b8c951116a956a3ac7dab8d75eed13da Bug: 7238122
* | | am 3fd12e41: libgui: fix up compile optionsJamie Gennis2012-10-034-51/+12
|\ \ \ | |/ / | | | | | | | | | * commit '3fd12e41afcf323fdb99a4cf6bef0f904d72cc8b': libgui: fix up compile options
| * | libgui: fix up compile optionsJamie Gennis2012-10-034-51/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds debug info to SurfaceFlinger's dumpsys to indicate that the USE_WAIT_SYNC compile option was enabled, and it removes the ALLOW_DEQUEUE_CURRENT_BUFFER option. Bug: 7238122 Change-Id: I70e08e34c2ef58aa6d2f88229e781a119f84b5a9
* | | am ba607d53: Add Fence::waitForever which logs a warning timeout, and use itJesse Hall2012-10-025-8/+26
|\ \ \ | |/ / | | | | | | | | | * commit 'ba607d53c6a94ea8c4c12571980c4ad159af308b': Add Fence::waitForever which logs a warning timeout, and use it
| * | Add Fence::waitForever which logs a warning timeout, and use itJesse Hall2012-10-025-8/+26
| | | | | | | | | | | | | | | Bug: 7217641 Change-Id: If0c1a613ead307c4045a47824174bf40c72bc7d7