Jim Shuma
288c8711a6
Making Program*.Builder classes' setters return 'this'
...
This is for better correspondence with the Builder pattern.
See also: Effective Java, 2nd edition.
Change-Id: Iecccd42be49dea2ed8e4b8cc38ce96379cf3c11c
2010-07-15 13:42:02 -07:00
Alex Sakhartchouk
80a4c2cd34
Work on synchronizing a3d created files and java layer.
...
Adding culling to ProgramRaster
Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
2010-07-12 15:50:32 -07:00
Jason Sams
53a93d5e91
Remove points from fixed function.
...
Add basic GL performance test.
Change-Id: I421a41b6683b2c5f70045cdd0f610a6939105fee
2010-07-09 15:34:32 -07:00
Jason Sams
0b9a22cf78
Add boolean support for setVar.
...
Change-Id: Id64f3b2e43e19fc2a2d5fd81bb98d9ca67aae843
2010-07-07 17:08:07 -07:00
Alex Sakhartchouk
8287a9bc5e
Cleanup pass on the mesh api change.
...
Removed all the simple mesh related calls and temporary objects.
Change-Id: Ic64a72a894e0314f216f10e1cfc0d45b17e2e182
2010-07-02 12:14:26 -07:00
Alex Sakhartchouk
164aaedf7f
Start of mesh API cleanup.
...
Switched all native code to go through Mesh class.
Removed SimpleMesh
Added java Mesh class
Will need to port all existing code to use java Mesh, then remove java SimpleMesh.
Change-Id: Idb9c03d0b06b4ef87db28dffcffa1881d39120e5
2010-07-01 16:14:12 -07:00
Alex Sakhartchouk
9b949fce39
Adding freetype font rendering to renderscript.
...
Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
2010-06-24 17:15:34 -07:00
Jason Sams
fae3f6b415
Add matrix ops to RSH headers.
...
Change-Id: I7e2843983a12e0155114b4a18813799e4341d26f
2010-06-24 13:54:11 -07:00
Jason Sams
9e2b0c505a
Fix build error.
...
Change-Id: Ife0ec056c33654a56f270a5673f614820cfc2e29
2010-06-21 18:30:02 -07:00
Jason Sams
f110d4b787
Move ImageProcessing and ModelViewer to reflected files.
...
Implement boolean support.
Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
2010-06-21 17:42:41 -07:00
Jason Sams
020bb7b5ac
Add skip to field packer.
...
remove hsb functions from env headers.
add RS_PACKED define for packed structures.
Change-Id: Idc661edff85c0047baa201f43e0839ac82c74593
2010-06-17 15:55:00 -07:00
Jason Sams
96ed4cfa62
Remove InvokeData and add ContextFinish to generate a sync point.
...
Change-Id: I27da8bf5fba2c8a428964cb6a5e66dd7a94958d8
2010-06-15 12:15:57 -07:00
Jason Sams
e29f3e74f7
Begin using reflected files.
...
Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
2010-06-08 15:40:48 -07:00
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