summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC.h
Commit message (Collapse)AuthorAgeFilesLines
* Moving libRSAlex Sakhartchouk2012-03-281-95/+0
| | | | Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
* Merge "Support running ForEach on non-root functions."Stephen Hines2012-02-231-1/+2
|\
| * Support running ForEach on non-root functions.Stephen Hines2012-02-221-1/+2
| | | | | | | | | | | | BUG=6000538 Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
* | Rename three header files to free namespace for api.Jason Sams2012-02-161-1/+1
|/ | | | Change-Id: Ie9ef65a477373c30b2d5b02248f62e768b6f27ae
* Start using bcinfo components within librs.Stephen Hines2011-08-031-0/+7
| | | | | | BUG=4942491 Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
* More work to make libRS buildable on the host.Alex Sakhartchouk2011-06-031-1/+1
| | | | Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
* Create runtime stubs for compute driver.Jason Sams2011-04-201-0/+1
| | | | Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
* Migrate thread launch to driver.Jason Sams2011-03-171-1/+1
| | | | Change-Id: If182c524cceb327547640f22f956856d291d1787
* Start seperating out RS compute implementation. Create halJason Sams2011-03-171-18/+3
| | | | | | layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
* Moving dependency includes out of librs headers.Alex Sakhartchouk2011-02-251-2/+2
| | | | | | When we want to use it on the host, we shouldn't need to go hunting for every external dependency Change-Id: I885262acdcdf5ede4a9392235f35d5e2f7038e8b
* Correctly free resouces bound to scripts when the scripts are deleted.Jason Sams2011-01-271-0/+4
| | | | | Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070 b: 3381615
* Cleanup script init to fix bogus log printing andJason Sams2011-01-231-5/+2
| | | | | | reduce memory churn. Change-Id: I0bf5392102e3d59fea81f5f9f832887113602b7f
* Check and propogate errors from llvm.Jason Sams2011-01-191-1/+1
| | | | Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
* bcc interface fixed.Shih-wei Liao2011-01-141-4/+2
| | | | Change-Id: I81349750e58f119a9c2ad596f376c7e39d5f0d4e
* 1. LOG 4 fatal error paths (TODO: These 4 places should signal Java exceptions.)Shih-wei Liao2011-01-071-1/+1
| | | | | | | 2. Prepare on-device linking. 3. Clean up code. Change-Id: Iac4148431dbe1c3c4044f7394eb51a1332f513f9
* Rename bcc::BCCscript -> bcc::Script. Ideally, should do:Shih-wei Liao2011-01-031-2/+2
| | | | | | include bcc.h instead of forward declaration. Change-Id: I649f62d240ed4e13eb95a8988a9ee202b19e7436
* Stale cache management to address a P1 bug # 3296131.Shih-wei Liao2010-12-201-1/+1
| | | | Change-Id: I593f35a91c4a14c055828f8989fe01b9e7790039
* 1. Add Context to a RenderScript or RenderScriptGL instance.Shih-wei Liao2010-12-141-1/+1
| | | | | | | | | 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
* Fix 'BCCscript' build break.Iain Merrick2010-11-291-2/+4
| | | | | | | | | | | | frameworks/compile/libbcc/include/bcc/bcc.h was updated in change I3f3d31fc. What used to be "struct BCCscript" is now "class bcc::BCCscript" for C++ code. Looks like the framework/base header rsScriptC.h is just trying to forward-declare the same type, so we just need to make the same change there. Change-Id: I6f6f9dd7608af01d519c2e26fd9b5e6649f71902
* Add caching support of BCC binaries.Shih-wei Liao2010-11-181-4/+1
| | | | Change-Id: I1e75bb84d88319cb6f1bbe6d907cf6e8ed546142
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-5/+2
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Add code to mark functions rather than whole files as threadable.Jason Sams2010-11-011-0/+1
| | | | Change-Id: Ie635fbbb96b8ade48501ec564fe135edc256537d
* Removing fixed size arrays.Alex Sakhartchouk2010-10-081-5/+0
| | | | Change-Id: I5c65b29a197013de2517cfb6dbe7abb9e24a688b
* Fix clear() operation for rsScriptC.Stephen Hines2010-09-291-2/+4
| | | | | | | | | | | - 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
* 1st cut of ForEach and test.Jason Sams2010-07-151-3/+5
| | | | Change-Id: I6534569c8d26db8b9691666134a555c8bf94184e
* Creating the jni and java layer to integrate a3dAlex Sakhartchouk2010-06-041-2/+1
| | | | Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
* Rough implemetation of ForEach.Jason Sams2010-05-281-5/+12
| | | | | | Remove launchID from root graphics script. Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
* Removed unnecessary change based on comments.Alex Sakhartchouk2010-05-211-2/+4
| | | | | | | | | | | | | | | | | Now using android utils lib. collada_to_a3d seems to work with android util libs. Integrating old changelist Changing assert to rsAssrt in VertexArray making context compile. Change-Id: I33890defa777f09253bfab630d97782359ec49d7 Added serialization code to rsLib Integrated old changelist Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311 Added serialization code to rsLib Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311
* Begin naming cleanup for renderscript runtime.Jason Sams2010-05-191-0/+5
| | | | | | Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
* Split ScriptC Lib into CL, GL, and basic.Jason Sams2010-05-181-1/+3
| | | | Change-Id: Iadab35f2a967a1afd7a2fd13216d0a7acf4b6a50
* Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.Jason Sams2010-05-171-0/+2
| | | | Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
* Convert renderscript from using ACC to LLVM for its compiler.Jason Sams2010-05-111-16/+6
| | | | | | | This will also require application to be updated to support the new compiler and data passing models. Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
* Throttle low priority RS threads by sleeping once per frame to avoid ↵Jason Sams2009-12-091-1/+1
| | | | starving other apps.
* Fix RS bugs. We were holding a pointer to the script text from the java vm. ↵Jason Sams2009-11-031-4/+0
| | | | Move freeing of objects to before context teardown to allow allocations to clean up their data.
* Reduce debugging spew and add props to selectivly re-enable it.Jason Sams2009-09-251-2/+2
| | | | change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-1/+1
| | | | force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
* Fix invokables to make sure script pointers are setup before invoking ↵Jason Sams2009-09-241-0/+1
| | | | function calls. Reduce app startup time up to 1s.
* Implement renderscript Invokables.Jason Sams2009-09-161-5/+3
|
* Improve structure support using symbol lookup of named structures in scripts ↵Jason Sams2009-09-031-0/+4
| | | | to allow them to appear as just pointers to structs.
* Update fountain and add writable flag to script slots.Jason Sams2009-08-171-0/+1
|
* Implement named slots and convert script.addType to script.setType to remove ↵Jason Sams2009-08-131-1/+1
| | | | ordering restrictions.
* Implement reflecting Java objects into the ACC enviroment.Jason Sams2009-08-121-1/+3
|
* Let java put #defines into renderscriptJoe Onorato2009-08-091-0/+6
|
* Split rsScriptC into class implemtation and library functions. Update test ↵Jason Sams2009-07-201-2/+4
| | | | apps, all 3 should be working.
* Fix conflict with automatic DPI support on high density devices by forcing ↵Jason Sams2009-07-161-0/+1
| | | | bitmap loading to not be scaled.
* Update rollo and renderscript to the new ACC compiler interface.Jason Sams2009-07-161-0/+8
|
* checkpoint filmstrip, implemented TLS.Jason Sams2009-06-191-6/+0
|
* Add named objects and implement support for ProgramFragmentStore and ↵Jason Sams2009-06-101-1/+1
| | | | ProgramFragment to be used by name in scripts.
* checkpoint pragma support. Includes more cleanup of script enviroment ↵Jason Sams2009-06-091-1/+1
| | | | storage to keep the env settings in the base and only the per language state in ScriptC.
* Move placement of script enviroment data to base.Jason Sams2009-06-081-13/+3
|