summaryrefslogtreecommitdiff
path: root/rsScriptC.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Cleanup error message for null binding address.Jason Sams2010-10-101-1/+3
| | | | | | | | | | | Only print the debug if script debugging is enabled. Change-Id: I72b9c2a73d49987a73b354442e9defec02b93bc6 Implement inner utiliy class to specify surface formats. Remove boxed bitmap upload functions. Change-Id: I3ff5ca59e53d02b9d75277afa947ea3d218459eb
* Removing fixed size arrays.Alex Sakhartchouk2010-10-081-9/+1
| | | | Change-Id: I5c65b29a197013de2517cfb6dbe7abb9e24a688b
* Fix clear() operation for rsScriptC.Stephen Hines2010-09-291-13/+17
| | | | | | | | | | | - This removes a memory leak where some elements were not getting tracked properly (and then triggering an assert when a context is destroyed). - Convert ScriptCState to use a tracked object reference for mScript. - Add a missing clear to FontState. - Clean up synchronization in RSTest so that our graphics context outlives any subtest context. Change-Id: I0d5768c4d2f8810dd1ae2f68b1edd7e150f382fd
* Fix safe for mp check in ScriptC.Jason Sams2010-09-281-6/+4
| | | | Change-Id: Id91b3c1e99b2705fd39f9e74a52c61110805e246
* Adding timer to display renderscript jit duration.Alex Sakhartchouk2010-09-261-8/+11
| | | | Change-Id: I8ab1dea60a833cd11771cf145cadbc96ac52b934
* Better debugging for scripts.Jason Sams2010-09-221-19/+26
| | | | Change-Id: I916cea86dcfdb43a9465708ea4a16f19cbe42370
* Cleanup GL setup code and remove legacy 1.1 paths.Jason Sams2010-09-161-2/+9
| | | | | | Reset pointers to NULL when allocations are unbound. Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
* Fix header path.Anatol Pomazau2010-09-071-1/+1
| | | | | | Now libbcc is located under framework/compile Change-Id: I39cd0d27da73ce31e8cb92772bfda3a942ccd27c
* Thread launch strategies.Jason Sams2010-08-121-2/+5
| | | | Change-Id: I506df786e815205a8e51906c2b517302c1ef2471
* Use bccGetExportVars to get mFieldCount, instead of hardwiring "100" in calloc.Shih-wei Liao2010-07-201-3/+7
| | | | Change-Id: I6023b93865f785779b966acf03bf120078ac3c74
* Update imageprocessing to remove generated files.Jason Sams2010-07-201-22/+24
| | | | | | Fix thread launch race condition. Change-Id: I24d7f87ac87db6f9e3418d6a429471a71d2c9e9d
* Threading RS ForEach.Jason Sams2010-07-191-39/+122
| | | | Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
* 1st cut of ForEach and test.Jason Sams2010-07-151-46/+71
| | | | Change-Id: I6534569c8d26db8b9691666134a555c8bf94184e
* Remove InvokeData and add ContextFinish to generate a sync point.Jason Sams2010-06-151-8/+16
| | | | Change-Id: I27da8bf5fba2c8a428964cb6a5e66dd7a94958d8
* Begin using reflected files.Jason Sams2010-06-081-26/+3
| | | | Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
* Rough implemetation of ForEach.Jason Sams2010-05-281-25/+72
| | | | | | Remove launchID from root graphics script. Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
* Begin naming cleanup for renderscript runtime.Jason Sams2010-05-191-6/+57
| | | | | | Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9