Alex Sakhartchouk
aae74ad614
Creating the jni and java layer to integrate a3d
...
Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
2010-06-04 10:06:50 -07:00
Jason Sams
8cb39de03a
Remove RS_KIND from vertex arrays types.
...
Legacy vertex programs now bind by name just like the user programs.
This removes the need for two different ways of declairing the same
information.
Change-Id: I0178c0962842a1bbffb6726984ae1b8f5bb7529c
2010-06-01 15:47:01 -07:00
Jason Sams
d79b2e9f8b
Begin naming cleanup for renderscript runtime.
...
Prefix functions with "rs" or "rsg".
Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
2010-05-19 17:23:08 -07:00
Jason Sams
1de0b87168
Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.
...
Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
2010-05-17 14:55:34 -07:00
Jason Sams
b42315d37a
Delete old createFromClass methods.
...
It no longer makes sense to create type info from Java since this
cannot be exported to scripts. The new flow is in the opposite direction.
Change-Id: I9b46e3f57abf84c01326bd9b9b834f3ff0f7c504
2010-05-14 16:29:20 -07:00
Jason Sams
54db59c359
Rename ProgramFragmentStore to ProgramStore.
...
Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
2010-05-13 18:35:01 -07:00
Jason Sams
4d3399337d
Convert renderscript from using ACC to LLVM for its compiler.
...
This will also require application to be updated to support
the new compiler and data passing models.
Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
2010-05-11 14:03:58 -07:00
Jason Sams
2d71bc7b4c
Update Script java classes and llvm samples.
...
Change-Id: I05c8d63fcca095d4fea6abb1ff5736ab9d78a3e6
2010-03-26 16:08:09 -07:00
Jason Sams
a70f416c9c
Checkin new types for RS.
...
Change-Id: I3d7a1a91c45cc1c97c60f3615f32e54e98e12f91
2010-03-26 15:34:30 -07:00
Romain Guy
a8551b1efa
Fix the build.
...
Change-Id: I0caef1fd522d231d803e0fd9e0b8fdf3272db168
2010-03-10 22:11:50 -08:00
Jason Sams
8a64743f37
Add support for linking to a skia bitmap rather than always copying the data from the bitmap.
2010-03-01 15:31:04 -08:00
Jason Sams
c2908e60c9
Support defered generation of mipmaps. With this change we support mipmap generation when the texture is uploaded to GL without requiring RS to retain the full chain.
2010-02-23 17:44:28 -08:00
Jason Sams
704ff64b09
Preview seperating RenderScript into RenderScript and RenderScriptGL
2010-02-09 16:05:07 -08:00
Jason Sams
42d6c9e1e7
Hide field packer.
2010-02-02 15:45:58 -08:00
Jason Sams
25430d0734
Implement holders for Matrix and Vector data.
2010-02-02 15:26:40 -08:00
Jason Sams
5dbfe93b3f
Fix some minor bugs with GL state setup that were exposed by Droids driver.
2010-01-27 14:41:43 -08:00
Jason Sams
ea87e96959
Implement type generation for user uniforms in vertex shader.
2010-01-12 12:12:28 -08:00
Jason Sams
74e02ef200
Support npot on es 2.0 HW.
2010-01-06 15:10:29 -08:00
Jason Sams
a09a6e145b
More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
2010-01-06 12:01:51 -08:00
Jason Sams
e17964e150
Add RS support for generic attribs as input to vertex programs.
2010-01-04 16:52:27 -08:00
Jason Sams
7d46f612a2
Disable excessive RS logging.
2009-12-23 14:56:19 -08:00
Jason Sams
718cd1f322
Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.
...
This will break some apps, checkings for other projects will follow to unbreak them.
2009-12-23 14:35:29 -08:00
Jason Sams
68afd01ec9
Move texture bindings to base program object. Change ProgramFragment creation to require a texture format in 1.0 mode.
2009-12-17 16:55:08 -08:00
Jason Sams
8bb41dd614
Add argument checking to sampler builder to disallow illegal modes.
2009-12-16 15:59:59 -08:00
Jason Sams
7e5ab3b177
Continue es2 shader dev
...
Conflicts:
graphics/java/android/renderscript/Program.java
graphics/java/android/renderscript/ProgramVertex.java
2009-12-15 13:27:04 -08:00
Jason Sams
0011bcf57f
Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
2009-12-15 12:58:36 -08:00
Jason Sams
11fbdf5020
Remove check for surface valid that is no longer valid.
2009-12-14 19:20:30 -08:00
Jason Sams
c7b74e3412
am 54f5ca41: am ffacbc34: am fd2f6358: Merge change I771bebb9 into eclair
...
Merge commit '54f5ca4115b776eb5a1e04a4c014acccb916ef9c'
* commit '54f5ca4115b776eb5a1e04a4c014acccb916ef9c':
Add Java exceptions to catch RS calls with no context or no surface.
2009-12-07 18:35:48 -08:00
Jason Sams
771bebb940
Add Java exceptions to catch RS calls with no context or no surface.
2009-12-07 12:40:12 -08:00
Jason Sams
54c0ec14e0
Beging GL2 user shaders. Switch master to using GL2 by default.
2009-11-30 15:34:03 -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
Jason Sams
7d787b4722
Add setPriority to allow wallpapers to run at lower cpu priority than default.
2009-11-15 12:14:26 -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
Jason Sams
efd9b6fb2e
Support applications changing the surface attached to the RS.
2009-11-03 14:15:28 -08:00
Jason Sams
eab4c75b09
Fix type in Java enums. Not currently used, easier to fix now than when apps are using it.
2009-10-28 17:40:13 -07:00
Jason Sams
7299c83bd8
Fix bug exposed by filmstrip. The updated and expanded SimpleMesh had an ordering bug with component coordinates when both texture and normals were used.
2009-10-16 14:55:41 -07:00
Jason Sams
bd2197fb00
Add script to script call support. Add exception to catch out of bound index data when added to TriangleMeshBuilder.
2009-10-07 18:14:01 -07:00
Jason Sams
516c319115
Implement data push from scripts. Fixes the problem where apps would have to poll to monitor a scripts state.
...
Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.
Change only impacts renderscript and renderscript apps.
2009-10-06 13:58:47 -07:00
Jason Sams
7f047786d9
Update the SimpleMesh API to support new attribute types. Also spilt add/set commands to avoid permutation explosion.
2009-10-02 18:18:35 -07:00
Jason Sams
5235cf3f41
Fix but processing raster state pragma.
...
rename stateFragmentStore to stateStore
2009-09-28 18:12:56 -07:00
Jason Sams
3c0dfbab80
Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
2009-09-27 17:50:38 -07:00
Jason Sams
66b2771d74
Reduce debugging spew and add props to selectivly re-enable it.
...
change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
2009-09-25 15:25:00 -07:00
Jason Sams
a9e7a05b84
Improve renderscript context teardown. Track object in the system and then force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
2009-09-25 14:51:22 -07:00
Joe Onorato
5fda65f182
Add a method to destroy the RS object.
2009-09-25 09:12:16 -07:00
Jason Sams
65e7aa56f5
Implement pause/resume for the RS thread.
2009-09-24 17:38:20 -07:00
Jason Sams
6b9dec00af
Remove depricated triangleMesh.
2009-09-23 18:07:45 -07: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
Jason Sams
768bc02d81
Implement more type checks on Allocations.
...
Add tracking for allocations created using the "sized" helper.
Add more param validation for data upload calls.
2009-09-21 19:41:04 -07:00
Jason Sams
be2e84193f
Implement renderscript Invokables.
2009-09-16 15:04:38 -07:00
Jason Sams
5f43fd289a
Implement Object readback.
2009-09-15 12:39:22 -07:00