summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fixing FBO font rendering bug that resulted from using old surface size."Alex Sakhartchouk2011-11-176-6/+44
|\
| * Fixing FBO font rendering bug that resulted from using old surface size.Alex Sakhartchouk2011-11-166-6/+44
| | | | | | | | Change-Id: I31d0967bb36ca6ffb6a4c8194597d3c523cfe954
* | am abdade71: am 69c17a11: Merge "Revert "enable ALLOW_DEQUEUE_CURRENT_BUFFER ↵Mathias Agopian2011-11-172-11/+3
|\ \ | | | | | | | | | | | | | | | | | | for tegra devices"" into ics-mr1 * commit 'abdade71bc17153696fe2abe281c5a3b0c2e5abe': Revert "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices"
| * \ Merge "Revert "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices"" into ↵Mathias Agopian2011-11-162-11/+3
| |\ \ | | | | | | | | | | | | ics-mr1
| | * | Revert "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices"Mathias Agopian2011-11-162-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e7758be6da85728df6b4215f413660c67c5a9740. Seemed to cause failures un SurfaceTexture. Bug: 5627450
* | | | am 7765fc65: am fd6b64f6: Merge "SurfaceTexture: Fix to return the oldest of ↵Jamie Gennis2011-11-171-5/+17
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | free buffers to Client on Dequeue call" into ics-mr1 * commit '7765fc651a9519dd2f0ac9d3374a50e9865c5c99': SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call
| * | | Merge "SurfaceTexture: Fix to return the oldest of free buffers to Client on ↵Jamie Gennis2011-11-161-5/+17
| |\ \ \ | | |/ / | |/| | | | | | Dequeue call" into ics-mr1
| | * | SurfaceTexture: Fix to return the oldest of free buffers to Client on ↵Sunita Nadampalli2011-11-151-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dequeue call Surface Texture dequeue logic is modified to return the oldest of the free buffers to Client on dequeue call. Currently dequeue method is returning the first buffer index which is free. The parsing is done in ascending order of the buffer slot indices. This leads to returning the buffer which has been just queued to composer, and hence display, and this defeats the purpose of having minimum dequeue count as 2 in asynchrnouse mode. This is fixed by checking all the free slots and returning the oldest buffer. Change-Id: Ibbac10593c3994c278c601af0480b171635ecdd4 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
* | | | Merge "Expand RS vector3 types to vector4."Alex Sakhartchouk2011-11-167-12/+143
|\ \ \ \
| * | | | Expand RS vector3 types to vector4.Alex Sakhartchouk2011-11-157-12/+143
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG=5609007 The underlying LLVM implementation for vector3 types does this implicitly. If RS does not adjust its implementation, we will always be misaligned for any subsequent data after a vector3 type. We previously inserted padding into the reflected layers from llvm-rs-cc (hence the skip padding part of this change). We can safely ignore the padding now that the Java/native code is updated to use the expanded size. The compiler will also need modification to ensure that we don't mistakenly skip over any end-of-struct padding. Fixing the 3 component vector padding problem. Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
* | | | am 4c0e0dd2: am 3e7497b4: Merge "Eliminate hw.keyboards system properties." ↵Jeff Brown2011-11-152-55/+0
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | into ics-mr1 * commit '4c0e0dd29dcce33e7521b11d01d21d9431f3b264': Eliminate hw.keyboards system properties.
| * | | Merge "Eliminate hw.keyboards system properties." into ics-mr1Jeff Brown2011-11-152-55/+0
| |\ \ \
| | * | | Eliminate hw.keyboards system properties.Jeff Brown2011-11-152-55/+0
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop using system properties to publish information about the key character map path. Instead, we can retrieve it on demand by asking the window manager. It was possible to exhaust the supply of system properties when repeatedly adding and removing input devices. Bug: 5532806 Change-Id: Idd361a24ad7db2edc185c8546db7fb05f9c28669
* | | | am 556a406c: am 3aa684ec: Merge "enable ALLOW_DEQUEUE_CURRENT_BUFFER for ↵Mathias Agopian2011-11-152-3/+11
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | tegra devices" into ics-mr1 * commit '556a406cf4dd8a7faa318e0d522d899f8b9da7dc': enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices
| * | | enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devicesMathias Agopian2011-11-142-3/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this flag should be enabled for all targets, but currently some have issues with it, so we're turning it on only for tested targets. this will hopefully resolve some performance issues. Bug: 5553562 Change-Id: I939992b4cd0debea980dec0127c72be2dff33af8
* | | Merge "Clean up GenerationCache."Jeff Brown2011-11-141-2/+2
|\ \ \
| * | | Clean up GenerationCache.Jeff Brown2011-11-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use const references to keys and values where appropriate to avoid copying them unnecessarily. Deleted some dead code. Simplified a few pieces that were doing unnecessary redundant work. Change-Id: Ib2145b7094a40db2d679e05dafe050fe1e87b846
* | | | am 2cfb873c: am 9d66da8a: Merge "Revert "Discard framebuffer rendering ↵Dave Burke2011-11-145-34/+3
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | queues when discarding layers"" into ics-mr1 * commit '2cfb873c9f0b56f2c7d694a21c968511223933af': Revert "Discard framebuffer rendering queues when discarding layers"
| * | | Merge "Revert "Discard framebuffer rendering queues when discarding layers"" ↵Dave Burke2011-11-145-34/+3
| |\ \ \ | | | | | | | | | | | | | | | into ics-mr1
| | * | | Revert "Discard framebuffer rendering queues when discarding layers"Dave Burke2011-11-145-34/+3
| | | | | | | | | | | | | | | | | | | | This reverts commit da96f8ac2c1c35a54f3f36e6d776cb386a251d03.
* | | | | am 738d8cae: am c93a151f: Merge "Define, document, and test the behavior of ↵Mathias Agopian2011-11-141-0/+32
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | very large SurfaceTextures" into ics-mr1 * commit '738d8cae2239d194429676f2889cfae3c8f7ba08': Define, document, and test the behavior of very large SurfaceTextures
| * | | | Merge "Define, document, and test the behavior of very large ↵Mathias Agopian2011-11-141-0/+32
| |\ \ \ \ | | |/ / / | |/| | | | | | | | SurfaceTextures" into ics-mr1
| | * | | Define, document, and test the behavior of very large SurfaceTexturesMathias Agopian2011-11-111-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updateTexImage() now throws a runtime exception when its native counterpart fails Bug: 5506633 Change-Id: I151a6f685d465966e7df4df624412ab2da62e95f
* | | | | am a16ee939: am 28587497: Merge "Discard framebuffer rendering queues when ↵Mathias Agopian2011-11-145-3/+34
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | | | | | | | | | discarding layers Bug #5581817" into ics-mr1 * commit 'a16ee9390e1fcea8ff7cbefd253659c37f2999a3': Discard framebuffer rendering queues when discarding layers Bug #5581817
| * | | Discard framebuffer rendering queues when discarding layersRomain Guy2011-11-105-3/+34
| |/ / | | | | | | | | | | | | | | | Bug #5581817 Change-Id: If612846ec5f7793710fc4df152791fb32c506551
* | | am cb0db030: Merge branch \'ics-mr1-plus-aosp\' of ↵Akwasi Boateng2011-11-112-10/+47
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ssh://android-git:29418/platform/frameworks/base into ics-mr1-plus-aosp * commit 'cb0db0306b5849a35d3d99eea1b34ce019c6f0d8': Make the overridden ImageView#setVisibility remotable Clamp non-monotonic stats instead of dropping. DO NOT MERGE. Fix leak in LayoutTransition Fix lastVisible/global rects Fix Wimax-less build. Fix leak in LayoutTransition Deferring wallpaper update to improve workspace scrolling (issue 5506959) Terminate EGL when an app goes in the background boot animation is dithered and scaled Fix NdefRecord byte-stream constructor. PopupWindow dismiss() can get into a recursive loop. Fold WiMAX state into the mobile RSSI. Remove dedicated wimax icon to fix RSSI layout.
| * | Terminate EGL when an app goes in the backgroundRomain Guy2011-11-102-10/+47
| | | | | | | | | | | | | | | | | | | | | | | | This does not happen on high end gfx devices. This happens only if only one EGL context is initialized in the current process. Change-Id: Ibd1737efdf84eef8a84108b05795440d1ae9964e
* | | Fix setTimeZone() and use it properly in RSTest/rstime.Stephen Hines2011-11-102-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG=5470134 The original implementation for rsi_ScriptSetTimeZone() never actually did anything with the bytes received. This change allows it to safely update the timezone. RSTest is also updated to call setTimeZone(), so that users in different timezones can accurately get test results. Change-Id: I6cb1b3a0c3a417749ba39e0fe09cc9c7ab65c2e7
* | | Fix possible leak in Parcel::writeDupFileDescriptor.Jeff Brown2011-11-071-1/+9
| | | | | | | | | | | | | | | | | | | | | Also, check the result of dup() just in case we got EMFILE or something. Change-Id: I18e627bd84f4c7941813fe1c2bad2cdd9e5afa83
* | | am 88061d6b: am 5462bc63: Fix a leak in Parcel::writeBlob.Jeff Brown2011-11-071-9/+4
|\ \ \ | |/ / | | | | | | | | | * commit '88061d6b38cfb4bf374039846b753a3b21ac61e1': Fix a leak in Parcel::writeBlob.
| * | am 5462bc63: Fix a leak in Parcel::writeBlob.Jeff Brown2011-11-051-9/+4
| |\ \ | | | | | | | | | | | | | | | | * commit '5462bc6318b4b70e7a58c66994e2bd79f59d9739': Fix a leak in Parcel::writeBlob.
| | * | Fix a leak in Parcel::writeBlob.Jeff Brown2011-11-041-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was mistakenly assuming that Parcel::writeFileDescriptor took ownership of the fd that was passed in. It does not! Added some comments and a default parameter to allow the caller to specify whether it wishes the Parcel to take ownership. Bug: 5563374 Change-Id: I5a12f51d582bf246ce90133cce7690bb9bca93f6
* | | | am 2ccc47b8: Merge "Memory optimizations for libhwui Bug #5566149" into ics-mr1Romain Guy2011-11-056-27/+127
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '2ccc47b89868d4f39683e0e2bd057ce95d7d1217': Memory optimizations for libhwui Bug #5566149
| * | | Merge "Memory optimizations for libhwui Bug #5566149" into ics-mr1Romain Guy2011-11-046-27/+127
| |\ \ \
| | * | | Memory optimizations for libhwuiRomain Guy2011-11-046-27/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #5566149 Lazily initialize font renderers Keep 60% of the texture cache when an app goes to the background Delete least used font renderer when going to the background Delete all font renderers on full memory trim Change-Id: I3c2454d46dc1107ec0f0f72a9ce69cbbcc8825e7
* | | | | Merge "Slight change to the unwinder API."Jeff Brown2011-11-041-2/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Slight change to the unwinder API.Jeff Brown2011-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I5424de76a21b74842e004e0281936b3f492d3c7a
* | | | | am c5ce130f: Merge "SurfaceTexture: various logging improvements" into ics-mr1Jamie Gennis2011-11-031-16/+32
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | * commit 'c5ce130f658303299bf55091373951f7fd33ae36': SurfaceTexture: various logging improvements
| * | | | Merge "SurfaceTexture: various logging improvements" into ics-mr1Jamie Gennis2011-11-031-16/+32
| |\ \ \ \
| | * | | | SurfaceTexture: various logging improvementsJamie Gennis2011-11-011-16/+32
| | | |/ / | | |/| | | | | | | | | | | | Change-Id: I1f7216276547a1e9f9343c88c6cc1c24efcdcdbc
* | | | | am 236aea35: Merge changes Ibc99cb1c,Ie1f4f6f8 into ics-mr1Jamie Gennis2011-11-032-4/+302
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | | | | | * commit '236aea3579787961fdd41d87574760b63323c0c1': BlobCache: implement cache serialization BlobCache: remove the mutex locking
| * | | Merge changes Ibc99cb1c,Ie1f4f6f8 into ics-mr1Jamie Gennis2011-11-032-4/+302
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | * changes: BlobCache: implement cache serialization BlobCache: remove the mutex locking
| | * | | BlobCache: implement cache serializationJamie Gennis2011-10-312-2/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds serialization and deserialization functionality to BlobCache, conforming to the Flattenable interface. Change-Id: Ibc99cb1c3d015f363d57d0713eabccec07ff975e
| | * | | BlobCache: remove the mutex lockingJamie Gennis2011-10-311-2/+0
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes the mutex from the BlobCache class. The caller must be responsible for thread synchronization in order to properly implement the Flattenable interface, which is coming soon. Otherwise would be the potential for the cache contents to change between the call to the getFlattenedSize and flatten methods. Because the caller must do this synchronization anyway there's no reason to also some synchronization inside BlobCache. Change-Id: Ie1f4f6f82b78744f46a41ce863cac0cad276a20e
* | | | am af3a854b: am af675222: Merge "Fix potential segfault in RS watchdog." ↵Stephen Hines2011-11-021-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into ics-mr0 * commit 'af3a854b549409c4ad77c686e860f97ea86706a0': Fix potential segfault in RS watchdog.
| * | | am af675222: Merge "Fix potential segfault in RS watchdog." into ics-mr0Stephen Hines2011-11-011-0/+1
| |\ \ \ | | |/ / | |/| / | | |/ | | | * commit 'af675222f6340a8a9edbe9e8635014a18521e5e0': Fix potential segfault in RS watchdog.
| | * Fix potential segfault in RS watchdog.Stephen Hines2011-10-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | BUG=5544671 This initializes the watchdog structure properly. Without this fix, it is possible to call LOGE with a garbage string value. Change-Id: Ie05eb65f83eca938f18ac962794407d58c3f277f
* | | Fix bug #5438102 Double Arabic harakat overlap instead of stack In TextViewFabrice Di Meglio2011-11-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IMPORTANT: this change needs two patches for Harfbuzz: - one concerning hb_utf16_script_run_prev() which was not returning the correct "previous" script - one for the "script_properties" table that was missing Arabic code point ranges and declaring HB_Script_Inherited instead of HB_Script_Arabic The current change is doing the following: - pass the correct typeface for Harbuzz shaping (depending on the script of the run) - offset correctly the glyphIDs returned by Harfbuzz We need to offset the glyphsID as Harfbuzz will return local glyphIDs (meaning in the local range of the font used for shapping). We then cannot use those glyphIDs when we are using a fallback Font (Arabic, Hebrews...) because the FontRenderer needs glyphIDs in the range of all the Fonts (including the fallbacks) Change-Id: I494897435bbc59293b02392ee2059cebcdf0e571
* | | am 66ce1fce: Merge "Removing changes not meant for MR1" into ics-mr1Alex Sakhartchouk2011-10-311-195/+0
|\ \ \ | |/ / | | | | | | | | | * commit '66ce1fce59d2dc16f1905120e0fe3851ba1add90': Removing changes not meant for MR1
| * | Merge "Removing changes not meant for MR1" into ics-mr1Alex Sakhartchouk2011-10-311-195/+0
| |\ \