| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
for async frees
* commit '6426bd62676c743b0b5bdc397bcab5c669c6e51f':
[DO NOT MERGE] GraphicBufferAllocator: stall alloc for async frees
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| | |
* commit 'd4e706208c99ff1716fb0009ec867ff29ff04a7c':
Revert "ConsumerBase: free buffers outside the lock"
|
| |
| |
| |
| | |
This reverts commit b21a4e3b5f7f07ed160ca6e1809313e2a8e2a6a4.
|
|\ \
| |/
| |
| |
| | |
* commit '2d659286b59dc7ff7378fe967f1c425e92155995':
DO NOT MERGE GraphicBufferAllocator: make frees async
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| | |
* commit '3ed2736c10efb2f18062591e308036837d9725a4':
ConsumerBase: free buffers outside the lock
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| | |
* commit '594a8773c1ef5632a8eb2ef61a86c319460d4248':
fix typo that broke all the builds
|
| |
| |
| |
| |
| | |
Bug: 7584338
Change-Id: Ieb8c27a544ac583af9aa1e0376e33a673d2d9673
|
|\ \
| |/
| |
| |
| | |
* commit '1d3612f11cb0a56062059dad4643657750c23aab':
fix an out-of-bounds memory access
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| | |
* commit '434e21bfd6b14f8d99b9bcdb829e7252edd574f3':
Reduce emulator logspam
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The emulator doesn't support systrace, but we should point that out
at most once per process.
Bug 7436352
Change-Id: I06b2c1ea0df6c02c11cd2496423c337f8d7c62a1
|
|\ \
| |/
| |
| |
| | |
* commit '04075569b565c949a6db8b4e8a9f10d281de4d9c':
Revert "Revert "put back the unused virtuals in Vector<>""
|
| |
| |
| |
| |
| |
| | |
This reverts commit 225c66a48cdc3acef21ee380dc134449749d3cb3
Change-Id: If31a04b81052cbc7dd7bf237c07107c33066d03d
|
|\ \
| |/
| |
| |
| |
| |
| | |
jb-mr1-dev
* commit 'ba7dc2db6e93a2407c8c328f2838591b7b760658':
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
|
|\ \
| |/
| |
| |
| | |
* commit '7f79a2bd5c92bc626890dc16ffb8cd2de934e5fb':
BufferQueue: alloc without holding the lock
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* commit '125beceefd44f6abd17ff336bb989e1850965bd8':
Add TEMP_FAILURE_RETRY to ZipUtils
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I275c415f14eeffaf9a58d45f3ea014d766441ec3
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
* commit '3365c56716432d3bfdf41bb82fb08df821f41d0c':
SurfaceFlinger: add animation transactions
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
jb-mr1-dev
* commit '9bdaa60b809b223d14619d1f13afdd38acb1738d':
Add TEMP_FAILURE_RETRY around open and write calls
|
| | |/
| |/|
| | |
| | |
| | | |
Bug: 7330849
Change-Id: I9aef3c3d3a248c3eea7ca060124ad6decaa6b4da
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
into jb-mr1-dev
* commit '45778999c705683ec0fcca3e90c7e9969e081d93':
Fence didn't manager sync_wait error codes properly
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '2a09bb321930e1f782599ec902bca1db58b9af77':
Add blankDisplay/unblankDisplay to SurfaceComposerClient.
|
| |/ /
| | |
| | |
| | |
| | | |
Bug: 7309812
Change-Id: Ia401d642094a46c62f0d26c65da1d11341e203a1
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
a binder thread spins forever"" into jb-mr1-dev
* commit '6d24eef4b6443afa8d361437c0a3a575b69609ae':
Revert "ugly, temporary, workaroung for a problem where a binder thread spins forever"
|
| |\ \
| | | |
| | | |
| | | | |
thread spins forever"" into jb-mr1-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
spins forever"
This reverts commit 0845d0245e09548110cacb0f20e9934753388aab
Change-Id: I395037cb9427cd11f7de6bb78fbdfa917fc6263a
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
thread spins forever" into jb-mr1-dev
* commit 'dba919c5f372872179cd14f8b5beeb4c22fe23c1':
ugly, temporary, workaroung for a problem where a binder thread spins forever
|
| |\ \ \
| | |/ /
| | | |
| | | | |
forever" into jb-mr1-dev
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 7289992
Change-Id: I0c3d482a1af57e5f444be2ba7f2751ac3e954af2
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '9504eb915c9628e130f45019bdefda0168089886':
Fix race condition in ConsumerBase::addReleaseFence()
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '0e8fcc2c27f278478483ebbe1befe1460e8bbed1':
Fix missing parens in CleanSpec.mk.
|
| | |
| | |
| | |
| | | |
Change-Id: I0440a942d3e685d619ec9cc402d3293cb3f52df1
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '3fbbd076ad571810d9107ed870cfce2e8c062d10':
Fix broken CleanSpec.mk in libs/gui
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'a573945df7d21cfb73aa9cdba41561105e2ffb01':
libgui: enable fence support for exynos5
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Iffc48412b8c951116a956a3ac7dab8d75eed13da
Bug: 7238122
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '3fd12e41afcf323fdb99a4cf6bef0f904d72cc8b':
libgui: fix up compile options
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'ba607d53c6a94ea8c4c12571980c4ad159af308b':
Add Fence::waitForever which logs a warning timeout, and use it
|
| | |
| | |
| | |
| | |
| | | |
Bug: 7217641
Change-Id: If0c1a613ead307c4045a47824174bf40c72bc7d7
|