Merge commit '440110fbfe00fa8f16087b33f0f3057e0ca057a9'
* commit '440110fbfe00fa8f16087b33f0f3057e0ca057a9':
Revert change incorrectly submitted as part of change #32153.
Merge commit '2c694f032c1bea7003098336b32861e7b97aa9c7'
* commit '2c694f032c1bea7003098336b32861e7b97aa9c7':
fix [2143798] Need to figure out how to do video on Passion w/ GPU
Merge commit 'e614f9382799826ca11960eb8ffacb677e2a2b1b'
* commit 'e614f9382799826ca11960eb8ffacb677e2a2b1b':
Don't feed the timezone to RenderScript time functions, let the library figure it out.
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.
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 commit 'c6aaa09b7075f00e2cff543b50bc84bbdd133d7b'
* commit 'c6aaa09b7075f00e2cff543b50bc84bbdd133d7b':
AudioFlinger: delete Track object when createTrack() fails due to lack of tracks in AudioMixer.
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
Merge commit 'b25cb21f59da53f138bc516a6047f55a2c412764'
* commit 'b25cb21f59da53f138bc516a6047f55a2c412764':
Prevent crash in Home when using widgets whose ids collide with Home's
Merge commit '4909b554782c1970bce11fb421b0a06664a25718'
* commit '4909b554782c1970bce11fb421b0a06664a25718':
Fix texture upload bug for narrow texture of less than 32bpp.
Merge commit '3e1000b706f92d229e473ae31f76643d82d5cdb9'
* commit '3e1000b706f92d229e473ae31f76643d82d5cdb9':
When a thread is about to be put back onto the thread pool ensure that it is in the foreground cgroup.
Merge commit 'eb7e27e8007d1b27d3e01c376b6747dc885db517'
* commit 'eb7e27e8007d1b27d3e01c376b6747dc885db517':
Support applications changing the surface attached to the RS.
Merge commit '03fa848afd16ee678e2d04ec824794893f199804'
* commit '03fa848afd16ee678e2d04ec824794893f199804':
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.
* 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.
Merge commit '11335d98fd28c6c10967055afb1862e6e44e8e80'
* commit '11335d98fd28c6c10967055afb1862e6e44e8e80':
Add a warning when we leave threads in the binder thread pool in the background scheduling group.
Merge commit 'd1d744cdf4b08c8ef969790bae305c82ae783f4e'
* commit 'd1d744cdf4b08c8ef969790bae305c82ae783f4e':
fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts 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.
Merge commit '8559ca18de9cdd60bd8979e641c4fd1a8e66b62e'
* commit '8559ca18de9cdd60bd8979e641c4fd1a8e66b62e':
libbinder: MemoryHeapPmem: honor the NO_CACHING flag when creating a client heap
Merge commit '15ec511b5c5cdb901bf1bd0e26ff0514635fc681'
* commit '15ec511b5c5cdb901bf1bd0e26ff0514635fc681':
Fix a build break. Too many branches to keep track of.
Merge commit '8ba42ba83b206929c4c13c0b8ef24de87a92f42c'
* commit '8ba42ba83b206929c4c13c0b8ef24de87a92f42c':
libbinder: add a NO_CACHING flag to MemoryHeapBase
Merge commit '766df995e30caa054cc25068e55f160c765590eb'
* commit '766df995e30caa054cc25068e55f160c765590eb':
Fix some leaks. This fixes the major malloc memory leak in allApps. Still tracking some much more minor issues.
Merge commit '80164966d087388ac0192caf7270158dea22444e'
* commit '80164966d087388ac0192caf7270158dea22444e':
Fix issue 197683: English IME key-press latency is noticeably higher on 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.