- 11 Dec, 2012 1 commit
-
-
Jamie Gennis authored
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
-
- 07 Dec, 2012 3 commits
-
-
Jamie Gennis authored
This reverts commit b21a4e3b.
-
Jamie Gennis authored
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
-
Jamie Gennis authored
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
-
- 28 Nov, 2012 1 commit
-
-
Mathias Agopian authored
-
- 27 Nov, 2012 1 commit
-
-
Andy McFadden authored
-
- 26 Nov, 2012 1 commit
-
-
Jamie Gennis authored
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
-
- 22 Nov, 2012 1 commit
-
-
Mathias Agopian authored
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
-
- 20 Nov, 2012 2 commits
-
-
Siva Velusamy authored
(cherry picked from commit 6482fa4d) Change-Id: I205aabcab1932025c12e7ba3d1b3cf94684f6758
-
Mathias Agopian authored
Bug: 7584338 Change-Id: Ieb8c27a544ac583af9aa1e0376e33a673d2d9673
-
- 19 Nov, 2012 1 commit
-
-
Mathias Agopian authored
This workaround a HWC HAL issue in Nexus 7, which causes videos and live wallpapers to animate slowly. Bug: 7563862 Change-Id: I16ad85317e3e7f47f005e7397357c14186b0a13d
-
- 16 Nov, 2012 1 commit
-
-
Mathias Agopian authored
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
-
- 14 Nov, 2012 1 commit
-
-
Mathias Agopian authored
Honor the documentation. this broke in JB-MR1. Change-Id: I841a93b409fc940374bc748c4e143d82a192669c
-
- 09 Nov, 2012 1 commit
-
-
Andy McFadden authored
The emulator doesn't support systrace, but we should point that out at most once per process. Bug 7436352 Change-Id: I06b2c1ea0df6c02c11cd2496423c337f8d7c62a1
-
- 07 Nov, 2012 2 commits
-
-
Dmitry Shmidt authored
Bug: 7301178 Change-Id: Ifad3b981ac904d4637d69dfc223d5bb2c9d80bda Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
Dmitry Shmidt authored
Bug: 7494877 Change-Id: I4d24dbcf7596777ec02ab1312c2ab996ba7688f1 Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
- 06 Nov, 2012 3 commits
-
-
The Android Open Source Project authored
Change-Id: I219247f1b0f5d87b4144dc1535039e93fc636a94
-
The Android Automerger authored
-
Mathias Agopian authored
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
-
- 30 Oct, 2012 1 commit
-
-
The Android Automerger authored
-
- 29 Oct, 2012 1 commit
-
-
Colin Cross authored
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
-
- 26 Oct, 2012 1 commit
-
-
Mathias Agopian authored
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
-
- 25 Oct, 2012 3 commits
-
-
The Android Automerger authored
-
Mathias Agopian authored
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
-
Dave Burke authored
This reverts commit 225c66a4 Change-Id: If31a04b81052cbc7dd7bf237c07107c33066d03d
-
- 22 Oct, 2012 5 commits
-
-
The Android Automerger authored
-
Mathias Agopian authored
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
-
Jamie Gennis authored
-
Jamie Gennis authored
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
-
Jesse Hall authored
The screenshot is a GL_RGB texture, and the GL_REPLACE texture env mode uses vertex alpha for GL_RGB textures instead of alpha=1.0. Bug: 7340077 Change-Id: I6fbb907023e48f9c422b15a33da79757d6726840
-
- 21 Oct, 2012 1 commit
-
-
The Android Automerger authored
-
- 19 Oct, 2012 3 commits
-
-
Andy McFadden authored
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
-
The Android Automerger authored
-
Romain Guy authored
-
- 18 Oct, 2012 2 commits
-
-
Romain Guy authored
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
-
The Android Automerger authored
-
- 17 Oct, 2012 4 commits
-
-
The Android Automerger authored
-
Jamie Gennis authored
This change changes the animation transaction timeout from 500us to 5s. Bug: 7362633 Change-Id: I9bed8e74f726dae2daa398afc29babcea00d5b04
-
Jamie Gennis authored
-
The Android Automerger authored
-