summaryrefslogtreecommitdiff
path: root/libs/rs/rsScriptC.cpp
AgeCommit message (Collapse)Author
2012-03-28Moving libRSAlex Sakhartchouk
Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
2012-02-22Support running ForEach on non-root functions.Stephen Hines
BUG=6000538 Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
2012-02-02Properly recover from failed compilation.Stephen Hines
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
2012-02-01Remove wrapper version check assert.Stephen Hines
This really shouldn't have been here to begin with, since the wrapper version should be meaningless to libRS. Change-Id: I329446ed96d1a70197247735e267b8539a8c83a2
2012-01-08Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
2011-11-23Merge "Add support for handling a bitcode wrapper to librs."Stephen Hines
2011-11-22Add support for handling a bitcode wrapper to librs.Stephen Hines
BUG=5425905 Change-Id: I75676060703df6d9043b287fea900c4379455ee2
2011-11-22Fix script init error handling.Jason Sams
Change-Id: I7ceb0af4dfd12db0274985ff658f678d7af829ff
2011-10-26Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
2011-09-01Fix remaining .rs.dtor() issue for RS.Stephen Hines
BUG=5186750 Change-Id: I74765b844d28ed780f9c9e291b8e0de94352f74b
2011-08-03Start using bcinfo components within librs.Stephen Hines
BUG=4942491 Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
2011-07-13Add slot number to forEach hal.Jason Sams
Change-Id: I0f2992d5f4128422d07f897b335c219cc7f1d02c
2011-06-03More work to make libRS buildable on the host.Alex Sakhartchouk
Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
2011-04-25Modifying libRS internal communication to handle network rendering.Alex Sakhartchouk
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
2011-04-20Create runtime stubs for compute driver.Jason Sams
Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
2011-04-04Seperate GL from RS program store.Jason Sams
Change-Id: I0eae9c0699845af8e8611b065e70738cc9f2b15c
2011-03-17Migrate thread launch to driver.Jason Sams
Change-Id: If182c524cceb327547640f22f956856d291d1787
2011-03-17Start seperating out RS compute implementation. Create halJason Sams
layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
2011-02-25Moving dependency includes out of librs headers.Alex Sakhartchouk
When we want to use it on the host, we shouldn't need to go hunting for every external dependency Change-Id: I885262acdcdf5ede4a9392235f35d5e2f7038e8b
2011-02-01Use bccLinkFile instead of bccLinkBC. Remove hacking.Shih-wei Liao
Change-Id: I0ffea89553e3229ee5a3262846462298fc0f5dea
2011-01-27Correctly free resouces bound to scripts when the scripts are deleted.Jason Sams
Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070 b: 3381615
2011-01-23Cleanup script init to fix bogus log printing andJason Sams
reduce memory churn. Change-Id: I0bf5392102e3d59fea81f5f9f832887113602b7f
2011-01-20Handle fatal errors from calling bccRegisterSymbolCallback (if any).Shih-wei Liao
Change-Id: I53f35b6efd26abc1e8559f6f1e37abb55a1df7db
2011-01-19Check and propogate errors from llvm.Jason Sams
Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
2011-01-191. fp_mad.rs: Pass C99 check.Shih-wei Liao
2. Include C99 header (Will be fixed later at build.git.) Change-Id: I2864e081b2635dfc4fc0c85f746f6d0ce0b01af5
2011-01-18Fix the build.Shih-wei Liao
Change-Id: I23c4146cb19540351c33b5823df25d6e2b204402
2011-01-18Validate that version pragma is correct.Stephen Hines
Change-Id: I42dced79b0df52c101525799081bc8a5426c11e4
2011-01-17Remove erroneous log message.Stephen Hines
This change also enables pragmas to be checked for scripts that do not have a root() function. Change-Id: I4f41300b623581483970050680ac96c54f99d34a
2011-01-16Fix bug in on-device linking.Shih-wei Liao
Change-Id: Ic027d4cbf240a45da95a024067215a572c3bd7a9
2011-01-16On-device linking using bccLinkBC. Note that we switch to getFile interfaceShih-wei Liao
on the libbcc side. Change-Id: Iec4e0624f1448161c0a2163f3ce725ce6cdf3267
2011-01-14bcc interface fixed.Shih-wei Liao
Change-Id: I81349750e58f119a9c2ad596f376c7e39d5f0d4e
2011-01-13Disable on-device linkingShih-wei Liao
Change-Id: I7c416c7c9714fae0722e61c4f0368fbdb7d808b3
2011-01-12On-device linking.Shih-wei Liao
Change-Id: I609f575f1c2b9e9c3de0d8c16eb06b66b744bcb5
2011-01-07For caching, didn't do CompileBC. Rename bccCompileBC as bccPrepareExecutable.Shih-wei Liao
Change-Id: Ie63cd87bf377e2daf0c81d81c0bf86a6195edf46
2011-01-071. LOG 4 fatal error paths (TODO: These 4 places should signal Java exceptions.)Shih-wei Liao
2. Prepare on-device linking. 3. Clean up code. Change-Id: Iac4148431dbe1c3c4044f7394eb51a1332f513f9
2010-12-24Fix teardown bug found in books.Jason Sams
Change-Id: I9ac449b644108148b331e0c552f289bf80a07f7e
2010-12-23Clean-up.Shih-wei Liao
Change-Id: I43045da43a5e48e1bf759cd18c1b90d45f243450
2010-12-20Stale cache management to address a P1 bug # 3296131.Shih-wei Liao
Change-Id: I593f35a91c4a14c055828f8989fe01b9e7790039
2010-12-16Whenever LoadBinary fails, recompile. Fixing the multi-instance bug.Shih-wei Liao
Change-Id: Ib1565efe1353ed788a3ed3c81c6067e92d8ef0e5
2010-12-141. Add Context to a RenderScript or RenderScriptGL instance.Shih-wei Liao
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
2010-12-11Add multitouch support to physics test.Jason Sams
Fix context state overwrite calling invoke. Change-Id: I7a71237bcf36abb31f98eb6d872501fdfb007d81
2010-12-07Make ScriptC's mEnvironment.mIsThreadable survive the bcc caching andShih-wei Liao
then cache-reloading. Change-Id: I0f5d54160dd9ee567fae53c69b246f99096993da
2010-11-18Add caching support of BCC binaries.Shih-wei Liao
Change-Id: I1e75bb84d88319cb6f1bbe6d907cf6e8ed546142
2010-11-17Create holder inner class for pushing context state.Jason Sams
Fix bug with rsForEach corrupting parent context state. Remove workaround from rsBalls. Change-Id: I43a948536e70d44645d1c2ef7b97e1c5906f6943
2010-11-16Fix crash with extended debugging.Jason Sams
Change-Id: I982a7c7ea7ccae074be5254032c43a862137747a
2010-11-10Code cleanup to make formatting consistentAlex Sakhartchouk
across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
2010-11-01Add code to mark functions rather than whole files as threadable.Jason Sams
Change-Id: Ie635fbbb96b8ade48501ec564fe135edc256537d
2010-10-29Remove excessive logging.Jason Sams
Change-Id: I22497b1b169ca0f3edbc20649594f6f58f6144d0
2010-10-29Balls test app.Jason Sams
Change-Id: I842f43e37145f8112120e2bd49925f81c588c40c
2010-10-23Enable optimized bitcode that is also jitted faster.Shih-wei Liao
Change-Id: I08832cfaf4e8465c16b445eeb1b82f72d874d0ef