830 Commits

Author SHA1 Message Date
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
Jason Sams
e9d3da1374 Merge "Re-implement img npot support in HC." into honeycomb 2011-01-13 17:21:02 -08:00
Jason Sams
9333e64f79 Re-implement img npot support in HC.
Change-Id: Iac56ec54e46c998ec14f71d8e85eccdc5fb3aa91
2011-01-13 17:02:35 -08:00
Alex Sakhartchouk
f5c876e82d Docs plus removing some junk per API review.
Change-Id: I45f995b656754550be68c78e467071d6e59b348f
2011-01-13 14:53:43 -08:00
Shih-wei Liao
96100195f0 Fix the build.
Change-Id: I36b523d877c5beadf0fce21b9f7534f0ffc23959
2011-01-13 02:20:51 -08:00
Shih-wei Liao
078717be07 Merge "Disable on-device linking" into honeycomb 2011-01-13 02:06:17 -08:00
Shih-wei Liao
0394d2495a Disable on-device linking
Change-Id: I7c416c7c9714fae0722e61c4f0368fbdb7d808b3
2011-01-13 02:05:34 -08:00
Shih-wei Liao
c758f1c6a3 Merge "Fix the build." into honeycomb 2011-01-13 02:04:10 -08:00
Shih-wei Liao
f6dd9c539c Merge "On-device linking." into honeycomb 2011-01-13 02:04:00 -08:00
Shih-wei Liao
3ae5017b1b Merge "convert2uchar3." into honeycomb 2011-01-13 02:03:51 -08:00
Shih-wei Liao
3a3dd2b37c Fix the build.
Change-Id: I20ac8700bcc8ccb7905f82bbfea81d007f67a68e
2011-01-13 02:03:00 -08:00
Shih-wei Liao
067e7b261a On-device linking.
Change-Id: I609f575f1c2b9e9c3de0d8c16eb06b66b744bcb5
2011-01-12 19:14:27 -08:00