Android (Google) Code Review
0f0021d36b
Merge change 9660
...
* changes:
Fix problem in A2DP interface closeOutputStream().
2009-08-07 09:09:10 -07:00
Android (Google) Code Review
79cf293f59
Merge change 9653
...
* changes:
Fix getParameters() default implementation.
2009-08-07 09:08:36 -07:00
Eric Laurent
ddb78e7753
Fix issue 2001214: AudioFlinger and AudioPolicyService interfaces should not 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.
2009-08-07 00:27:19 -07:00
Android (Google) Code Review
4c35e2c59a
Merge change 20400
...
* changes:
Add lighting to animated water ripples.
2009-08-06 22:53:05 -07:00
Romain Guy
b62627ea33
Add lighting to animated water ripples.
2009-08-06 22:52:13 -07:00
Mathias Agopian
6693f23654
better error handling
2009-08-06 20:46:44 -07:00
Android (Google) Code Review
c1879a0933
Merge change 20365
...
* changes:
oops, EGLConfig of value zero may be valid
2009-08-06 17:15:11 -07:00
Mathias Agopian
d7ef08c08d
oops, EGLConfig of value zero may be valid
2009-08-06 17:14:10 -07:00
Android (Google) Code Review
43a6d88e4e
Merge changes 20345,20346,20347
...
* 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
2009-08-06 16:27:47 -07:00
Mathias Agopian
265d9c076a
added two EGL helpers for selecting a config matching a certain pixelformat or native window type
2009-08-06 16:05:39 -07:00
Mathias Agopian
25ec00fd13
added NATIVE_WINDOW_FORMAT attribute to android_native_window_t
2009-08-06 16:04:29 -07:00
Iliyan Malchev
fc2ebc473b
EventHub: pass the name of each input device up to Java
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-08-06 14:52:13 -07:00
Romain Guy
f8e136dcd0
Use arrays in Grass RS
2009-08-06 12:40:41 -07:00
Android (Google) Code Review
71cb821c05
Merge change 20217
...
* changes:
Draw untextured water mesh
2009-08-05 19:27:58 -07:00
Romain Guy
31858c2b84
Draw untextured water mesh
2009-08-05 18:39:37 -07:00
Android (Google) Code Review
5903a91545
Merge change 20207
...
* changes:
Implement basic snapping.
2009-08-05 17:36:07 -07:00
Jason Sams
8c709dcc41
Implement basic snapping.
2009-08-05 17:35:36 -07:00
Android (Google) Code Review
20fefe90bc
Merge change 20124
...
* changes:
Remove useless slot from ProgramVertex. Optimize GL state setup.
2009-08-05 14:00:02 -07:00
Jason Sams
9bee51c42e
Remove useless slot from ProgramVertex. Optimize GL state setup.
2009-08-05 13:57:03 -07:00
Android (Google) Code Review
573963e3a8
Merge change 20133
...
* changes:
don't crash when SurfaceBuffer::writeToParcel is given a null argument
2009-08-05 12:52:51 -07:00
Android (Google) Code Review
b1d39aae13
Merge change 9649
...
* changes:
Finish implementation of multiple pointer support for MotionEvent.
2009-08-05 12:36:11 -07:00
Mathias Agopian
4e0df8ede8
don't crash when SurfaceBuffer::writeToParcel is given a null argument
2009-08-05 12:22:30 -07:00
Dianne Hackborn
0dd7cb4b4e
Finish implementation of multiple pointer support for MotionEvent.
...
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.
2009-08-04 20:53:52 -07:00
Romain Guy
ec070224c4
Fix Fall RS to use the new ProgramVertex APIs.
2009-08-04 20:23:00 -07:00
Jason Sams
110195fe9f
Seperate ProgramVertex from RenderScript.java and merge ProgramVertexAlloc into the ProgramVertex class.
2009-08-04 19:00:00 -07:00
Romain Guy
a2136d6b18
Add ability to load arrays in RenderScript.
2009-08-04 18:50:24 -07:00
Jason Sams
0835d42be9
Seperate Light and Sampler from RenderScript.java
2009-08-04 17:58:23 -07:00
Jason Sams
22534176fb
Split ProgramFragment and ProgramStore from RenderScript.java. Update Element and Type to new cached builder for easier app developement.
2009-08-04 17:05:43 -07:00
Romain Guy
1836ae25f5
Use the new ScriptC.Builder API.
2009-08-04 16:44:11 -07:00
Romain Guy
ecc7ca0372
Add swaying effect to the grass.
2009-08-04 14:41:41 -07:00
Jason Sams
69f0d31e57
Split ScriptC from RenderScript.java. Implement state caching in the Builder objects.
2009-08-04 12:29:40 -07:00
Eric Laurent
351def28f0
Fix problem in A2DP interface closeOutputStream().
...
If the output stream handler passed was not the A2DP output stream, the request was ignored instead of being forwarded downstream to hardware interface.
2009-08-04 07:43:10 -07:00
Eric Laurent
ab19b21f3c
Fix getParameters() default implementation.
...
Do not return empty string but key value pairs with empty values.
2009-08-04 06:17:43 -07:00
Android (Google) Code Review
cd9e8d4907
Merge change 9606
...
* changes:
Add anti-aliasing to Grass RS.
2009-08-03 17:29:51 -07:00
Romain Guy
3a1ea9334f
Add anti-aliasing to Grass RS.
2009-08-03 17:29:05 -07:00
Android (Google) Code Review
9df76c7c2f
Merge change 9551
...
* changes:
Implement the jni bindings for Adapter2D. Fix a refcount bug in the native adapter implementation. Use adapters in Film to border the mipmaps.
2009-08-03 16:23:07 -07:00
Jason Sams
bd1c3ad0cd
Implement the jni bindings for Adapter2D. Fix a refcount bug in the native adapter implementation. Use adapters in Film to border the mipmaps.
2009-08-03 16:03:08 -07:00
Mathias Agopian
cb21c37853
free surface buffers before trying to allocate new ones, so we have more chance of success
2009-08-03 15:08:16 -07:00
Android (Google) Code Review
cf31b1bcbe
Merge change 9397
...
* changes:
Fix Win32 libutils to get a working SDK build.
2009-08-01 01:55:07 -07:00
David 'Digit' Turner
078a275784
Fix Win32 libutils to get a working SDK build.
2009-08-01 10:53:29 +02:00
Romain Guy
fcaa31bf65
Clean up Grass RS
2009-07-31 23:30:07 -07:00
Romain Guy
a32d100b34
Add new utility methods to rsScriptC_Lib, android.util.MathUtil and android.graphics.Color.
...
Fixes RS compilation.
2009-07-31 21:36:18 -07:00
Jason Sams
b8c5a84e7c
Split RenderScript Type and Allocation into seperate classes.
2009-07-31 20:40:47 -07:00
Android (Google) Code Review
11d6728af1
Merge change 9413
...
* changes:
Begin splitting up RenderScript.java into seperate classes. First piece split off Element.
2009-07-31 16:29:11 -07:00
Jason Sams
36e612a488
Begin splitting up RenderScript.java into seperate classes. First piece split off Element.
2009-07-31 16:26:13 -07:00
Android (Google) Code Review
d3d88ddab7
Merge changes 9415,9416
...
* changes:
log opengl-call-with-no-context only once per thread, instead of for each function call
don't crash in Parcel when given a null (and therfore invalid) native_handle_t
2009-07-31 16:25:49 -07:00
Mathias Agopian
f1db4aec65
don't crash in Parcel when given a null (and therfore invalid) native_handle_t
2009-07-31 16:18:16 -07:00
Android (Google) Code Review
b5a57ad943
Merge change 9391
...
* changes:
be more robust when errors occur upon EGL surface creation (ie: don't crash)
2009-07-31 15:12:54 -07:00
Mathias Agopian
abac01052c
be more robust when errors occur upon EGL surface creation (ie: don't crash)
2009-07-31 14:47:00 -07:00
Romain Guy
8839ca5533
Add several math functions to rsScript_Lib.
2009-07-31 11:20:59 -07:00