summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Split ScriptC Lib into CL, GL, and basic.Jason Sams2010-05-181-1/+11
| | | | Change-Id: Iadab35f2a967a1afd7a2fd13216d0a7acf4b6a50
* Remove excess logging.Jason Sams2010-05-171-2/+0
| | | | Change-Id: Ib4af6428c5fd87c3891f41eca6ca43d84f0edc97
* Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.Jason Sams2010-05-171-0/+16
| | | | Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
* Delete legacy setDefine API.Jason Sams2010-05-141-10/+0
| | | | Change-Id: I1bae13533ab9efea3d3b0ebb6a3711343e922f8a
* Rename ProgramFragmentStore to ProgramStore.Jason Sams2010-05-131-1/+1
| | | | Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
* Convert renderscript from using ACC to LLVM for its compiler.Jason Sams2010-05-111-189/+57
| | | | | | | This will also require application to be updated to support the new compiler and data passing models. Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
* Improve RS error handling. On errors RS will now store the error and a ↵Jason Sams2010-03-031-1/+8
| | | | message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received.
* Add RS support for generic attribs as input to vertex programs.Jason Sams2010-01-041-1/+0
|
* Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-231-39/+26
| | | | | | the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures. This will break some apps, checkings for other projects will follow to unbreak them.
* Continue development of es2.0 user shader support for renderscript. This ↵Jason Sams2009-12-151-9/+9
| | | | change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
* Throttle low priority RS threads by sleeping once per frame to avoid ↵Jason Sams2009-12-091-3/+3
| | | | starving other apps.
* Fix RS bugs. We were holding a pointer to the script text from the java vm. ↵Jason Sams2009-11-031-1/+7
| | | | Move freeing of objects to before context teardown to allow allocations to clean up their data.
* Fix tls crash on startup if more than one RS contexts are created in one ↵Jason Sams2009-10-061-0/+1
| | | | process.
* Fix but processing raster state pragma.Jason Sams2009-09-281-2/+18
| | | | rename stateFragmentStore to stateStore
* Improved object lifecycle tracking and fix leaks.Jason Sams2009-09-251-0/+2
|
* Reduce debugging spew and add props to selectivly re-enable it.Jason Sams2009-09-251-9/+17
| | | | change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-2/+3
| | | | 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.
* Minor cleanup of profile and compile logging.Jason Sams2009-09-241-1/+1
|
* Fix invokables to make sure script pointers are setup before invoking ↵Jason Sams2009-09-241-6/+10
| | | | function calls. Reduce app startup time up to 1s.
* Implement renderscript Invokables.Jason Sams2009-09-161-80/+49
|
* Remove "predefined" elements from Java layer. Static elements continue to ↵Jason Sams2009-09-041-0/+4
| | | | exist but are no longer treated as a special version of element.
* Improve structure support using symbol lookup of named structures in scripts ↵Jason Sams2009-09-031-3/+78
| | | | to allow them to appear as just pointers to structs.
* Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh ↵Jason Sams2009-08-271-1/+1
| | | | which replaces TriangleMesh. Update Film to use new builder.