Jason Sams
f4d160653f
Improved RS timing code to monitor where we spend CPU time.
2009-08-19 12:17:14 -07:00
Romain Guy
484d57f435
Move the sky
2009-08-19 12:10:03 -07:00
Romain Guy
8a947bd696
Tweak the water and its texture
2009-08-18 18:38:38 -07:00
Android (Google) Code Review
6c8dd9841f
Merge change 21831 into eclair
...
* changes:
Add reflections to the water
2009-08-18 17:22:02 -07:00
Romain Guy
15b2969818
Add reflections to the water
2009-08-18 17:21:07 -07:00
Jason Sams
730ee65d4d
Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.
2009-08-18 17:07:09 -07:00
Jason Sams
7ce033d797
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
2009-08-18 14:20:07 -07:00
Romain Guy
cac80a6e13
Tweak the galaxy
2009-08-18 11:39:17 -07:00
Android (Google) Code Review
948ee25127
Merge change 21660 into eclair
...
* changes:
Optimized Galaxy
2009-08-17 20:00:32 -07:00
Romain Guy
4f7136c659
Optimized Galaxy
2009-08-17 19:59:27 -07:00
Android (Google) Code Review
9fb956dbdc
Merge change 21653 into eclair
...
* changes:
Remove global IO context and integrate it into the RS context.
2009-08-17 18:40:38 -07:00
Jason Sams
bc948dedce
Remove global IO context and integrate it into the RS context.
2009-08-17 18:35:48 -07:00
Andreas Huber
2f10ae08d4
Support for marshalling pointers / intptr_t in Parcel.
...
Some refactoring to eliminate code duplication in Parcel implementation.
2009-08-17 15:31:25 -07:00
Jason Sams
334ea0c98f
Update fountain and add writable flag to script slots.
2009-08-17 13:56:09 -07:00
Android (Google) Code Review
8af2d22552
Merge change 21471 into eclair
...
* changes:
Add Galaxy wallpaper
2009-08-16 23:24:12 -07:00
Romain Guy
81e4640d18
Add Galaxy wallpaper
2009-08-16 23:22:44 -07:00
Mathias Agopian
321abdb092
make sure to update a surface's usage bits when it changes, instead of only the first time.
...
also fixed a few locking issues in Surface and commented how each member is protected.
2009-08-14 18:52:17 -07:00
Mathias Agopian
c4915de8bb
fix a bug that could cause a window to be hidden in some cases.
...
this would happen is the window is made visible but the client didn't render yet into it. This happens often with SurfaceView.
Instead of filling the window with solid black, SF would simply ignore it which could lead to more disturbing artifacts.
in theory the window manager should not display a window before it has been drawn into, but it does happen occasionnaly.
2009-08-13 19:08:00 -07:00
Mathias Agopian
317a6280cc
Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed.
...
this also ripples into the window manager API by making some constant there deprecated as well.
2009-08-13 18:19:32 -07:00
Android (Google) Code Review
1e16e4018c
Merge change 21152
...
* changes:
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
2009-08-13 14:18:52 -07:00
Jason Sams
fbf0b9ecda
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
2009-08-13 12:59:04 -07:00
Android (Google) Code Review
34453aeefb
Merge change 21059
...
* changes:
make sure EGL_ANDROID_swap_rectangle is actually supported before using it
2009-08-12 21:25:15 -07:00
Mathias Agopian
42fd8050ba
make sure EGL_ANDROID_swap_rectangle is actually supported before using it
2009-08-12 21:24:53 -07:00
Android (Google) Code Review
0b66d3019e
Merge change 21057
...
* changes:
Better error handling in EGL extensions
2009-08-12 21:18:35 -07:00
Mathias Agopian
88e3e6bd04
Better error handling in EGL extensions
2009-08-12 21:18:15 -07:00
Jason Sams
43ee06857b
Implement reflecting Java objects into the ACC enviroment.
2009-08-12 17:54:11 -07:00
Romain Guy
12d6831156
Grass has graduated from an RS experiment to a real live wallpaper.
2009-08-12 15:55:17 -07:00
Dianne Hackborn
90f77218a2
am b8546001: Merge change 20878 into donut
...
Merge commit 'b8546001701405a76dad7e6235046e592296fac2'
* commit 'b8546001701405a76dad7e6235046e592296fac2':
Fix issue #2048263 : More debugging information
2009-08-12 12:36:12 -07:00
Marco Nelissen
3f8f9da85f
Fix the simulator build by removing librs_jni and libRS from it.
...
Since libacc isn't 64-bit clean (it casts pointers to integers),
and so can't be built for the gHardy simulator, everything
that depends on it can't be built for the simulator either, which
means removing libRS and librs_jni.
2009-08-12 09:41:07 -07:00
Eric Laurent
fe4fc91260
Workaround for issue 2046783.
...
Apparently the problem is caused by the fact that A2dpAudioStreamOut::standby() calls a2dp_stop() after the headset has been powered down.
The workaround consists in indicating to A2DP audio hardware that a close request is pending and that stanby() must be bypassed.
2009-08-12 05:49:58 -07:00
Mathias Agopian
2ec8458c5f
second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
2009-08-11 23:44:13 -07:00
Mathias Agopian
5cec4742b3
second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
2009-08-11 23:32:29 -07:00
Fred Quintana
64e89a8aff
Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
...
This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050.
2009-08-11 20:49:35 -07:00
Dianne Hackborn
82e1ee93ee
Fix issue #2048263 : More debugging information
...
We now hopefully do better about generating the anr reports, and include
information about the malloc loaded assets in meminfo.
2009-08-11 18:56:41 -07:00
Mathias Agopian
8b76a0ac6f
SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything.
...
This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored).
Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
2009-08-11 16:12:56 -07:00
Eric Laurent
6c30a71122
Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing.
...
This is because the AudioFlinger duplicating thread is closed while the output tracks are still active. This cause the output tracks objects to be destroyed at a time where they can be in use by the destination output mixer.
The fix consists in adding the OutputTrack to the track list (mTracks) of its destination thread so that a strong reference is help during the mixer processed and the track is detroyed only when safe by destination thread.
Also added detection of problems when creating the output track (e.g. no more tracks in mixer). In this case the output track is not added to output track list of duplicating thread.
2009-08-11 09:43:09 -07:00
Eric Laurent
33bb0c9f2a
Fix issue 2043314: Recorded audio is choppy.
...
Fixed cut/paste error causing constant reset of current frame index in input buffer.
2009-08-11 09:07:44 -07:00
Android (Google) Code Review
c8707a91cd
Merge change 20699
...
* changes:
enable HW acceleration for the Dim Surface on 8k devices
2009-08-10 21:22:00 -07:00
Mathias Agopian
4523b76803
enable HW acceleration for the Dim Surface on 8k devices
2009-08-10 21:13:06 -07:00
Android (Google) Code Review
3afaaf7ade
Merge change 20686
...
* changes:
fix the build
2009-08-10 17:46:27 -07:00
Joe Onorato
ee1e253453
fix the build
2009-08-10 17:46:06 -07:00
Android (Google) Code Review
2e9c859f20
Merge change 20607
...
* changes:
Limit AudioFlinger mixer track sampling rate.
2009-08-10 16:04:29 -07:00
Android (Google) Code Review
1f9ef9a2cc
Merge change 20654
...
* changes:
The build system knows how to deal with lex files, but it treats them as c++, so make spec.lex conform to that.
2009-08-10 15:02:36 -07:00
Joe Onorato
daed524c35
The build system knows how to deal with lex files, but it treats them as c++, so make spec.lex
...
conform to that.
2009-08-10 15:01:51 -07:00
Jason Sams
40a29e8e28
Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
2009-08-10 14:55:26 -07:00
Joe Onorato
01e5fbd721
build libRS
2009-08-10 14:06:01 -07:00
Eric Laurent
6f7e097ee5
Limit AudioFlinger mixer track sampling rate.
...
When changing the audio output stream sampling rate with setParameters() make sure that all tracks have a sampling rate less or equal to 2 times the new output sampling rate.
2009-08-10 08:15:12 -07:00
Android (Google) Code Review
6307f0285e
Merge change 20586
...
* changes:
Let java put #defines into renderscript
2009-08-09 23:01:04 -07:00
Joe Onorato
d7b3774da6
Let java put #defines into renderscript
2009-08-09 22:58:20 -07:00
Romain Guy
a9d2d5ed28
Make the laves follow the ripples
2009-08-09 19:12:27 -07:00