| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
* changes:
fix [2269022] The raw picture displayed post shutter seems to have low-resolution
|
| |
| |
| |
| |
| |
| |
| | |
low-resolution
Make sure to always enable linear filtering in LayerBuffer. This change doesn't affect
devices using overlays.
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
* changes:
fix [2262591] Junk on screen in ERD46
|
| |
| |
| |
| |
| |
| |
| |
| | |
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().
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
* changes:
Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
* 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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | | |
|
|/ /
| |
| |
| | |
surface for verification of driver state.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Revert change incorrectly submitted as part of change #32153.
|
| | |
| | |
| | |
| | | |
Change-Id: I31c52beff03c0d038a257fc151eff3b8da60eddc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
figure it out.
Bug #2211070.
Change-Id: I5975651fd12399fb8dfe283dfdfaa17569738c7b
|
| |
| |
| |
| |
| |
| | |
tracks in AudioMixer.
This problem was encountered as a side effect of issue 2245298.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
More log for issue 2242381.
|
| | |
| | |
| | |
| | | |
Added more log in system dump for AudioFlinger and AudioPolicyService to help debug issue 2242381 and other issues where the audio driver hangs.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/ |
|
|\
| |
| |
| |
| | |
* changes:
Prevent crash in Home when using widgets whose ids collide with Home's resources.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
resources.
Bug #2228943.
Approved by mcleron, triaged by ryanpc.
Change-Id: Idf40f3b09502ae5d0d3b9a6a72c265a2de2ffca2
|
|/ |
|
|
|
|
| |
in the foreground cgroup.
|
| |
|
|\
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
Move freeing of objects to before context teardown to allow allocations to clean up their data.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Add a warning when we leave threads in the binder thread pool in the background scheduling group.
|
| | |
| | |
| | |
| | | |
background scheduling group.
|
|/ /
| |
| |
| |
| | |
Implemented AudioPolicyService dump().
Added detailed dump for AudioPolicyManageriGeneric when AudioPolicyService is dumped.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts when playing back video
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia7beb800f5a24beaa4b7f3032b486d4ed1991b23
Signed-off-by: Dima Zavin <dima@android.com>
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* changes:
Fix a build break. Too many branches to keep track of.
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
* changes:
libbinder: add a NO_CACHING flag to MemoryHeapBase
|
| | |
| | |
| | |
| | |
| | |
| | | |
The NO_CACHING flag translates to opening a memory region with O_SYNC.
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
| |/
|/|
| |
| | |
tracking some much more minor issues.
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
* changes:
fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp
|
| |
| |
| |
| |
| | |
crash was due to an unintialized variable, which caused the wrong bluring
format to be used and caused a memory overrrun.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
fix[2222341] Soft reset while going back from camcorder settings
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* changes:
return proper error code from eglCreateImageKHR
|
| |/ |
|