1030 Commits

Author SHA1 Message Date
Mathias Agopian
5469a4ac1c fixed [2260070] display stopped updating
always check that the visible region isn't empty after all visible regions are recomputed
clear he freeze-lock if it is.
2009-11-30 11:15:41 -08:00
Jason Sams
7efde12a03 Fix film 2009-11-25 15:14:50 -08:00
Jason Sams
bb51c40d89 Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 can be enabled and will render most tests correctly. 2009-11-25 13:22:07 -08:00
Eric Laurent
3fdee335fe am 3f6ee1a1: am 1565d2ef: Merge change I4ad9ec48 into eclair-mr2
Merge commit '3f6ee1a180268ca2e30723ce2c45b81c2e671abb'

* commit '3f6ee1a180268ca2e30723ce2c45b81c2e671abb':
  Fix A2dpAudioInterface getParameters.
2009-11-25 11:17:03 -08:00
Eric Laurent
4ad9ec488c Fix A2dpAudioInterface getParameters.
A2dpAudioInterface::getParameters() was prepending a ';' to the key value pair returned from underlying AudioHardwareInterface.
2009-11-25 06:08:44 -08:00
Mathias Agopian
02395a2788 am 40f92fe9: am 1e22cffa: am 63851404: Merge change Ibf0c320a into eclair
Merge commit '40f92fe967f36d524d173b7819dc875af2cd9971'

* commit '40f92fe967f36d524d173b7819dc875af2cd9971':
  When using MDP, we needed to use a texture for diming.
2009-11-24 15:02:25 -08:00
Android (Google) Code Review
6385140481 Merge change Ibf0c320a into eclair
* changes:
  When using MDP, we needed to use a texture for diming.
2009-11-24 14:26:28 -08:00
Jason Sams
0a2e7a3963 am e4df64bd: am 66358e24: am 9dab667e: Force a crash under conditions where white square bug in all apps is likely to occur.
Merge commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2'

* commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2':
  Force a crash under conditions where white square bug in all apps is likely to occur.
2009-11-24 12:57:57 -08:00
Jason Sams
9dab667e03 Force a crash under conditions where white square bug in all apps is likely to occur. 2009-11-24 12:26:35 -08:00
Mathias Agopian
bf0c320afb When using MDP, we needed to use a texture for diming. 2009-11-23 22:41:36 -08:00
Jason Sams
79e2646504 am 9f96a37a: am 6a2500a3: am 39dbb099: Merge change I36176536 into eclair
Merge commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0'

* commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0':
  Fix ref counting bug that could cause memory leak in allApps.
2009-11-23 16:29:46 -08:00
Jason Sams
361765361a Fix ref counting bug that could cause memory leak in allApps. 2009-11-23 15:28:55 -08:00
Eric Laurent
0b74d40ac1 am 86526461: am 949c572a: am e7800946: Merge change I49f02be9 into eclair
Merge commit '8652646105a6ace559280b579ee8935541ada6c1'

* commit '8652646105a6ace559280b579ee8935541ada6c1':
  Issue 2265163: Audio still reported routed through earpiece on sholes
2009-11-21 00:29:36 -08:00
Android (Google) Code Review
e7800946a4 Merge change I49f02be9 into eclair
* changes:
  Issue 2265163: Audio still reported routed through earpiece on sholes
2009-11-21 00:18:24 -08:00
Dianne Hackborn
5973cbc163 am e71db657: am f2900600: am 1824ec8c: Merge change If2b0bbed into eclair
Merge commit 'e71db6579c2afe06fe95dd88217a667d18fe4e20'

* commit 'e71db6579c2afe06fe95dd88217a667d18fe4e20':
  Debugging for issue #2228381 android.view.InflateException
2009-11-20 15:31:17 -08:00
Dianne Hackborn
b8d8167955 Debugging for issue #2228381 android.view.InflateException
Binary XML file line #37: Error inflating class <unknown> after adding a secondary account

Now that I have these debug logs, I want to keep them since they will make
debugging these kinds of issues a lot easier in the future.  (Note in this
case there was no problem in the framework.)

Change-Id: If2b0bbeda4706b7c5dc1ba4a5db04b74f40e1543
2009-11-20 14:26:42 -08:00
Eric Laurent
49f02be9d7 Issue 2265163: Audio still reported routed through earpiece on sholes
This is a second attempt to fix the audio routed to earpiece syndrom.
The root cause identified this time is the crash of an application having an active AudioTrack playing on the VOICE_CALL stream type.
When this happens, the AudioTrack destructor is not called and the audio policy manager is not notified of the track stop.
Results a situation where the VOICE_CALL stream is considered as always in use by audio policy manager which makes that audio is routed to earpiece.

The fix consists in moving the track start/stop/close notification to audio policiy manager from AudioTrack to AudioFlinger Track objet.
The net result is that in the case of a client application crash, the AudioFlinger TrackHandle object (which implements the remote side of the IAudioTrack binder interface) destructor is called which in turn destroys the Track object and we can notify the audio policy manager of the track stop and removal.

The same modification is made for AudioRecord although no bug related to record has been reported yet.
Also fixed a potential problem if record stop is called while the record thread is exiting.
2009-11-19 23:57:45 -08:00
Mathias Agopian
5e04bbc761 am 9aaf01b9: am 793810f6: am 23aa34a7: Merge change I137dac6f into eclair
Merge commit '9aaf01b9d03e931c9d37858562ea47dbaf44a3be'

* commit '9aaf01b9d03e931c9d37858562ea47dbaf44a3be':
  backout a workaround that is not needed anymore
2009-11-19 17:45:20 -08:00
Mathias Agopian
0fd4a3007c am ce18c968: am fc64165e: am 74a331b5: Merge change I4c29c948 into eclair
Merge commit 'ce18c9680e3c151dcd4df5cdaa9fa352ad134691'

* commit 'ce18c9680e3c151dcd4df5cdaa9fa352ad134691':
  fix [2269022] The raw picture displayed post shutter seems to have low-resolution
2009-11-19 17:44:33 -08:00
Jason Sams
857d2b1565 am 93f409b5: am d581b1a8: am ddac83a5: Fix extended logging for object dumping.
Merge commit '93f409b5f7992767594107b7f468143e4a89a8c1'

* commit '93f409b5f7992767594107b7f468143e4a89a8c1':
  Fix extended logging for object dumping.
2009-11-19 17:43:24 -08:00
Mathias Agopian
137dac6f10 backout a workaround that is not needed anymore
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.
2009-11-19 15:52:28 -08:00
Android (Google) Code Review
74a331b5dd Merge change I4c29c948 into eclair
* changes:
  fix [2269022] The raw picture displayed post shutter seems to have low-resolution
2009-11-19 15:44:13 -08:00
Mathias Agopian
4c29c9487e fix [2269022] The raw picture displayed post shutter seems to have low-resolution
Make sure to always enable linear filtering in LayerBuffer. This change doesn't affect
devices using overlays.
2009-11-19 14:46:26 -08:00
Jason Sams
ddac83a516 Fix extended logging for object dumping. 2009-11-19 13:08:17 -08:00
Android (Google) Code Review
f5fac58f50 Merge change Id10824da
* changes:
  Fix film init
2009-11-17 18:53:07 -08:00
Jason Sams
d10824dadc Fix film init 2009-11-17 18:51:58 -08:00
Android (Google) Code Review
9390931b6e Merge change I948415fd
* changes:
  Delete the old rollo sample which is obsolete.
2009-11-17 18:51:25 -08:00
Jason Sams
948415fdd9 Delete the old rollo sample which is obsolete. 2009-11-17 18:50:09 -08:00
Jason Sams
644a0e320d resolved conflicts for merge of f6309041 to master 2009-11-17 18:07:54 -08:00
Jason Sams
715333b832 Add support for dumping RS objects to aid in debugging of white blocks bug. 2009-11-17 17:26:46 -08:00
Mathias Agopian
277c2de969 am af3e233f: am fc36afcb: am f998c4a2: Merge change I1c0bebbc into eclair
Merge commit 'af3e233fe3222990440433d5f90a6a310d0170e3'

* commit 'af3e233fe3222990440433d5f90a6a310d0170e3':
  fix [2262591] Junk on screen in ERD46
2009-11-17 07:33:19 -08:00
Jason Sams
41301259fb am 234e509a: am 22186a2c: am ec8178eb: Merge change I9c1bad53 into eclair
Merge commit '234e509a67eb32606f3051d21eb3ea25b272d80d'

* commit '234e509a67eb32606f3051d21eb3ea25b272d80d':
  Add setPriority to allow wallpapers to run at lower cpu priority than default.
2009-11-17 07:31:07 -08:00
Android (Google) Code Review
f998c4a289 Merge change I1c0bebbc into eclair
* changes:
  fix [2262591] Junk on screen in ERD46
2009-11-16 15:05:16 -08:00
Mathias Agopian
1c0bebbc95 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().
2009-11-16 14:55:36 -08:00
Jason Sams
7d787b4722 Add setPriority to allow wallpapers to run at lower cpu priority than default. 2009-11-15 12:14:26 -08:00
Mathias Agopian
f248242318 am 6df012ad: am cc96ede2: am 20aec2dd: Merge change I830df4b1 into eclair
Merge commit '6df012ad2639918f3256340ceb9c07bccfa04cdf'

* commit '6df012ad2639918f3256340ceb9c07bccfa04cdf':
  addresses several bugs: 2206097, 2166583, 2261119, 2216759
2009-11-14 01:13:05 -08:00
Mathias Agopian
830df4b169 addresses several bugs: 2206097, 2166583, 2261119, 2216759
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.
2009-11-13 18:54:14 -08:00
Mathias Agopian
ed63ce412f am 70a37eac: am 35ede78e: am 91e40e78: Merge change I18e02606 into eclair
Merge commit '70a37eac62e887d16c4964b805a612d41254ca7f'

* commit '70a37eac62e887d16c4964b805a612d41254ca7f':
  fix some aspects of [2258746] native crash in launcher2
2009-11-13 17:41:49 -08:00
Mathias Agopian
18e026066a fix some aspects of [2258746] native crash in launcher2
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.
2009-11-13 15:26:29 -08:00
Eric Laurent
4f2ef8c857 am 99e03a3f: am 6efdbcc3: am fddfb9ae: Merge change Iad79689a into eclair
Merge commit '99e03a3f94ff8bbd68599e7f43517dbc25421fe9'

* commit '99e03a3f94ff8bbd68599e7f43517dbc25421fe9':
  Improvements for issue 2197683:	English IME key-press latency is noticeably higher on passion than sholes
2009-11-13 10:53:15 -08:00
Rebecca Schultz Zavin
16536c27d4 am bd328d01: am 9b942117: am 5f8f1487: Merge change Ia0a40883 into eclair
Merge commit 'bd328d0113ae29bd351d39faedc6c4e7957db4ad'

* commit 'bd328d0113ae29bd351d39faedc6c4e7957db4ad':
  Modify the binder to request 1M - 2 pages instead of 1M.  The backing store
2009-11-13 10:52:47 -08:00
Jason Sams
d7bc5e9891 am 8dcb4233: am 4834887e: am 4dd6fee7: Merge change Ieb4b0318 into eclair
Merge commit '8dcb4233fcb043f82774768d3e5bee86d867b852'

* commit '8dcb4233fcb043f82774768d3e5bee86d867b852':
  Make default vertex program correctly track surface size.
2009-11-13 10:51:39 -08:00
Jason Sams
bc4d75bc64 am adf38939: am da8bb292: am 59175ac2: Merge change I81b1421a into eclair
Merge commit 'adf38939836ee1d1f5967fc45d02e07117f44009'

* commit 'adf38939836ee1d1f5967fc45d02e07117f44009':
  Defer EGL init until the surface changed call comes in.  Pass w,h along with surface for verification of driver state.
2009-11-13 10:50:49 -08:00
Android (Google) Code Review
fddfb9ae03 Merge change Iad79689a into eclair
* changes:
  Improvements for issue 2197683:	English IME key-press latency is noticeably higher on passion than sholes
2009-11-12 22:53:28 -08:00
Android (Google) Code Review
5f8f1487be Merge change Ia0a40883 into eclair
* 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.
2009-11-12 21:29:13 -08:00
Rebecca Schultz Zavin
a0a40883d0 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.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-11-12 16:31:12 -08:00
Jason Sams
eb4b031804 Make default vertex program correctly track surface size. 2009-11-12 16:09:45 -08:00
Jason Sams
3bc47d4381 Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state. 2009-11-12 15:10:47 -08:00
Romain Guy
b597e6b60c am 440110fb: am 897a744b: am b602c328: Merge change I31c52bef into eclair
Merge commit '440110fbfe00fa8f16087b33f0f3057e0ca057a9'

* commit '440110fbfe00fa8f16087b33f0f3057e0ca057a9':
  Revert change incorrectly submitted as part of change #32153.
2009-11-12 13:51:24 -08:00
Mathias Agopian
46b3f2fa40 am 2c694f03: am daafd544: am dffa96f7: Merge change I90daccf3 into eclair
Merge commit '2c694f032c1bea7003098336b32861e7b97aa9c7'

* commit '2c694f032c1bea7003098336b32861e7b97aa9c7':
  fix [2143798] Need to figure out how to do video on Passion w/ GPU
2009-11-12 13:51:11 -08:00