summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* backout a workaround that is not needed anymoreMathias Agopian2009-11-191-1/+0
| | | | | we had to add a call to glFinish() before glReadPixels() because of a bug in the GL ES driver of a certain device. This is not needed anymore.
* Merge change I4c29c948 into eclairAndroid (Google) Code Review2009-11-191-1/+6
|\ | | | | | | | | * changes: fix [2269022] The raw picture displayed post shutter seems to have low-resolution
| * fix [2269022] The raw picture displayed post shutter seems to have ↵Mathias Agopian2009-11-191-1/+6
| | | | | | | | | | | | | | low-resolution Make sure to always enable linear filtering in LayerBuffer. This change doesn't affect devices using overlays.
* | Fix extended logging for object dumping.Jason Sams2009-11-191-12/+6
|/
* Add support for dumping RS objects to aid in debugging of white blocks bug.Jason Sams2009-11-176-0/+42
|
* Merge change I1c0bebbc into eclairAndroid (Google) Code Review2009-11-162-3/+1
|\ | | | | | | | | * changes: fix [2262591] Junk on screen in ERD46
| * fix [2262591] Junk on screen in ERD46Mathias Agopian2009-11-162-3/+1
| | | | | | | | | | | | | | | | since we're using the GPU for composition, don't use a texture for dimming, instead simply use an alpha-blended quad. also workaround what looks like a GL driver bug by calling glFinish() before glReadPixels().
* | Add setPriority to allow wallpapers to run at lower cpu priority than default.Jason Sams2009-11-153-6/+32
|/
* addresses several bugs: 2206097, 2166583, 2261119, 2216759Mathias Agopian2009-11-131-1/+3
| | | | | | | | | | | | | 2206097: Broken suggestions while composing message 2166583: Color artifacts with MDP dithering 2261119: Passion transition animations are rough 2216759: Screen flicker when dropdown list in background window shows or hides This is part of enabling GPU composition instead of using the MDP. This change is dependent on another change in the vendor project. Specifically this change disables the use of EGLImageKHR for s/w buffers for cache coherency reasons. memcpy is used instead.
* fix some aspects of [2258746] native crash in launcher2Mathias Agopian2009-11-131-29/+19
| | | | | | Surface::validate() could sometimes dereference a null pointer before checking it wasn't null. This will prevent the application to crash when given bad parameters or used incorrectly. However, the bug above probably has another cause.
* Merge change Iad79689a into eclairAndroid (Google) Code Review2009-11-122-70/+103
|\ | | | | | | | | * changes: Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes
| * Improvements for issue 2197683: English IME key-press latency is noticeably ↵Eric Laurent2009-11-112-70/+103
| | | | | | | | | | | | | | | | | | higher on passion than sholes This change goes with a kernel driver change that reduces the audio buffer size from 4800 bytes (~27ms) to 3072 bytes (~17ms). - The AudioFlinger modifcations in change 0bca68cfff161abbc992fec82dc7c88079dd1a36 have been removed: the short sleep period was counter productive when the AudioTrack is using the call back thread as it causes to many preemptions. - AudioFlinger mixer thread now detects long standby exit time and in this case anticipates start by writing 0s as soon as a track is enabled even if not ready for mixing. - AudioTrack::start() is modified to start call back thread before starting the IAudioTrack so that thread startup time is masked by IAudioTrack start and mixer thread wakeup time.
* | Merge change Ia0a40883 into eclairAndroid (Google) Code Review2009-11-121-1/+1
|\ \ | | | | | | | | | | | | * changes: Modify the binder to request 1M - 2 pages instead of 1M. The backing store in the kernel requires a guard page, so 1M allocations fragment memory very badly. Subtracting a couple of pages so that they fit in a power of two allows the kernel to make more efficient use of its virtual address space.
| * | Modify the binder to request 1M - 2 pages instead of 1M. The backing storeRebecca Schultz Zavin2009-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | in the kernel requires a guard page, so 1M allocations fragment memory very badly. Subtracting a couple of pages so that they fit in a power of two allows the kernel to make more efficient use of its virtual address space. Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* | | Make default vertex program correctly track surface size.Jason Sams2009-11-124-18/+21
| | |
* | | Defer EGL init until the surface changed call comes in. Pass w,h along with ↵Jason Sams2009-11-127-44/+76
|/ / | | | | | | surface for verification of driver state.
* | Merge change I31c52bef into eclairAndroid (Google) Code Review2009-11-121-2/+0
|\ \ | | | | | | | | | | | | * changes: Revert change incorrectly submitted as part of change #32153.
| * | Revert change incorrectly submitted as part of change #32153.Romain Guy2009-11-051-2/+0
| | | | | | | | | | | | Change-Id: I31c52beff03c0d038a257fc151eff3b8da60eddc
* | | fix [2143798] Need to figure out how to do video on Passion w/ GPUMathias Agopian2009-11-112-9/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This builds on the EGLImage solution. We simply use copybit to convert from the YUV frame into an EGLImage created for that purpose and proceed with the regular EGLImage code. We need to do this because "regular" GL doesn't support YUV textures. We could improve upon this by detecting exacly what the GL supports and bypass this extra step if not required, but we'll do this later if needed.
* | | Don't feed the timezone to RenderScript time functions, let the library ↵Romain Guy2009-11-111-55/+18
| |/ |/| | | | | | | | | | | | | figure it out. Bug #2211070. Change-Id: I5975651fd12399fb8dfe283dfdfaa17569738c7b
* | AudioFlinger: delete Track object when createTrack() fails due to lack of ↵Eric Laurent2009-11-091-1/+1
| | | | | | | | | | | | tracks in AudioMixer. This problem was encountered as a side effect of issue 2245298.
* | Merge change Ifb9d6df3 into eclairAndroid (Google) Code Review2009-11-084-17/+120
|\ \ | | | | | | | | | | | | * changes: More log for issue 2242381.
| * | More log for issue 2242381.Eric Laurent2009-11-074-17/+120
| | | | | | | | | | | | Added more log in system dump for AudioFlinger and AudioPolicyService to help debug issue 2242381 and other issues where the audio driver hangs.
* | | Reset binder service threads' cgroup/priority after command completionChristopher Tate2009-11-081-0/+15
|/ / | | | | | | | | | | | | | | | | To prevent buggy command implementations from poisoning binder threads' scheduling class & priority for future command execution, we now reset the cgroup and thread priority to foreground/normal when a binder service thread finishes executing the designated command. Change-Id: Ibc0ab2485751453f6dc96fdb4eb877fd02796e3f
* | Revert jparks code from IPCThreadState.Evan Millar2009-11-061-5/+0
|/
* Merge change Idf40f3b0 into eclairAndroid (Google) Code Review2009-11-051-0/+2
|\ | | | | | | | | * changes: Prevent crash in Home when using widgets whose ids collide with Home's resources.
| * Prevent crash in Home when using widgets whose ids collide with Home'sRomain Guy2009-11-051-0/+2
| | | | | | | | | | | | | | | | | | | | resources. Bug #2228943. Approved by mcleron, triaged by ryanpc. Change-Id: Idf40f3b09502ae5d0d3b9a6a72c265a2de2ffca2
* | Fix texture upload bug for narrow texture of less than 32bpp.Jason Sams2009-11-051-0/+1
|/
* When a thread is about to be put back onto the thread pool ensure that it is ↵Jason Parks2009-11-041-22/+4
| | | | in the foreground cgroup.
* Support applications changing the surface attached to the RS.Jason Sams2009-11-033-21/+42
|
* Merge change I9d5e03db into eclairAndroid (Google) Code Review2009-11-036-14/+23
|\ | | | | | | | | * changes: Fix RS bugs. We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
| * Fix RS bugs. We were holding a pointer to the script text from the java vm. ↵Jason Sams2009-11-036-14/+23
| | | | | | | | Move freeing of objects to before context teardown to allow allocations to clean up their data.
* | Merge change If2fdad3b into eclairAndroid (Google) Code Review2009-11-031-0/+28
|\ \ | | | | | | | | | | | | * changes: Add a warning when we leave threads in the binder thread pool in the background scheduling group.
| * | Add a warning when we leave threads in the binder thread pool in the ↵Jason Parks2009-11-031-0/+28
| | | | | | | | | | | | background scheduling group.
* | | Log for issue 2203561.Eric Laurent2009-11-034-3/+230
|/ / | | | | | | | | Implemented AudioPolicyService dump(). Added detailed dump for AudioPolicyManageriGeneric when AudioPolicyService is dumped.
* | Merge change I36d0184e into eclairAndroid (Google) Code Review2009-11-022-0/+10
|\ \ | | | | | | | | | | | | * changes: fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts when playing back video
| * | fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts ↵Mathias Agopian2009-11-022-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | when playing back video we lost the concept of vertical stride when moving video playback to EGLImage. Here we bring it back in a somewhat hacky-way that will work only for the softgl/mdp backend.
* | | libbinder: MemoryHeapPmem: honor the NO_CACHING flag when creating a client heapDima Zavin2009-11-021-1/+1
| | | | | | | | | | | | | | | Change-Id: Ia7beb800f5a24beaa4b7f3032b486d4ed1991b23 Signed-off-by: Dima Zavin <dima@android.com>
* | | Merge change Ic4918c30 into eclairAndroid (Google) Code Review2009-11-022-3/+0
|\ \ \ | | |/ | |/| | | | | | | * changes: Fix a build break. Too many branches to keep track of.
| * | Fix a build break. Too many branches to keep track of.Jason Sams2009-11-022-3/+0
| | |
* | | Merge change Ibaef6141 into eclairAndroid (Google) Code Review2009-11-021-1/+5
|\ \ \ | |/ / |/| | | | | | | | * changes: libbinder: add a NO_CACHING flag to MemoryHeapBase
| * | libbinder: add a NO_CACHING flag to MemoryHeapBaseIliyan Malchev2009-10-301-1/+5
| | | | | | | | | | | | | | | | | | The NO_CACHING flag translates to opening a memory region with O_SYNC. Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | Fix some leaks. This fixes the major malloc memory leak in allApps. Still ↵Jason Sams2009-11-025-0/+9
| |/ |/| | | | | tracking some much more minor issues.
* | Fix issue 197683: English IME key-press latency is noticeably higher on ↵Eric Laurent2009-11-021-3/+6
|/ | | | | | | | | | passion than sholes. Part 2. Reduce sleep time in AudioFlinger mixer thread when no data has been written to output to speed up startup time when exiting standby. The rest of the modifications for this issues is in kernel driver: commit 0dbb0ee136ed8de757df1ae26d84556c1751deae for buffer size modification from 8192 to 4800 bytes. Another kernel improvement that is not submitted yes will reduce delay when audio output is exiting standby.
* Merge change Id8b28e4f into eclairAndroid (Google) Code Review2009-10-301-3/+4
|\ | | | | | | | | * changes: fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp
| * fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cppMathias Agopian2009-10-291-3/+4
| | | | | | | | | | crash was due to an unintialized variable, which caused the wrong bluring format to be used and caused a memory overrrun.
* | Merge change I56779290 into eclairAndroid (Google) Code Review2009-10-302-21/+41
|\ \ | | | | | | | | | | | | * changes: fix[2222341] Soft reset while going back from camcorder settings
| * | fix[2222341] Soft reset while going back from camcorder settingsMathias Agopian2009-10-302-21/+41
| | | | | | | | | | | | | | | | | | add a way to convert a mapped "pushbuffer" buffer to a gralloc handle which then can be safely used by surfaceflinger, without including gralloc_priv.h
* | | Merge change If007a2fa into eclairAndroid (Google) Code Review2009-10-301-3/+1
|\ \ \ | |/ / | | | | | | | | | * changes: return proper error code from eglCreateImageKHR
| * | return proper error code from eglCreateImageKHRMathias Agopian2009-10-291-3/+1
| |/