summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams2009-08-0920-131/+620
| | | | object destruction tracking.
* Better ripples and leavesRomain Guy2009-08-096-64/+188
|
* remove unused and confusing commentMathias Agopian2009-08-071-10/+0
|
* Merge changes 20497,20498,20499Android (Google) Code Review2009-08-073-50/+83
|\ | | | | | | | | | | | | * changes: minor code clean-up added EGLUtils::strerror better error handling
| * minor code clean-upMathias Agopian2009-08-071-36/+15
| |
| * added EGLUtils::strerrorMathias Agopian2009-08-071-5/+29
| |
| * better error handlingMathias Agopian2009-08-062-9/+39
| |
* | Merge change 20481Android (Google) Code Review2009-08-076-55/+182
|\ \ | | | | | | | | | | | | * changes: Add refraction and bettr normals computation to FallRS
| * | Add refraction and bettr normals computation to FallRSRomain Guy2009-08-076-55/+182
| | |
* | | AudioService now differentiates BT headsets and car kits.Eric Laurent2009-08-072-4/+4
| | | | | | | | | | | | | | | The BT headset detection now makes the difference between car kits and headsets, which can be used by audio policy manager. The headset connection is also detected earlier, that is when the headset is connected and not when the SCO socket is connected as it was the case before. This allows the audio policy manager to suspend A2DP output while ringing if a SCO headset is connected.
* | | Fix problem in AudioFlinger closeOutput and closeInput.Eric Laurent2009-08-071-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | There was no garanty that the corresponding thread destructor had been already called when exiting the closeOutput() or closeInput() functions. This contructor could be called by the thread after the exit condition is signalled. By way of consequence, closeOutputStream() could be called after we exited closeOutput() function. To solve the problem, the call to closeOutputStream() or closeInputStream() is moved to closeOutput() or closeInput().
* | | Improved unit test code for Audioflinger.Eric Laurent2009-08-074-37/+183
| | |
* | | Fix lockup in audio flinger threadbase setParameters.Eric Laurent2009-08-072-24/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | The function checkForNewParameters_l() is called with the ThreadBase mutex mLock locked. In the case where the parameter change implies an audio parameter modification (e.g. sampling rate) the function sendConfigEvent() is called which tries to lock mLock creating a deadlock. The fix consists in creating a function equivalent to sendConfigEvent() that must be called with mLock locked and does not lock mLock. Also added the possibility to have more than one set parameter request pending.
* | | Merge change 9660Android (Google) Code Review2009-08-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | * changes: Fix problem in A2DP interface closeOutputStream().
| * | | Fix problem in A2DP interface closeOutputStream().Eric Laurent2009-08-041-1/+1
| | | | | | | | | | | | | | | | If the output stream handler passed was not the A2DP output stream, the request was ignored instead of being forwarded downstream to hardware interface.
* | | | Merge change 9653Android (Google) Code Review2009-08-073-4/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Fix getParameters() default implementation.
| * | | | Fix getParameters() default implementation.Eric Laurent2009-08-043-4/+16
| |/ / / | | | | | | | | | | | | Do not return empty string but key value pairs with empty values.
* | | | Fix issue 2001214: AudioFlinger and AudioPolicyService interfaces should not ↵Eric Laurent2009-08-075-150/+161
| |/ / |/| | | | | | | | | | | | | | | | | use pointers as handles to inputs and outputs. Use integers instead of void* as input/output handles at IAudioFlinger and IAudioPolicyService interfaces. AudioFlinger maintains an always increasing count of opened inputs or outputs as unique ID.
* | | Merge change 20400Android (Google) Code Review2009-08-066-40/+384
|\ \ \ | |_|/ |/| | | | | | | | * changes: Add lighting to animated water ripples.
| * | Add lighting to animated water ripples.Romain Guy2009-08-066-40/+384
| | |
* | | Merge change 20365Android (Google) Code Review2009-08-061-2/+3
|\ \ \ | | | | | | | | | | | | | | | | * changes: oops, EGLConfig of value zero may be valid
| * | | oops, EGLConfig of value zero may be validMathias Agopian2009-08-061-2/+3
| | | |
* | | | Merge changes 20345,20346,20347Android (Google) Code Review2009-08-065-26/+118
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * changes: update most gl tests to use EGLUtils added two EGL helpers for selecting a config matching a certain pixelformat or native window type added NATIVE_WINDOW_FORMAT attribute to android_native_window_t
| * | | added two EGL helpers for selecting a config matching a certain pixelformat ↵Mathias Agopian2009-08-063-26/+112
| | | | | | | | | | | | | | | | or native window type
| * | | added NATIVE_WINDOW_FORMAT attribute to android_native_window_tMathias Agopian2009-08-062-0/+6
| | | |
* | | | EventHub: pass the name of each input device up to JavaIliyan Malchev2009-08-061-11/+8
| |/ / |/| | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | Use arrays in Grass RSRomain Guy2009-08-063-47/+31
| | |
* | | Merge change 20217Android (Google) Code Review2009-08-055-16/+67
|\ \ \ | | | | | | | | | | | | | | | | * changes: Draw untextured water mesh
| * | | Draw untextured water meshRomain Guy2009-08-055-16/+67
| |/ /
* | | Merge change 20207Android (Google) Code Review2009-08-053-14/+3
|\ \ \ | |/ / |/| | | | | | | | * changes: Implement basic snapping.
| * | Implement basic snapping.Jason Sams2009-08-053-14/+3
| | |
* | | Merge change 20124Android (Google) Code Review2009-08-0517-98/+117
|\ \ \ | |/ / | | | | | | | | | * changes: Remove useless slot from ProgramVertex. Optimize GL state setup.
| * | Remove useless slot from ProgramVertex. Optimize GL state setup.Jason Sams2009-08-0517-98/+117
| | |
* | | Merge change 20133Android (Google) Code Review2009-08-051-0/+3
|\ \ \ | | | | | | | | | | | | | | | | * changes: don't crash when SurfaceBuffer::writeToParcel is given a null argument
| * | | don't crash when SurfaceBuffer::writeToParcel is given a null argumentMathias Agopian2009-08-051-0/+3
| |/ /
* | | Merge change 9649Android (Google) Code Review2009-08-051-19/+71
|\ \ \ | |/ / |/| | | | | | | | * changes: Finish implementation of multiple pointer support for MotionEvent.
| * | Finish implementation of multiple pointer support for MotionEvent.Dianne Hackborn2009-08-041-19/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The major things going on here: - The MotionEvent API is now extended to included "pointer ID" information, for applications to keep track of individual fingers as they move up and down. PointerLocation has been updated to take advantage of this. - The input system now has logic to generate MotionEvents with the new ID information, synthesizing an identifier as new points are down and trying to keep pointer ids consistent across events by looking at the distance between the last and next set of pointers. - We now support the new multitouch driver protocol, and will use that instead of the old one if it is available. We do NOT use any finger id information coming from the driver, but always synthesize pointer ids in user space. (This is simply because we don't yet have a driver reporting this information from which to base an implementation on.) - Increase maximum number of fingers to 10. This code has only been used with a driver that reports up to 2, so no idea how more will actually work. - Oh and the input system can now detect and report physical DPAD devices.
* | | Fix Fall RS to use the new ProgramVertex APIs.Romain Guy2009-08-041-8/+8
| | |
* | | Seperate ProgramVertex from RenderScript.java and merge ProgramVertexAlloc ↵Jason Sams2009-08-044-40/+40
|/ / | | | | | | into the ProgramVertex class.
* | Add ability to load arrays in RenderScript.Romain Guy2009-08-049-22/+417
| |
* | Seperate Light and Sampler from RenderScript.javaJason Sams2009-08-044-58/+34
| |
* | Split ProgramFragment and ProgramStore from RenderScript.java. Update ↵Jason Sams2009-08-048-144/+146
| | | | | | | | Element and Type to new cached builder for easier app developement.
* | Use the new ScriptC.Builder API.Romain Guy2009-08-041-2/+1
| |
* | Add swaying effect to the grass.Romain Guy2009-08-046-57/+366
| |
* | Split ScriptC from RenderScript.java. Implement state caching in the ↵Jason Sams2009-08-044-37/+43
|/ | | | Builder objects.
* Merge change 9606Android (Google) Code Review2009-08-033-33/+76
|\ | | | | | | | | * changes: Add anti-aliasing to Grass RS.
| * Add anti-aliasing to Grass RS.Romain Guy2009-08-033-33/+76
| |
* | Merge change 9551Android (Google) Code Review2009-08-032-6/+27
|\ \ | | | | | | | | | | | | * changes: Implement the jni bindings for Adapter2D. Fix a refcount bug in the native adapter implementation. Use adapters in Film to border the mipmaps.
| * | Implement the jni bindings for Adapter2D. Fix a refcount bug in the native ↵Jason Sams2009-08-032-6/+27
| | | | | | | | | | | | adapter implementation. Use adapters in Film to border the mipmaps.
* | | free surface buffers before trying to allocate new ones, so we have more ↵Mathias Agopian2009-08-031-0/+1
| |/ |/| | | | | chance of success