summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | 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 "SurfaceTexture: various logging improvements" into ics-mr1Jamie Gennis2011-11-031-16/+32
|\ \ \
| * | | SurfaceTexture: various logging improvementsJamie Gennis2011-11-011-16/+32
| |/ / | | | | | | | | | Change-Id: I1f7216276547a1e9f9343c88c6cc1c24efcdcdbc
* | | 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 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
* | Merge "Removing changes not meant for MR1" into ics-mr1Alex Sakhartchouk2011-10-311-195/+0
|\ \
| * | Removing changes not meant for MR1Alex Sakhartchouk2011-10-271-195/+0
| | | | | | | | | | | | Change-Id: I75136be33f12a87c2b5f21b064c06065a4145d70
* | | resolved conflicts for merge of 2d280f75 to ics-mr1Jeff Brown2011-10-301-1/+1
|\ \ \ | | |/ | |/| | | | Change-Id: I459e1cb0b60fb94dfb12862fedb9f8d949c226a7
| * | Improve the slow query instrumentation.Jeff Brown2011-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On user-debug and eng builds, you can set the "db.log.slow_query_threshold" system property to queries that take longer than the specified number of milliseconds. Set it to 0 to log all queries. This property has been around for a while but it was implemented poorly. In particular, it *changed* the behavior of the query by calling getCount() while holding the Db connection. In normal operation, the query will not actually run until later. By putting the timing logic into fillWindow() instead, we ensure that we only measure queries that actually ran. We also capture cases where the cursor window gets filled multiple times. Bug: 5520301 Change-Id: I174f5e1ea15831a1d22a36e9a804d7755f230b38
* | | am 28e4f87f: Fix bug where CPU could be stuck spinning Required the ↵Jason Sams2011-10-271-0/+2
|\ \ \ | |/ / | | / | |/ |/| | | | | wallpaper be animating and the system to have run slowly during the last frame when rendering stopped. * commit '28e4f87f38cae799b494e160467d732e988bad89': Fix bug where CPU could be stuck spinning Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped.
| * Fix bug where CPU could be stuck spinningJason Sams2011-10-261-0/+2
| | | | | | | | | | | | | | | | | | | | Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped. bug 5180240 Change-Id: I38c2b6f07a1e36019dd05c77a58973e36d12728c
* | Merge "Make sure 9patches are not filtered when not necessary Bug #5383406"Romain Guy2011-10-201-14/+19
|\ \
| * | Make sure 9patches are not filtered when not necessaryRomain Guy2011-10-201-14/+19
| | | | | | | | | | | | | | | | | | Bug #5383406 Change-Id: I061c8069a4d9f4eaf45671283710b564639eeb32
* | | add -ldl to host executablesIliyan Malchev2011-10-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | This fixes the build on Linux when RefBase is compiled with reference tracking enabled. Change-Id: I3e931e0b463ce836f6fdb30c37068d77144631a3 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | Merge "adding getters to Sampler ProgramRaster, ProgramStore, Element. ↵Jason Sams2011-10-202-5/+10
|\ \ \ | | | | | | | | | | | | Element adds ability to get subelement info. Tests for new stuff."
| * | | adding getters to Sampler ProgramRaster, ProgramStore, Element.Alex Sakhartchouk2011-10-182-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | Element adds ability to get subelement info. Tests for new stuff. Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
* | | | Merge "Remove ObjBaseRef from the hal struct"Jason Sams2011-10-2014-116/+168
|\ \ \ \
| * | | | Remove ObjBaseRef from the hal structAlex Sakhartchouk2011-10-1814-116/+168
| |/ / / | | | | | | | | | | | | Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
* | | | Merge "Fixes and optimizations of two quaternion functions."Jason Sams2011-10-201-41/+37
|\ \ \ \
| * | | | Fixes and optimizations of two quaternion functions.Alex Sakhartchouk2011-10-181-41/+37
| |/ / / | | | | | | | | | | | | Change-Id: Ie5a3f16d49b716d91b6f68fa389473548cecb80d
* | | | Merge "SurfaceTexture: add tests for buffer leaks"Jesse Hall2011-10-201-1/+83
|\ \ \ \
| * | | | SurfaceTexture: add tests for buffer leaksJamie Gennis2011-10-191-1/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds two tests to ensure that eglDestroySurface does not cause Gralloc buffers to be leaked. Bug: 5472838 Change-Id: Id675d74e34b6479f2d68314d40de94aede69f142
* | | | | Merge "Correctly dump DrawPatch operations in display lists"Romain Guy2011-10-191-6/+7
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Correctly dump DrawPatch operations in display listsRomain Guy2011-10-191-6/+7
| |/ / / | | | | | | | | | | | | Change-Id: I8cd1c764ddc184ce45727913fa2a23a3d81b337e
* | | | am 827d069a: Merge "SurfaceTexture: free buffers when disconnect fails" into ↵Jamie Gennis2011-10-191-1/+1
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | ics-mr0 * commit '827d069afb297b6d96c995c03da9d4ee17e60679': SurfaceTexture: free buffers when disconnect fails
| * | SurfaceTexture: free buffers when disconnect failsJamie Gennis2011-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes SurfaceTextureClient free its references to all the buffers even when the disconnect binder call to the SurfaceTexture fails. Bug: 5384823 Change-Id: Iad787fbae5fda4769546fd52276e4e4030c62be6
* | | Merge "Return early when we cannot allocate a hardware layer Bug #5462308"Romain Guy2011-10-171-1/+2
|\ \ \
| * | | Return early when we cannot allocate a hardware layerRomain Guy2011-10-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug #5462308 Change-Id: I52dab809662f6f42a49ca03edc50f6b98fc35a06
* | | | am 9a0732af: Merge "SensorManager reconnects to sensor service when the ↵Mathias Agopian2011-10-171-30/+79
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | later dies" into ics-mr0 * commit '9a0732af1bd96a7d8247dee124a7da389137a52f': SensorManager reconnects to sensor service when the later dies
| * | | Merge "SensorManager reconnects to sensor service when the later dies" into ↵Mathias Agopian2011-10-171-30/+79
| |\ \ \ | | | | | | | | | | | | | | | ics-mr0
| | * | | SensorManager reconnects to sensor service when the later diesMathias Agopian2011-10-161-30/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if system process ever restarted, processes using a SensorManager would loose the ability to use it, resulting to a crash. we now listen for sensor service death and reconnected if necessary. Bug: 5445240 Change-Id: Ia47f8b26cdcecb729fa22bf11d55e10fcaef8cfc
* | | | | am 3a735078: Merge "SurfaceTexture: report binder transaction failures" into ↵Jamie Gennis2011-10-171-23/+56
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | ics-mr0 * commit '3a73507801b56da83140fad14a1a3d4eced213d9': SurfaceTexture: report binder transaction failures
| * | | | Merge "SurfaceTexture: report binder transaction failures" into ics-mr0Jamie Gennis2011-10-171-23/+56
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | SurfaceTexture: report binder transaction failuresJamie Gennis2011-10-141-23/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes the ISurfaceTexture error reporting for the case where the binder transaction fails. Bug: 5082219 Change-Id: I6517532992e3a76dc9eb5e4a36af43a562391aaa
* | | | | am fefffc68: Merge "add logging and defensive code when initializing ↵Mathias Agopian2011-10-171-3/+17
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | sensors" into ics-mr0 * commit 'fefffc685ab703b44f6e32b5ec45292b22d370a3': add logging and defensive code when initializing sensors
| * | | | add logging and defensive code when initializing sensorsMathias Agopian2011-10-161-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5445240 Change-Id: I9dc7d27d3e8b4f15989488859831526d8c7ded3b
* | | | | Merge changes I4e5ff00c,Id5e3ca1d,I97cbba61Jamie Gennis2011-10-172-10/+29
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | * changes: SurfaceFlinger: Remove display freezing code SurfaceFlinger: add some layer update tests SurfaceFlinger: make sync transactions explicit
| * | | | SurfaceFlinger: make sync transactions explicitJamie Gennis2011-10-142-10/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables a layer or orientation update transaction sent to SurfaceFlinger to explicitly request a synchronous transaction. Change-Id: I97cbba610c13679849f66114b216fa6dbf12f2a9
* | | | | Merge "Adding getter functions for script side RS objects. Multiproject ↵Alex Sakhartchouk2011-10-164-39/+252
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | change involving on device linker"
| * | | | | Adding getter functions for script side RS objects.Alex Sakhartchouk2011-10-154-39/+252
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Multiproject change involving on device linker Change-Id: I321e8caa6ca23b3fe2c96c78cdcfc15e51f88823
* | | | | Merge "Deprecate local-only CursorWindows."Jeff Brown2011-10-141-3/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Deprecate local-only CursorWindows.Jeff Brown2011-10-121-3/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no difference and has never really been a difference between local-only and remotable CursorWindows. By removing the distinction officially in the API, we will make it easier to implement CrossProcessCursor correctly. CrossProcessCursor is problematic currently because it's not clear whether a call to getWindow() will return a local-only window or a remotable window. As a result, the bulk cursor adaptor has special case handling for AbstractWindowedCursors vs. ordinary CrossProcessCursors so that it can set a remotable window before the cursor fills it. All these problems go away if we just forget about local-only windows being special in any way. Change-Id: Ie59f517968e33d0ecb239c3c4f60206495e8f376
* | | | am a1e273ae: Merge "Surface: fix a protected buffer test" into ics-mr0Jamie Gennis2011-10-141-25/+2
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit 'a1e273ae590ee08cf27baca7facfce51e598d995': Surface: fix a protected buffer test
| * | | Merge "Surface: fix a protected buffer test" into ics-mr0Jamie Gennis2011-10-141-25/+2
| |\ \ \