549 Commits

Author SHA1 Message Date
Alex Sakhartchouk
04ba60895a Merge "Renderscript scenegraph prototype." 2010-08-13 10:45:48 -07:00
Alex Sakhartchouk
094a068bc4 Renderscript scenegraph prototype.
Change-Id: Ic4daaf6eca8850caf46bd766e148cf12eb6c6ca1
2010-08-13 10:44:14 -07:00
Jason Sams
4e806c596f Merge "Start adding RS tests." 2010-08-12 17:03:47 -07:00
Jason Sams
2a114bdc64 Start adding RS tests.
Change-Id: I025357407eca3e515823493ff63e4c78249e8126
2010-08-12 17:00:09 -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
Jason Sams
4199175ff3 Merge "Fix field packer bug for U32 data. Fix initial refcounts in allocations. Support null references in allocations." 2010-08-12 12:49:17 -07:00
Jason Sams
ee73498ddf Fix field packer bug for U32 data.
Fix initial refcounts in allocations.
Support null references in allocations.

Change-Id: Ifba6406ba750e69737bd77fa7df5d7fb8e27a5b4
2010-08-12 12:47:04 -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
Shih-wei Liao
009e51e654 Merge "Fix anonymous struct." 2010-08-12 06:33:02 -07:00
Shih-wei Liao
66bda36563 Fix anonymous struct.
Change-Id: Icdee2f05738a8712a309720d8d27dc2efc0dd749
2010-08-12 04:16:15 -07:00
Alex Sakhartchouk
2ce0e3ff30 Adding allocation reference counting to the a3d models.
Change-Id: I225b431d09bfebbebf49df75b7df5e4d5961a564
2010-08-11 10:30:44 -07:00
Alex Sakhartchouk
a919112f4a Renaming stucts back.
Change-Id: Ic9315c7fb2e03d0e88a07ae2361836d35106ab4b
2010-08-11 10:04:21 -07:00
Alex Sakhartchouk
0dde1f89a4 Merge "Adding quaternion functions to math library." 2010-08-11 09:02:51 -07:00
Alex Sakhartchouk
facd6fc4be Adding quaternion functions to math library.
Change-Id: I692214648892120943ca7d3b00034e27d1c330cf
2010-08-10 17:34:39 -07:00
Jason Sams
b28ca96fd6 Refcounting in allocations.
Change-Id: Ida2dfb404b2cd832e622d981d73a938d5bc5b821
2010-08-09 18:13:33 -07:00
Jason Sams
05716aa0a1 Update image processing to cleaup code by not inlining
functions that should be handled by the runtime.

Change-Id: I54c590913285bceb02a9076dbe6355d6f6bc6661
2010-08-09 12:09:36 -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
Jason Sams
1911c60a4e Use lowp colors in fixed funtion emulation.
Change-Id: Ie525ee6e52652ba83efe4d9f1627410d846824ee
2010-08-05 17:38:29 -07:00
Jason Sams
b39a8272f5 Fix behavior where the non-blocking sendToCliend would block
when there was enough room for the message but not the message header.

Change-Id: I600db04b91e76fa7966c7d8a98e5c56593e1806d
2010-08-05 15:17:15 -07:00
Alex Sakhartchouk
55e8198356 Fixing fonts to use constant color instead of variable.
Change-Id: Ia590dfed482f82b7bc748c25b7b1592efea5b68c
2010-08-05 11:24:14 -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
Alex Sakhartchouk
6de555001b Adding onscreen frame and script time for debugging.
Change-Id: I5780092d14d49dae556b9969b937c7768e705a64
2010-08-03 12:03:16 -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
7f4d0c9705 Query the CPU count and use the result to determine
if and how many worker threads we use.

Change-Id: I8fc1fb17aff835cfe8ed7c474287bccd532cbb29
2010-07-26 17:12:55 -07:00
Jason Sams
f46f25a4bd Minor ImageProcessing script optimization to make it a better FP benchmark.
Change-Id: I24b11d98c9ac32d91153d3572da511b34e79f7f0
2010-07-22 14:44:04 -07:00
Shih-wei Liao
1cc4523c6a rs_types.rsh and rs_math.rsh are default include files. Remove their #include.
Change-Id: Id69efbd98fd563a82cffdcaba96afa4cd8671bb2
2010-07-21 12:28:47 -07:00
Shih-wei Liao
0787646755 Use bccGetExportVars to get mFieldCount, instead of hardwiring "100" in calloc.
Change-Id: I6023b93865f785779b966acf03bf120078ac3c74
2010-07-20 16:43:25 -07:00
Jason Sams
3b7fd8abe7 Attempt to fix build '<>' works on mac but does not appear to work on linux yet.
Change-Id: Ic0bfaf3cf052e9be43320aa2cdd89ca4d0f48fc6
2010-07-20 15:43:22 -07:00
Jason Sams
c7f4e41ecd Update imageprocessing to remove generated files.
Fix thread launch race condition.

Change-Id: I24d7f87ac87db6f9e3418d6a429471a71d2c9e9d
2010-07-20 15:09:00 -07:00
Alex Sakhartchouk
1e37e875ef Fixing potential buffer overrun errors.
Change-Id: I77c43f0dd3a5d5a54465ff5d562f8e2b4d7fa3c3
2010-07-20 10:59:25 -07:00
Shih-wei Liao
b1cd67bb48 Merge "Fix Android build" 2010-07-20 01:26:34 -07:00
Shih-wei Liao
57e7a95b16 Fix Android build
Change-Id: I531dec556e6774518d19707f91c99ecaaf344c0f
2010-07-20 01:25:10 -07:00
Shih-wei Liao
9d07ed1f5d Merge "Change the include path." 2010-07-20 01:04:58 -07:00
Shih-wei Liao
7152c05724 Change the include path.
Change-Id: I884f95e40ab2d7080fd1eec0ecc9b86794b7c042
2010-07-20 01:03:09 -07:00
Shih-wei Liao
c67dc1afba Merge "Port ModelViewer to use the new build system. Fix the simulator build on Fountain." 2010-07-20 00:37:42 -07:00
Shih-wei Liao
3485976e84 Port ModelViewer to use the new build system.
Fix the simulator build on Fountain.

Change-Id: I89b05c31595f0a8c3001171957eeeb2fec253c74
2010-07-20 00:36:47 -07:00
Ying Wang
6ddaacef9b Switch back to use the default search of include path
since slang has been fixed to add current dir as one of the default search path.

Change-Id: Id3e80955ce445f155fc518927974be7986daff1f
2010-07-19 19:05:31 -07:00
Ying Wang
bbe72dcda6 Fix build
Slang uses env var that build server does not set, so we still need to use relative path.

Change-Id: Ibf57710b113674fe546700d81154e5236920134c
2010-07-19 18:30:15 -07:00
Ying Wang
bc8112fd6d .rs files are now built by the build system.
Change-Id: Iba28bed6cc05883a28a59b8dd0ff12e1bfbe0c04
2010-07-19 16:01:44 -07:00
Jason Sams
8e6c17fcc4 Threading RS ForEach.
Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
2010-07-19 15:38:19 -07:00
Shih-wei Liao
3fdab65f24 Merge "Fix include path problem." 2010-07-15 23:40:05 -07:00
Shih-wei Liao
28b40e6426 Fix include path problem.
Change-Id: Ic1abbce767b9895e95e0a24e6f76150b31a6c75a
2010-07-15 23:38:36 -07:00
Shih-wei Liao
ebd6f94dbd Merge "Preparing for build system change. Fix the build error in http://b/issue?id=2781522." 2010-07-15 22:35:31 -07:00