96 Commits

Author SHA1 Message Date
Alex Sakhartchouk
9ce7c0971d Merge "add renderscript doc comments for exposed headers" 2011-08-09 14:13:09 -07:00
Alex Sakhartchouk
6b2b8bdb28 add renderscript doc comments for exposed headers
Change-Id: Ia7dd82f890775045e543963d64e6dcd3ea4db825
2011-08-09 11:36:19 -07:00
Jason Sams
573fa62074 Start refactoring RS headerfiles for docs.
Change-Id: Ieb7797601f94beec2835e1d936dc2dd0c38cb48c
2011-08-09 11:34:33 -07:00
Jason Sams
d1bfd12704 Add RS docs for rs_core.rsh
Change-Id: Ic961138b2ce7730b38c7673e83c8891407580306
2011-08-08 15:54:14 -07:00
Jason Sams
a00e6d8bf1 Add docs to rs_types.rsh
Change-Id: Id2352f325c3ef9564cc226c6c5df908df16bb26a
2011-08-08 14:31:25 -07:00
Jason Sams
4575a8e4de Add const to matrix by vector multiply routines.
Cleanup ifdef for rsForEach.

Change-Id: Id0d053f5dc73fef7dffed57ed02e90340b6cb798
2011-07-27 14:10:53 -07:00
Jason Sams
cf57dec80b Add size param to rsForEach
bug 5074640


Change-Id: I395bd8b295beacc979681ccdd3451d9d6cc3d672
2011-07-25 12:58:37 -07:00
Jason Sams
71767c5577 First cut of atomics for renderscript.
Change-Id: Iefc0228d802e6f5348ae787553c9252fb90ba110

update atomic patch.

Change-Id: Idd0596439c092f570b6b226e9a9c7102ddffe88e
2011-06-21 17:07:18 -07:00
Alex Sakhartchouk
304b1f5497 Allocation copy functions.
Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
2011-06-14 11:13:19 -07:00
Jason Sams
6cc888e77e Start ICS header cleanup and finish type matrix.
Change-Id: If65f96f08c958d330862c543d85dd9d4a0f90e06
2011-04-25 16:09:48 -07:00
Alex Sakhartchouk
8e90f2bc1f First draft of fbo in renderscript.
Updating samples and benchmark

Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
2011-04-01 14:19:01 -07:00
Jason Sams
fbf8e02d99 am e2b2a02a: am 4fd70373: Merge "Fix bug 3421901 remove 2 functions from public headers in the SDK." into honeycomb
* commit 'e2b2a02a91dc4101a9481b5bb6ba4c56c7a35dd7':
  Fix bug 3421901 remove 2 functions from public headers in the SDK.
2011-02-08 15:06:50 -08:00
Jason Sams
e56d643e47 Fix bug 3421901
remove 2 functions from public headers in the SDK.

Change-Id: Ib44e7a4c12f19c87c39095028c020548f89143ec
2011-02-03 16:30:23 -08:00
Jason Sams
d649618814 am a66b759a: am bd08c7c0: Merge "Clean up RS samples for SDK, bug 2943369 Fix bug 3403965 rsgSyncAll would not mark constants as changed found by inspection." into honeycomb
* commit 'a66b759ab01c7f1e334d7b9a9f7d78ce3b45ff1c':
  Clean up RS samples for SDK, bug 2943369 Fix bug 3403965 rsgSyncAll would not mark constants as changed found by inspection.
2011-01-28 18:02:57 -08:00
Jason Sams
62f258f1e4 Clean up RS samples for SDK, bug 2943369
Fix bug 3403965 rsgSyncAll would not mark constants as changed
found by inspection.

Only rsAllocation.cpp affects on device bits.

Change-Id: I6b7ec0df87e42687b24384aaf54dc04976cb84f7

doc update

Change-Id: Id5841f08868557e086f185024470924ef202d19f
2011-01-28 16:18:01 -08:00
Jason Sams
35e7026357 DO NOT MERGE
Bug 2943369 RS SDK
Remove typedef for quat type which was pushed back to mr1.

Change-Id: Ice2ad6c766ee786105a8d70fc9457a98e19b5af3
2011-01-28 16:18:00 -08:00
Shih-wei Liao
783d0db712 am 957ee34d: am b9d69d59: Merge "For rs_cl, fix _RS_STATIC (used while we do on-host linking). Now we do on-device linking, STATIC no longer makes sense. (b/2943524)" into honeycomb
* commit '957ee34d73e6b0bec91edaad57be641834855758':
  For rs_cl, fix _RS_STATIC (used while we do on-host linking). Now we do on-device linking, STATIC no longer makes sense. (b/2943524)
2011-01-26 19:11:15 -08:00
Stephen Hines
39530e77e5 Actually fix build.
Change-Id: I43cb042b0b8c8ac0f2e5fd9aee823298f9c29820
2011-01-26 18:07:47 -08:00
Shih-wei Liao
26e5ff8a67 For rs_cl, fix _RS_STATIC (used while we do on-host linking). Now we do
on-device linking, STATIC no longer makes sense. (b/2943524)

Change-Id: Ia35f90eb0956b1cd6c436a1482d87d82f41cedc9
2011-01-26 17:04:31 -08:00
Stephen Hines
7c4a66be94 Fix build breakage.
Change-Id: I3fc80c719e7bfa2940af9257f46694232c0162a3
2011-01-26 15:51:29 -08:00
Shih-wei Liao
88523f3757 am dde78c2b: am 79204b98: Merge "Part II of fixing b/2943524: On-device linking rs_core." into honeycomb
* commit 'dde78c2b1c2c2ea28b6799ac135477386ae5df93':
  Part II of fixing b/2943524: On-device linking rs_core.
2011-01-26 15:00:44 -08:00
Shih-wei Liao
f5a16efcc3 Part II of fixing b/2943524: On-device linking rs_core.
Change-Id: I1db1f8a2c9e8afabd9961c0effca60b10c9ed4dc
2011-01-26 14:47:17 -08:00
Jason Sams
e0fc4b70f8 Merge "DO NOT MERGE Remove the rs_quaternion functions until mr1" into honeycomb 2011-01-26 11:54:38 -08:00
Jason Sams
e361ca6428 Merge "Migrating functions for on device linking." into honeycomb 2011-01-26 11:54:33 -08:00
Jason Sams
ca11318ac0 DO NOT MERGE
Remove the rs_quaternion functions until mr1

Change-Id: I1c48624a308ce6f5c4a13215170f34c810b4cf00
2011-01-26 11:16:23 -08:00
Shih-wei Liao
2fd2c894e9 Fix b/2943524: On-device linking the rs_cl.
Change-Id: I1b1e76ec94a26e0bc86d997d2584c8a015c57de1
2011-01-26 04:03:30 -08:00
Jason Sams
1afbf54dd1 Migrating functions for on device linking.
Change-Id: I41dc1551ada53370f2b06c49cc76089b1e72ac5b
2011-01-25 21:33:44 -08:00
Stephen Hines
7e893e1ddf Add missing functions to math library.
This also updates the math test suite to exercise all the basic operator
functions (except __udivsi3 which may not be 100% necessary). There is also a
small fix for rsQuaternionMultiply().

Change-Id: Id157e6d5ebe2e20c17e8ea7b13ffaa74c241838c
b: 3203577
2011-01-24 13:56:30 -08:00
Stephen Hines
a16a981453 Remove unnecessary library functions.
Change-Id: I47fadb2b9e8b9e9ef5f139470366ce43c75fadbb
2011-01-20 11:59:07 -08:00
Stephen Hines
833166d274 Clean up RS math fp library functions.
Change-Id: Ibe87b06a7f40a3889d63310641359d98bdff066c
2011-01-19 16:34:10 -08:00
Shih-wei Liao
cbcced2d15 c99 bool support
Change-Id: I0990425a9362d3ef6ea0b40bf6f00fcc10eed426
2011-01-19 12:17:54 -08:00
Shih-wei Liao
1ad9612e99 1. fp_mad.rs: Pass C99 check.
2. Include C99 header (Will be fixed later at build.git.)

Change-Id: I2864e081b2635dfc4fc0c85f746f6d0ce0b01af5
2011-01-19 02:18:45 -08:00
Stephen Hines
688de88b65 Fix bug in modf library function (plus typos).
Change-Id: I643c905e2e3e2dcf7a61f1d027b749d9a0d6e542
2011-01-18 21:04:59 -08:00
Stephen Hines
793786c258 Provide mechanism to switch between extern/static.
Change-Id: I59b1b45cc335278f92b68581594ca68115b9a590
2011-01-18 16:53:19 -08:00
Stephen Hines
a8b78174eb Clean up simple integer operations.
Change-Id: I3bd11c54c49602e4f63310d50bd9b20fae234329
2011-01-17 11:26:29 -08:00
Stephen Hines
682c4a860b Clean up RS math headers.
Fix types for ilogb and remquo.

Change-Id: I54f8634b1fe8b6cfb136d3bdf6aab5a5961e6827
2011-01-11 17:00:29 -08:00
Stephen Hines
1ac9da6717 Split time functions into rs_time.rsh header.
Change-Id: I598b0031d15749c91d11fbd37b075d0564a94dbf
2011-01-09 17:04:18 -08:00
Jason Sams
d19524047f Clean up Allocation buffer object api.
Change-Id: Id3e2391a93a99f4c414a805ee33cfd113242a7e6
2010-12-20 12:55:28 -08:00
Jason Sams
6d8eb266dd Fix mipmap bug introduced with Allocation cleanup.
Add syncAll to rsg headers.

Change-Id: I02c953f3fddab3c6f4e98570cdad45a59711bbde
2010-12-15 01:41:00 -08:00
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