641 Commits

Author SHA1 Message Date
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
Shih-wei Liao
79204b98d2 Merge "Part II of fixing b/2943524: On-device linking rs_core." into honeycomb 2011-01-26 14:56:41 -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
Stephen Hines
d6a5b40cc7 Hook up tgammaf properly for RS.
Change-Id: I9b489cbfe49b3c01028f23c1123bc272e100c60e
b: 3370708, 2933146
2011-01-26 12:31:36 -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
Jason Sams
03855bbe4a Fix bug 3385881
Launch signals and threads are not always
matched in index.  Threads grab launch indexes
as they start which may not be the order in which
they were launched.

Change-Id: I1ff42c3df5d7ebb46de6329ebd11ef67a5fc58ca
2011-01-25 00:34:34 -08:00
Jason Sams
887a834c47 Merge "Attempt to fix 3333866 Missing memory barrier when the non-locking past path is hit." into honeycomb 2011-01-25 00:23:41 -08:00
Jason Sams
fcecc244a7 Attempt to fix 3333866
Missing memory barrier when the non-locking past
path is hit.

Change-Id: I80db7df547c1ce35ed85ba117519b12679cc42ef
2011-01-24 17:33:21 -08:00
Jason Sams
a4967facf4 Merge "Cleanup script init to fix bogus log printing and reduce memory churn." into honeycomb 2011-01-24 17:30:38 -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
Jason Sams
c55de66ad2 Cleanup script init to fix bogus log printing and
reduce memory churn.

Change-Id: I0bf5392102e3d59fea81f5f9f832887113602b7f
2011-01-23 17:48:45 -08:00
Shih-wei Liao
f1f710538e Merge "Handle fatal errors from calling bccRegisterSymbolCallback (if any)." into honeycomb 2011-01-20 23:10:39 -08:00
Shih-wei Liao
040d7d8ce7 Handle fatal errors from calling bccRegisterSymbolCallback (if any).
Change-Id: I53f35b6efd26abc1e8559f6f1e37abb55a1df7db
2011-01-20 12:35:44 -08:00
Stephen Hines
2e0f0bb3fe Merge "Remove unnecessary library functions." into honeycomb 2011-01-20 12:23:32 -08:00
Stephen Hines
a16a981453 Remove unnecessary library functions.
Change-Id: I47fadb2b9e8b9e9ef5f139470366ce43c75fadbb
2011-01-20 11:59:07 -08:00
Jason Sams
a82bcf6a55 Merge "Remove some old logging code." into honeycomb 2011-01-19 17:50:15 -08:00
Jason Sams
89f8b1e093 Remove some old logging code.
Change-Id: Ide5d91aadbc9f5b475da38762bc350ac237347d1
2011-01-19 17:49:24 -08:00
Stephen Hines
eb60932a19 Merge "Clean up RS math fp library functions." into honeycomb 2011-01-19 17:24:53 -08:00
Mathias Agopian
8bb9131c66 Merge "fix [3367893] Rotating device on YouTube's home screen several times kills system_server" into honeycomb 2011-01-19 17:01:22 -08:00
Mathias Agopian
578b7a2265 fix [3367893] Rotating device on YouTube's home screen several times kills system_server
A typo in RS tear down cause caused eglMakeCurrent to fail. Additionnaly,
EGLSurfaces where not destroyed explicitely.
Everything worked properly when only one RS context was used, as
eglTerminate() would clean-up everything.

however in the present case, there seem to be more than one RS context
and eglTerminate() is not called.

Change-Id: I37a10945b9c0a85c4f7abad1c4f4c24bc0daa0a5
2011-01-19 16:58:10 -08:00
Stephen Hines
833166d274 Clean up RS math fp library functions.
Change-Id: Ibe87b06a7f40a3889d63310641359d98bdff066c
2011-01-19 16:34:10 -08:00
Jason Sams
fdc54a97ee Check and propogate errors from llvm.
Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
2011-01-19 16:14:21 -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
Shih-wei Liao
cbb7279e7b Fix the build.
Change-Id: I23c4146cb19540351c33b5823df25d6e2b204402
2011-01-18 22:50:18 -08:00
Stephen Hines
688de88b65 Fix bug in modf library function (plus typos).
Change-Id: I643c905e2e3e2dcf7a61f1d027b749d9a0d6e542
2011-01-18 21:04:59 -08:00
Jason Sams
e70b445d2f Merge "Correctly log debugging info as debug." into honeycomb 2011-01-18 18:22:56 -08:00
Jason Sams
bf2afed1f2 Correctly log debugging info as debug.
Change-Id: I1169e015288d7d91b7ecbdd991e815152740e68d
2011-01-18 18:22:19 -08:00
Jason Sams
e6a97e27bc Merge "Fix race condition between GC thread and the teardown of RS. The RS context was going away while the objects were being deleted within the finializer." into honeycomb 2011-01-18 18:18:06 -08:00
Jason Sams
d1ac981497 Fix race condition between GC thread and
the teardown of RS.  The RS context was going away while
the objects were being deleted within the finializer.

Add more debugging for playCoreCommands.

Change-Id: I391f0b4db948f43f54017b47b062ab47d6a1ef64
2011-01-18 18:12:26 -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
5dd60be169 Validate that version pragma is correct.
Change-Id: I42dced79b0df52c101525799081bc8a5426c11e4
2011-01-18 14:10:44 -08:00
Stephen Hines
5ef3dddd0d Remove erroneous log message.
This change also enables pragmas to be checked for scripts that do not have a
root() function.

Change-Id: I4f41300b623581483970050680ac96c54f99d34a
2011-01-17 17:31:58 -08:00
Stephen Hines
a8b78174eb Clean up simple integer operations.
Change-Id: I3bd11c54c49602e4f63310d50bd9b20fae234329
2011-01-17 11:26:29 -08:00
Shih-wei Liao
38f79d01db Merge "Make ImageProcessing work." into honeycomb 2011-01-17 01:18:32 -08:00
Shih-wei Liao
2aad562ab2 Make ImageProcessing work.
Change-Id: Id1ab91657ff4ba70a2391b168958e72b68e8a3e0
2011-01-17 01:17:39 -08:00
Jason Sams
300406abd4 Add some error checking.
Change-Id: I007b1429a64b39ffd5cdef200c295d5a31f95048
2011-01-16 16:11:42 -08:00
Shih-wei Liao
077fd5f6f5 Merge "Fix bug in on-device linking." into honeycomb 2011-01-16 15:41:25 -08:00
Shih-wei Liao
0e7be13973 Fix bug in on-device linking.
Change-Id: Ic027d4cbf240a45da95a024067215a572c3bd7a9
2011-01-16 15:38:13 -08:00
Jason Sams
d73989538e Merge "Implement sub updates for mipmap levels and cubmaps." into honeycomb 2011-01-16 14:47:34 -08:00
Shih-wei Liao
71a2e13d19 On-device linking using bccLinkBC. Note that we switch to getFile interface
on the libbcc side.

Change-Id: Iec4e0624f1448161c0a2163f3ce725ce6cdf3267
2011-01-16 03:57:20 -08:00
Shih-wei Liao
076b770c2a bcc interface fixed.
Change-Id: I81349750e58f119a9c2ad596f376c7e39d5f0d4e
2011-01-14 06:21:28 -08:00
Shih-wei Liao
3b5379d84b Retire librslib_rt.
Change-Id: I7f23eb35a8eab1728ef59ea20b429887e76d37fd
2011-01-14 05:00:37 -08:00
Shih-wei Liao
35a17e661e Move linking stuff to libbcc.
Change-Id: I4ad08decfda89c6801c595eb746da8af0625fcce
2011-01-14 04:56:50 -08:00
Shih-wei Liao
307bf62dd5 Avoid converting rslib.bc to things like rslib.h. So we are less error-prone.
Change-Id: If9043d8e8b4cbd21393024032da734e58a22e72d
2011-01-14 04:26:30 -08:00
Jason Sams
ef70a20a30 Implement sub updates for mipmap levels and cubmaps.
Change-Id: I7c41263a0c1e583574d0c1fcb64b1a0440b5b555
2011-01-13 17:38:18 -08:00