summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of warnings when compiled with -Wformat-securityNick Kralevich2010-05-131-3/+3
| | | | Change-Id: I63c3bf786bbe7a0276624e71a4ba80c4a9aaa4bb
* 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
|
* Update rollo with new interactivity model.Jason Sams2009-07-161-2/+70
|
* Add support for multitexture and fix allocation ref counting bug in RS. Add ↵Jason Sams2009-07-021-2/+9
| | | | plaque to rollo and leave it disabled due to ugly appearance.
* Update rollo with icon images.Jason Sams2009-07-011-2/+2
|
* Update rollo and support functions. Includes mockup of some new ui concepts.Jason Sams2009-07-011-0/+54
|
* Cleanup logging and fix a startup race condition that manifested on Firestone.Jason Sams2009-06-231-4/+0
|
* Cleanup includes so Log.h can use the tag. rsUtils.h is the file that ↵Jason Sams2009-06-221-0/+3
| | | | should be included everywhere and contain rs global defines.
* implement modeview matrix sliding from within scripts.Jason Sams2009-06-191-0/+10
|
* checkpoint filmstrip, implemented TLS.Jason Sams2009-06-191-94/+91
|
* Implement default programs and implement defaults and parents for imports.Jason Sams2009-06-171-8/+33
|
* Switch fountain to use ProgramVertex rather than hard coded camers in ↵Jason Sams2009-06-161-7/+0
| | | | scripts. Remove camera code from scripts.
* Fix bug with bad conversion of java strings to C strings for object names. ↵Jason Sams2009-06-101-3/+9
| | | | Update test app to test object defines.
* Add named objects and implement support for ProgramFragmentStore and ↵Jason Sams2009-06-101-85/+21
| | | | ProgramFragment to be used by name in scripts.
* checkpoint pragma support. Includes more cleanup of script enviroment ↵Jason Sams2009-06-091-0/+131
| | | | storage to keep the env settings in the base and only the per language state in ScriptC.
* Fix build issue and ref count bug with scripts.Jason Sams2009-06-081-44/+35
|
* Move call to compiler from jni to core library code.Jason Sams2009-06-051-1/+29
|
* Add support for scripts to return an animation flag. This allows them to ↵Jason Sams2009-06-041-2/+2
| | | | indicate they are generating changing content and the rs thread to sleep if the content is static.
* Delete the acc script when deleting the Renderscript rsScriptC object.Jack Palevich2009-05-281-1/+14
| | | | Previously we had been leaking the ACCscript object.
* Implement first pass bitmap to allocation support. The Java bindings can ↵Jason Sams2009-05-271-4/+38
| | | | create a 2D allocation by passing in a Bitmap object.