summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC_Lib.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve RS error handling. On errors RS will now store the error and a ↵Jason Sams2010-03-031-6/+18
| | | | 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.
* Support defered generation of mipmaps. With this change we support mipmap ↵Jason Sams2010-02-231-1/+1
| | | | generation when the texture is uploaded to GL without requiring RS to retain the full chain.
* Cleanup seperation of Legacy and user attribs. All user programs now use ↵Jason Sams2010-01-251-4/+4
| | | | the new names. Legacy vertex attribs are given default names.
* am b3699b14: am 836e1666: Merge "add drawSpriteScreenspaceCropped to ↵Joe Onorato2010-01-201-0/+13
|\ | | | | | | | | | | | | | | | | renderscript" into eclair Merge commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be' * commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be': add drawSpriteScreenspaceCropped to renderscript
| * add drawSpriteScreenspaceCropped to renderscriptJoe Onorato2010-01-141-0/+13
| |
* | Implement type generation for user uniforms in vertex shader.Jason Sams2010-01-121-0/+10
| |
* | More complete support for named attribs. Adds user typed attribs as ↵Jason Sams2010-01-061-3/+1
| | | | | | | | available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
* | Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-231-19/+19
| | | | | | | | | | | | 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.
* | Move texture bindings to base program object. Change ProgramFragment ↵Jason Sams2009-12-171-11/+9
| | | | | | | | creation to require a texture format in 1.0 mode.
* | Fix live wallpaper many. Z coordinate was being ignored for draw quad call.Jason Sams2009-12-161-1/+1
| |
* | Fix emulated glColor in es2 mode.Jason Sams2009-12-161-0/+4
| |
* | Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 ↵Jason Sams2009-11-251-46/+57
|/ | | | can be enabled and will render most tests correctly.
* Don't feed the timezone to RenderScript time functions, let the library ↵Romain Guy2009-11-111-55/+18
| | | | | | | | figure it out. Bug #2211070. Change-Id: I5975651fd12399fb8dfe283dfdfaa17569738c7b
* Add new RenderScript sample: ImageProcessing.Romain Guy2009-10-091-0/+75
| | | | Change-Id: I5e482bbc34911c940a3a74258f8f8549b1939bc4
* Add script to script call support. Add exception to catch out of bound ↵Jason Sams2009-10-071-0/+10
| | | | index data when added to TriangleMeshBuilder.
* Implement data push from scripts. Fixes the problem where apps would have ↵Jason Sams2009-10-061-0/+8
| | | | | | | | to poll to monitor a scripts state. Fix bug in StoreState where state could be overridden by the default unless the script used more than one state. Change only impacts renderscript and renderscript apps.
* Implement screen aligned bitmap drawing support.Jason Sams2009-09-301-0/+48
|
* absf() -> fabsf() instead of fabs()Romain Guy2009-09-291-1/+1
| | | | Change-Id: I5571a635757295aa1514aeaff72e80cc3dd8752c
* Fix but processing raster state pragma.Jason Sams2009-09-281-0/+21
| | | | rename stateFragmentStore to stateStore
* Remove depricated triangleMesh.Jason Sams2009-09-231-33/+10
|
* Clean up some debugging and add 2 math lib routines.Jason Sams2009-09-181-0/+14
|
* Fix point sprites.Romain Guy2009-09-041-0/+8
| | | | Change-Id: Ic9438daaf25f3969a0dd5b634b7cceccbbbfb27b
* Remove "predefined" elements from Java layer. Static elements continue to ↵Jason Sams2009-09-041-6/+93
| | | | exist but are no longer treated as a special version of element.
* Cleanup the Galaxy, add a few RS functions for Grass.Romain Guy2009-08-201-2/+39
|
* Tweak the galaxyRomain Guy2009-08-181-0/+42
|
* Update fountain and add writable flag to script slots.Jason Sams2009-08-171-0/+36
|
* Implement reflecting Java objects into the ACC enviroment.Jason Sams2009-08-121-1/+0
|
* Implement basic allocation readback. Add Get height, width to ScriptC_Lib.Jason Sams2009-08-101-30/+18
|
* Make the laves follow the ripplesRomain Guy2009-08-091-0/+9
|
* add three rs functions: uptimeMillis, startTimeMillis, elapsedTimeMillisJoe Onorato2009-08-091-6/+31
|
* Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams2009-08-091-26/+55
| | | | object destruction tracking.
* Better ripples and leavesRomain Guy2009-08-091-8/+37
|
* Add refraction and bettr normals computation to FallRSRomain Guy2009-08-071-23/+23
|
* Add lighting to animated water ripples.Romain Guy2009-08-061-0/+63
|
* Use arrays in Grass RSRomain Guy2009-08-061-6/+7
|
* Add ability to load arrays in RenderScript.Romain Guy2009-08-041-0/+20
|
* Add swaying effect to the grass.Romain Guy2009-08-041-0/+11
|
* Add new utility methods to rsScriptC_Lib, android.util.MathUtil and ↵Romain Guy2009-07-311-1/+56
| | | | | | android.graphics.Color. Fixes RS compilation.
* Add several math functions to rsScript_Lib.Romain Guy2009-07-311-1/+184
|
* First pass at implementing the Grass live wallpaper in RenderScript.Romain Guy2009-07-301-0/+67
| | | | This change also adds second(), minute() and hour() to the RS library.
* Filmstrip work and boxed bitmap load bugfixes.Jason Sams2009-07-291-2/+2
|
* Add new icons and implement text. Fix bug with uploading 8888 bitmaps of ↵Jason Sams2009-07-281-1/+12
| | | | non-square size.
* Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the ↵Jason Sams2009-07-281-30/+53
| | | | smallest larger pow texture. The added space is filled black.
* Enable light sources and update film test app.Jason Sams2009-07-211-0/+8
|
* Split rsScriptC into class implemtation and library functions. Update test ↵Jason Sams2009-07-201-0/+523
apps, all 3 should be working.