summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Properly recover from failed compilation.Stephen Hines2012-02-021-1/+1
| | | | | | | | | | BUG=5955072 We used to call delete, which did not update the Context's view of the world, leading to potential segfaults on Context teardown. This change also enables exceptions to be thrown when runtime errors are encountered. Change-Id: If63578efff2d7dd03639da1049c1a5ebc69fde35
* Remove wrapper version check assert.Stephen Hines2012-02-011-1/+0
| | | | | | | This really shouldn't have been here to begin with, since the wrapper version should be meaningless to libRS. Change-Id: I329446ed96d1a70197247735e267b8539a8c83a2
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-12/+12
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Merge "Add support for handling a bitcode wrapper to librs."Stephen Hines2011-11-231-1/+19
|\
| * Add support for handling a bitcode wrapper to librs.Stephen Hines2011-11-221-1/+19
| | | | | | | | | | | | BUG=5425905 Change-Id: I75676060703df6d9043b287fea900c4379455ee2
* | Fix script init error handling.Jason Sams2011-11-221-3/+8
|/ | | | Change-Id: I7ceb0af4dfd12db0274985ff658f678d7af829ff
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-3/+3
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* Fix remaining .rs.dtor() issue for RS.Stephen Hines2011-09-011-0/+1
| | | | | | BUG=5186750 Change-Id: I74765b844d28ed780f9c9e291b8e0de94352f74b
* Start using bcinfo components within librs.Stephen Hines2011-08-031-0/+29
| | | | | | BUG=4942491 Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
* Add slot number to forEach hal.Jason Sams2011-07-131-1/+1
| | | | Change-Id: I0f2992d5f4128422d07f897b335c219cc7f1d02c
* More work to make libRS buildable on the host.Alex Sakhartchouk2011-06-031-7/+2
| | | | Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
* Modifying libRS internal communication to handle network rendering.Alex Sakhartchouk2011-04-251-3/+4
| | | | Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
* Create runtime stubs for compute driver.Jason Sams2011-04-201-3/+5
| | | | Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
* Seperate GL from RS program store.Jason Sams2011-04-041-1/+1
| | | | Change-Id: I0eae9c0699845af8e8611b065e70738cc9f2b15c
* Migrate thread launch to driver.Jason Sams2011-03-171-201/+3
| | | | Change-Id: If182c524cceb327547640f22f956856d291d1787
* Start seperating out RS compute implementation. Create halJason Sams2011-03-171-234/+66
| | | | | | layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
* Moving dependency includes out of librs headers.Alex Sakhartchouk2011-02-251-0/+2
| | | | | | When we want to use it on the host, we shouldn't need to go hunting for every external dependency Change-Id: I885262acdcdf5ede4a9392235f35d5e2f7038e8b
* Use bccLinkFile instead of bccLinkBC. Remove hacking.Shih-wei Liao2011-02-011-6/+1
| | | | Change-Id: I0ffea89553e3229ee5a3262846462298fc0f5dea
* Correctly free resouces bound to scripts when the scripts are deleted.Jason Sams2011-01-271-3/+21
| | | | | Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070 b: 3381615
* Cleanup script init to fix bogus log printing andJason Sams2011-01-231-22/+10
| | | | | | reduce memory churn. Change-Id: I0bf5392102e3d59fea81f5f9f832887113602b7f
* Handle fatal errors from calling bccRegisterSymbolCallback (if any).Shih-wei Liao2011-01-201-1/+4
| | | | Change-Id: I53f35b6efd26abc1e8559f6f1e37abb55a1df7db
* Check and propogate errors from llvm.Jason Sams2011-01-191-10/+15
| | | | Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
* 1. fp_mad.rs: Pass C99 check.Shih-wei Liao2011-01-191-1/+1
| | | | | | 2. Include C99 header (Will be fixed later at build.git.) Change-Id: I2864e081b2635dfc4fc0c85f746f6d0ce0b01af5
* Fix the build.Shih-wei Liao2011-01-181-1/+1
| | | | Change-Id: I23c4146cb19540351c33b5823df25d6e2b204402
* Validate that version pragma is correct.Stephen Hines2011-01-181-6/+13
| | | | Change-Id: I42dced79b0df52c101525799081bc8a5426c11e4
* Remove erroneous log message.Stephen Hines2011-01-171-79/+72
| | | | | | | This change also enables pragmas to be checked for scripts that do not have a root() function. Change-Id: I4f41300b623581483970050680ac96c54f99d34a
* Fix bug in on-device linking.Shih-wei Liao2011-01-161-1/+2
| | | | Change-Id: Ic027d4cbf240a45da95a024067215a572c3bd7a9
* On-device linking using bccLinkBC. Note that we switch to getFile interfaceShih-wei Liao2011-01-161-3/+6
| | | | | | on the libbcc side. Change-Id: Iec4e0624f1448161c0a2163f3ce725ce6cdf3267
* bcc interface fixed.Shih-wei Liao2011-01-141-41/+99
| | | | Change-Id: I81349750e58f119a9c2ad596f376c7e39d5f0d4e
* Disable on-device linkingShih-wei Liao2011-01-131-1/+1
| | | | Change-Id: I7c416c7c9714fae0722e61c4f0368fbdb7d808b3
* On-device linking.Shih-wei Liao2011-01-121-1/+1
| | | | Change-Id: I609f575f1c2b9e9c3de0d8c16eb06b66b744bcb5
* For caching, didn't do CompileBC. Rename bccCompileBC as bccPrepareExecutable.Shih-wei Liao2011-01-071-1/+1
| | | | Change-Id: Ie63cd87bf377e2daf0c81d81c0bf86a6195edf46
* 1. LOG 4 fatal error paths (TODO: These 4 places should signal Java exceptions.)Shih-wei Liao2011-01-071-54/+26
| | | | | | | 2. Prepare on-device linking. 3. Clean up code. Change-Id: Iac4148431dbe1c3c4044f7394eb51a1332f513f9
* Fix teardown bug found in books.Jason Sams2010-12-241-2/+2
| | | | Change-Id: I9ac449b644108148b331e0c552f289bf80a07f7e
* Clean-up.Shih-wei Liao2010-12-231-1/+4
| | | | Change-Id: I43045da43a5e48e1bf759cd18c1b90d45f243450
* Stale cache management to address a P1 bug # 3296131.Shih-wei Liao2010-12-201-3/+46
| | | | Change-Id: I593f35a91c4a14c055828f8989fe01b9e7790039
* Whenever LoadBinary fails, recompile. Fixing the multi-instance bug.Shih-wei Liao2010-12-161-1/+8
| | | | Change-Id: Ib1565efe1353ed788a3ed3c81c6067e92d8ef0e5
* 1. Add Context to a RenderScript or RenderScriptGL instance.Shih-wei Liao2010-12-141-4/+5
| | | | | | | | | This is to allow RenderScript to better interact with the Android environment. E.g., per-app cache. 2. Plumbing, testing. 3. Added getApplicationContext in RenderScript.java. Change-Id: I85edeebe38825e20b2e86f4f4815689dfc332ef9
* Add multitouch support to physics test.Jason Sams2010-12-111-2/+2
| | | | | | Fix context state overwrite calling invoke. Change-Id: I7a71237bcf36abb31f98eb6d872501fdfb007d81
* Make ScriptC's mEnvironment.mIsThreadable survive the bcc caching andShih-wei Liao2010-12-071-0/+6
| | | | | | then cache-reloading. Change-Id: I0f5d54160dd9ee567fae53c69b246f99096993da
* Add caching support of BCC binaries.Shih-wei Liao2010-11-181-7/+18
| | | | Change-Id: I1e75bb84d88319cb6f1bbe6d907cf6e8ed546142
* Create holder inner class for pushing context state.Jason Sams2010-11-171-4/+5
| | | | | | | Fix bug with rsForEach corrupting parent context state. Remove workaround from rsBalls. Change-Id: I43a948536e70d44645d1c2ef7b97e1c5906f6943
* Fix crash with extended debugging.Jason Sams2010-11-161-6/+5
| | | | Change-Id: I982a7c7ea7ccae074be5254032c43a862137747a
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-50/+22
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Add code to mark functions rather than whole files as threadable.Jason Sams2010-11-011-7/+5
| | | | Change-Id: Ie635fbbb96b8ade48501ec564fe135edc256537d
* Remove excessive logging.Jason Sams2010-10-291-5/+0
| | | | Change-Id: I22497b1b169ca0f3edbc20649594f6f58f6144d0
* Balls test app.Jason Sams2010-10-291-2/+32
| | | | Change-Id: I842f43e37145f8112120e2bd49925f81c588c40c
* Enable optimized bitcode that is also jitted faster.Shih-wei Liao2010-10-231-2/+4
| | | | Change-Id: I08832cfaf4e8465c16b445eeb1b82f72d874d0ef
* Fix refcounting bugs where the sys refcountJason Sams2010-10-211-4/+2
| | | | | | | | | | could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
* Async type creation.Jason Sams2010-10-141-2/+0
| | | | Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2