Alex Sakhartchouk
ed9f210568
Code cleanup to make formatting consistent
...
across all the renderscript files.
Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
2010-11-10 11:30:51 -08:00
Shih-wei Liao
b9a8eb3f12
Remove unneeded inclusion of rs_math.rsh.
...
Change-Id: I7e9beb88c3b0fb88e30bdbabdde2a2529825dbef
2010-10-18 16:31:50 -07:00
Stephen Hines
2cd6f4709c
Merge "Add support for rsDebug with 64-bit types."
2010-10-18 11:45:16 -07:00
Jason Sams
ec13bf79d9
Fix header file to always inline stub functions.
...
Change-Id: I9999007c4d467d92d2f8ba5ad2a6f68fbb910959
2010-10-15 17:57:07 -07:00
Stephen Hines
6568896117
Add support for rsDebug with 64-bit types.
...
Bug: 3099081
Change-Id: Ieb3af7757489876ef951be8527aa73f69e1481fd
2010-10-15 14:17:55 -07:00
Shih-wei Liao
708e04ff41
Move rsDebug from rs_math.rsh to rs_core.rsh: rsDebug is more like core functionalities instead of math functionalities. Also portions of rsDebug implementation has been in rs_core.rsh already.
...
Add #define guard for rs_types.rsh to prevent multiple inclusion.
Change-Id: I1db6dac9825c2618db3660e22c8791aff08d6243
2010-10-07 18:21:32 -07:00
Alex Sakhartchouk
10825a07ae
Adding text metrics to renderscript.
...
Change-Id: Ica460525243d714a278e4ad5e436af43e1008e0c
2010-10-05 11:33:27 -07:00
Alex Sakhartchouk
8e95466b5a
Adding ability to dirty the allocation and notify shaders using it.
...
Change-Id: Id5ac8dbba5185cb1f43bedcf4098fcef9f477c51
2010-09-02 10:45:39 -07:00
Alex Sakhartchouk
32e09b5891
Renderscript samples.
...
Resolving name conflict in model viewer.
Adding fov projection matrix function.
Adding helper methods for blending.
Change-Id: Ibd3f1510436811398787c285845d050158bd6de8
2010-08-23 10:24:10 -07:00
Alex Sakhartchouk
fe0c474c21
Merge "Added frustum plane extraction and sphere culling code."
2010-08-16 17:43:32 -07:00
Alex Sakhartchouk
cbed7524ea
Added frustum plane extraction and sphere culling code.
...
Change-Id: I9d55baecddc962f8973f0269f2f9977f1d4ce008
2010-08-16 17:40:10 -07:00
Jason Sams
02f62aa7d1
Support reference operations in RS scripts.
...
Change-Id: I9cb5f3cb71823ab24ca51bf0167a0f52cf0691f9
2010-08-16 12:41:48 -07:00
Alex Sakhartchouk
aece2d0ca0
Merge "Adding bounding box computation."
2010-08-13 14:39:01 -07:00
Alex Sakhartchouk
a80145de00
Adding bounding box computation.
...
Change-Id: I682609312519d9474176556ade7a208c7d0a1323
2010-08-13 14:32:23 -07:00
Jason Sams
2a115d8422
Merge "Thread launch strategies."
2010-08-12 16:59:18 -07:00
Jason Sams
2cbd298f39
Thread launch strategies.
...
Change-Id: I506df786e815205a8e51906c2b517302c1ef2471
2010-08-12 12:49:31 -07:00
Alex Sakhartchouk
0de9444aa6
Preparing renderscript java code for use with phanton references.
...
Changing rs_quaternion to be float4
Change-Id: Ibf49f412be8979eaa04cb252b407467eacd9dbf0
2010-08-12 10:16:55 -07:00
Alex Sakhartchouk
a919112f4a
Renaming stucts back.
...
Change-Id: Ic9315c7fb2e03d0e88a07ae2361836d35106ab4b
2010-08-11 10:04:21 -07:00
Alex Sakhartchouk
facd6fc4be
Adding quaternion functions to math library.
...
Change-Id: I692214648892120943ca7d3b00034e27d1c330cf
2010-08-10 17:34:39 -07:00
Jason Sams
d64188a4a4
Fix debugging support for float vectors and add matrix debugging.
...
Change-Id: Ie1ee3764a32889f3c39b923186f14af74ecb772f
2010-08-06 16:22:50 -07:00
Jason Sams
41d9825b9a
Fix length normilization bug in rsMatrixLoadRotate.
...
Change-Id: Ibdc1a64f2db6110acd971f8cacd6b1f9c09b02de
2010-08-05 18:11:49 -07:00
Alex Sakhartchouk
518f033b68
Adding more matrix math functions.
...
Fixing build.
Change-Id: Ie0f6724ba063ada94d1d44d99bbe56e21d9bd72f
2010-08-05 10:28:43 -07:00
Jason Sams
442a647424
Support constant and varying colors in ProgramFragment.
...
Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
2010-08-05 10:00:21 -07:00
Alex Sakhartchouk
fb10c16a05
Added ability to set font color.
...
Propagating the name of meshes and allocations from native a3d to java
Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
2010-08-04 14:45:48 -07:00
Jason Sams
f0690c4f29
Cleanup of signed/unsigned
...
Make all functions overloadable.
Change-Id: I443c83afcf9a7acfae394585201f081681f309db
Update examples.
Change-Id: I100d6fa8dd1af376bcee0b2c42c5aabe9c03bb6e
force rebuild of all .rs files to pick up core header changes.
Change-Id: I6231a8a024388481ca231507e83b108ebdbc3500
2010-07-29 19:10:25 -07:00
Jim Miller
edb2fc6aa8
Merge "Fix 2877497: export rsgProgramVertexLoadProjectionMatrix()"
2010-07-29 17:50:01 -07:00
Jim Miller
d8e7620455
Fix 2877497: export rsgProgramVertexLoadProjectionMatrix()
...
This updates renderscript to allow loading of the projection
matrix.
Change-Id: I9af03e06ce6b5432ffbf3db8f6cda7b29aa21c7f
2010-07-28 14:46:22 -07:00
Jason Sams
17966517a1
Cleanup sendToClient and add rsGetDt().
...
Remove legacy implemtation of matrix calls which were moved to llvm bc.
Change-Id: I527740590067db3bcb2147233ef41fb057f1d2a8
2010-07-28 11:17:53 -07:00
Jason Sams
8e6c17fcc4
Threading RS ForEach.
...
Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
2010-07-19 15:38:19 -07:00
Jason Sams
8f8a5724be
1st cut of ForEach and test.
...
Change-Id: I6534569c8d26db8b9691666134a555c8bf94184e
2010-07-15 17:11:13 -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
6c8c2f22e9
Fix image processing resource problem for non high-density devices.
...
Protect include file.
Change-Id: I5c6721033b37e35261b9fe424d74d3aef0620791
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
5b7e333cf2
Merge "Adding freetype font rendering to renderscript."
2010-06-25 09:24:19 -07:00
Jason Sams
6495128049
Fix return values for rsClamp.
...
Change-Id: Ic9980a2304797a74392c729d6b8ec9f477a906d6
2010-06-24 17:56:34 -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
f110d4b787
Move ImageProcessing and ModelViewer to reflected files.
...
Implement boolean support.
Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
2010-06-21 17:42:41 -07:00
Jason Sams
6d1cf4148c
Remove legacy drawing functions.
...
Skip element names starting with '#'
Change-Id: I6b0967ed1dc47c072c3bed7c0219e2215a7068a6
2010-06-17 18:05:38 -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
Shih-wei Liao
4e094c1428
Merge "Comment out rsqrt for now. Long-term: Need to figur out why rsqrt caused slang to abort."
2010-06-14 21:16:26 -07:00
Shih-wei Liao
722a5d7104
Comment out rsqrt for now. Long-term: Need to figur out why rsqrt caused slang to abort.
...
Change-Id: I635eecead3ef71690124e51f29afa163373e2329
2010-06-14 17:34:25 -07:00
Shih-wei Liao
cac4d6d965
To enable the reflection of rs_mesh etc. Side benefit: Better type checking.
...
Double-checked with Nick that the extra "struct" is enabling reflection and
type checking without incurring overhead.
Change-Id: I624efd9547a8f847d9525906ab3a49278055c9e9
2010-06-09 18:03:56 -07:00
Jason Sams
96d719c917
Remove float8/16 from RS type list.
...
We will not have time to work through ABI issues for these types
on arm for our ship date. Can be re-added later.
Change-Id: I957758be7e900a1c55eff9cb5aeb16fa636bd9a0
2010-06-09 14:26:16 -07:00
Jason Sams
e29f3e74f7
Begin using reflected files.
...
Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
2010-06-08 15:40:48 -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
c9d0a87d50
types update.
...
Change-Id: I3bd43e163c919be4c3a38e0dd228cee220c62b76
2010-05-28 19:13:20 -07:00
Jason Sams
f17bccc905
Rough implemetation of ForEach.
...
Remove launchID from root graphics script.
Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
2010-05-28 18:23:22 -07:00
Jason Sams
1001a5b97b
Remove noise functions and update images processing to use new rs namespace names.
...
Change-Id: I2dc9b5ec7877acd630bea1a011ecc4a6d43a31eb
2010-05-20 17:56:05 -07:00