summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove bogus comments and logging.Jason Sams2009-08-251-2/+2
|
* Update fountain and add writable flag to script slots.Jason Sams2009-08-171-0/+2
|
* Implement named slots and convert script.addType to script.setType to remove ↵Jason Sams2009-08-131-29/+50
| | | | ordering restrictions.
* Implement reflecting Java objects into the ACC enviroment.Jason Sams2009-08-121-3/+34
|
* Let java put #defines into renderscriptJoe Onorato2009-08-091-1/+38
|
* add three rs functions: uptimeMillis, startTimeMillis, elapsedTimeMillisJoe Onorato2009-08-091-0/+6
|
* Split ProgramFragment and ProgramStore from RenderScript.java. Update ↵Jason Sams2009-08-041-31/+4
| | | | Element and Type to new cached builder for easier app developement.
* First pass at implementing the Grass live wallpaper in RenderScript.Romain Guy2009-07-301-0/+6
| | | | This change also adds second(), minute() and hour() to the RS library.
* Enable light sources and update film test app.Jason Sams2009-07-211-5/+1
|
* Split rsScriptC into class implemtation and library functions. Update test ↵Jason Sams2009-07-201-460/+4
| | | | apps, all 3 should be working.
* Fix fountain and more rollo ui work.Jason Sams2009-07-171-10/+24
|
* More usability tweaks including turning the icons right side up.Jason Sams2009-07-161-13/+2
|
* Fix conflict with automatic DPI support on high density devices by forcing ↵Jason Sams2009-07-161-65/+24
| | | | bitmap loading to not be scaled.
* Update rollo and renderscript to the new ACC compiler interface.Jason Sams2009-07-161-16/+59
|