Mathias Agopian
cc934763c3
turn dithering off if it's not needed
2009-09-23 19:16:27 -07:00
Mathias Agopian
44cac13465
fix [2142193] disable GL_LINEAR when not needed
2009-09-23 18:55:02 -07:00
Android (Google) Code Review
a30071273a
Merge change 26728 into eclair
...
* changes:
Make the renderscript timing logging available by setting debug.rs.profile=1
2009-09-23 20:27:52 -04:00
Joe Onorato
9ac2c66f01
Make the renderscript timing logging available by setting debug.rs.profile=1
2009-09-23 17:26:07 -07:00
Mathias Agopian
2e4b68d57b
fix [2133214] STOPSHIP: revert I4a06bb4f: workaround for [2113743] Sholes: frozen then runtime restart going to list view
...
Revert "workaround for [2113743] Sholes: frozen then runtime restart going to list view"
This reverts commit 4a06bb4f33 .
2009-09-23 16:59:57 -07:00
Mathias Agopian
bc7261130a
fix [2132563] stuck in boot animation (framebuffer_device_open: Failed to create flip chain)
2009-09-23 15:49:32 -07:00
Android (Google) Code Review
5dd7c726f4
Merge change 26667 into eclair
...
* changes:
Add raster object to control point and line params. Add flag to force SW rendering.
2009-09-23 17:00:22 -04:00
Jason Sams
ebfb436a49
Add raster object to control point and line params. Add flag to force SW rendering.
2009-09-23 13:57:02 -07:00
Android (Google) Code Review
bdeccbba6f
Merge change 26623 into eclair
...
* changes:
fbDev wasn't initialized of hw_get_module failed, but was then used anyway.
2009-09-23 15:02:49 -04:00
Marco Nelissen
e613468402
fbDev wasn't initialized of hw_get_module failed, but was then used anyway.
2009-09-23 10:56:51 -07:00
Jason Sams
59038ca98b
Update viewport when height or width change.
2009-09-22 12:26:53 -07:00
Eric Laurent
f69a3f8dc5
Fix issue 2116700: Ringer screwy while connected over Bluetooth.
...
There was a regression introduced in AudioFlinger by change 24114 for suspended output:
The suspended output was not reading and mixing audio tracks.
When the phone is ringing, the A2DP output is suspended if the SCO headset and A2DP headset are the same. As the ringtone is played over the duplicated output, the fact that the A2DP output was not reading data was causing the hardware output to be stalled from time to time.
2009-09-22 00:35:48 -07:00
Andy McFadden
fa0a4bde3f
Work around gcc 4.0.3 bug.
...
This appears to fix the sim-eng build on the gDapper build machines.
Basic problem is that LayerBuffer::OverlaySource has a constructor that
calls SurfaceFlinger.signalEvent(). SurfaceFlinger lists LayerBuffer
as a friend, but that's not enough to convince gcc that the embedded
OverlaySource class is also a friend. I don't see a way to make them
friendly, so I marked signalEvent() as public.
2009-09-21 14:33:20 -07:00
Android (Google) Code Review
c6a22beff2
Merge change 26081 into eclair
...
* changes:
workaround for [2113743] Sholes: frozen then runtime restart going to list view
2009-09-20 20:12:30 -04:00
Mathias Agopian
4a06bb4f33
workaround for [2113743] Sholes: frozen then runtime restart going to list view
2009-09-20 17:08:45 -07:00
Dianne Hackborn
6cca1599f7
Fix issue #1862317 : Browser does not appear to honor anchors (#es) in links
...
Also a little improved debugging output of bad resource identifiers.
Change-Id: I054064ef22855608ffd722e4ccf12ce57d1992b2
2009-09-20 12:40:03 -07:00
Jason Sams
d342fd7526
Clean up some debugging and add 2 math lib routines.
2009-09-18 14:24:24 -07:00
Android (Google) Code Review
2925b8c62a
Merge change 25496 into eclair
...
* changes:
Fix issue 2127371: Possible race condition in AudioFlinger::openRecord() when a Track is being destroyed.
2009-09-18 02:55:00 -04:00
Mathias Agopian
ac7f13bc1a
fix [2129080] Soft reboot after clicking around and then rubbing the screen
2009-09-17 19:23:59 -07:00
Mathias Agopian
b1a1874625
Android side of the fix for [2121211] Sholes has stutter during animations
...
a new method, compostionComplete() is added to the framebuffer hal, it is used by surfaceflinger to signal the driver that the composition is complete, BEFORE it releases its client. This gives a chance to the driver to
2009-09-17 16:18:16 -07:00
Eric Laurent
b9481d8cf6
Fix issue 2127371: Possible race condition in AudioFlinger::openRecord() when a Track is being destroyed.
...
The fix consists in locking AudioFlinger::mLock mutex in the TrackBase destructor before clearing the strong pointer to the shared memory client. The mutex is not locked in removeclient() any more which implies that we must make sure that the Client destructor is always called from the TrackBase destructor or that we hold the mLock mutex before calling deleting the Client.
2009-09-17 09:26:04 -07:00
Mathias Agopian
bcef9ac35d
add basic time stats for surfaces lock time
2009-09-17 01:35:28 -07:00
Benny Wong
e38212a22f
Overlay could not set position or rotation immediately after created, it should be triggered by signalEvent().
...
Originally from: https://partner.source.android.com/g/#change,1074
2009-09-16 20:24:21 -07:00
Mathias Agopian
af369f6280
disable backbuffer preservation when possible, which may improve performance a bit
2009-09-16 20:15:42 -07:00
Android (Google) Code Review
75c4d49877
Merge change 25423 into eclair
...
* changes:
fix [2119400] sholes: artifacting when switching orientation
2009-09-16 21:27:54 -04:00
Mathias Agopian
7cf03bace8
fix [2119400] sholes: artifacting when switching orientation
2009-09-16 18:27:24 -07:00
Android (Google) Code Review
9080125f67
Merge change 25393 into eclair
...
* changes:
fix again [2102410 ] Home Screen is not displayed in the background in Landscape Mode
2009-09-16 20:00:57 -04:00
Mathias Agopian
2c68dd0483
fix again [ 2102410] Home Screen is not displayed in the background in Landscape Mode
2009-09-16 17:00:19 -07:00
Android (Google) Code Review
07e62d1de9
Merge change 25185 into eclair
...
* changes:
Implement renderscript Invokables.
2009-09-16 18:06:12 -04:00
Jason Sams
be2e84193f
Implement renderscript Invokables.
2009-09-16 15:04:38 -07:00
Eric Laurent
2bb6b2a11f
Fix issue 2123668: Class scope typo in AudioFlinger.cpp.
2009-09-16 06:02:45 -07:00
Mathias Agopian
8ae0384a78
revert to black video background, since we don't need the color-key anylonger
2009-09-15 19:31:28 -07:00
Mathias Agopian
e611a6ed33
fix [2122448] android_native_window_t::setUsage() only reallocates the first buffer
...
Take 2. We needed to check that the usage flags are "good enough" as opposed to "the same".
This reverts commit 8f17a762fe .
2009-09-15 19:21:31 -07:00
Mathias Agopian
8f17a762fe
Revert "fix [2122448] android_native_window_t::setUsage() only reallocates the first buffer"
...
This reverts commit 486aa963b6 .
2009-09-15 18:57:06 -07:00
Mathias Agopian
486aa963b6
fix [2122448] android_native_window_t::setUsage() only reallocates the first buffer
2009-09-15 17:34:04 -07:00
Android (Google) Code Review
2bccbcc777
Merge change 25050 into eclair
...
* changes:
Fix issue 2118464: cannot play ring tones and notifications after disconnecting BT headset while in call.
2009-09-15 11:29:23 -04:00
Eric Laurent
296a0ec7e1
Fix issue 2118464: cannot play ring tones and notifications after disconnecting BT headset while in call.
...
The problem comes from the fact that when the duplicated output is closed after BT headset disconnection, the OUTPUT_CLOSED notification is not sent to AudioSystem. Then the mapping between notification stream and duplicated output cached in AudioSystem is not cleared and next time a notification is played, the duplicated output is selected and the createTrack() request is refused by AudioFlinger as the selected output doesn't exist.
The notification is ignored by AudioFlinger because when it is sent by the terminating playback thread, the thread has already been removed from the playback thread list.
The fix consists in sending the notification in closeOutput() and not when exiting the playback thread.
The same fix is applied to record threads.
2009-09-15 07:10:12 -07:00
Chih-Chung Chang
244f8c2636
Fix 2083478: Camera needs an auto-focus cancel API
...
Change-Id: I13bda991b32aee47e82b5cf9d43b3021c416a9a2
2009-09-15 18:29:03 +08:00
Android (Google) Code Review
54c06152e0
Merge change 24872 into eclair
...
* changes:
Fix issue 2115450: a2dp thread is started, even though we are only connected to headset and not playing music.
2009-09-15 02:26:19 -04:00
Android (Google) Code Review
151921a624
Merge change 24977 into eclair
...
* changes:
add support for RGBX_8888 surfaces in SurfaceFlinger
2009-09-14 21:11:56 -04:00
Mathias Agopian
64a7c6bf5b
add support for RGBX_8888 surfaces in SurfaceFlinger
2009-09-14 18:10:30 -07:00
Android (Google) Code Review
4503cb75a0
Merge change 24968 into eclair
...
* changes:
Minor perf tweak for fountain.
2009-09-14 20:15:31 -04:00
Mathias Agopian
53973fda84
fix [2117464] SF can crash when calling dumpsys
2009-09-14 15:59:16 -07:00
Mathias Agopian
bd8527110c
make sure to update the tail pointer when undoing a dequeue
2009-09-14 15:48:42 -07:00
Jason Sams
988f6ebb44
Minor perf tweak for fountain.
2009-09-14 15:00:05 -07:00
Eric Laurent
64c0e1a51c
Fix issue 2115450: a2dp thread is started, even though we are only connected to headset and not playing music.
...
This is due to a regression introduced by change 24114: when no audio tracks are ready for mixing, 0s are written to audio hardware. However this should only happen if tracks have already been mixed since the audio flinger thread woke up.
Also do not write 0s to audio hardware in direct output threads when audio format is not linear PCM.
2009-09-14 02:37:15 -07:00
Android (Google) Code Review
91e2d8651f
Merge change 24337 into eclair
...
* changes:
Fix issue 2107584: media server crash when AudioFlinger fails to allocate memory for track control block.
2009-09-14 02:43:52 -04:00
Mathias Agopian
3e63f9173a
fix [2111536] [FAST BLOCKER] Device is soft rebooted after ending the call through voice dialer
2009-09-11 19:18:20 -07:00
Mathias Agopian
248b5bd51e
fix [2112575] stuck on DequeueCondition for a surface that doesn't exist anymore
...
this also fixes part of [2111536] Device is soft rebooted after ending the call through voice dialer
2009-09-10 19:41:18 -07:00
Mathias Agopian
436c627ca4
make sure conditions will return when the status of a surface is not NO_ERROR
2009-09-10 16:55:13 -07:00