summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC_Lib.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Allocation API update.Jason Sams2010-12-081-2/+4
| | | | Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
* Add support for integer mod.Bryan Mawhinney2010-11-151-1/+5
| | | | Change-Id: I681b8220c8b39d865ade036a93ba93a965e259c9
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-72/+36
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Handle user message ID 0Jason Sams2010-11-081-4/+4
| | | | | | | Pass RS runtime errors back to java. throw exceptions for runtime errors. Change-Id: Ifcf16cbbf9b98137971dced5076f8a5563eb016c
* Add code to mark functions rather than whole files as threadable.Jason Sams2010-11-011-84/+84
| | | | Change-Id: Ie635fbbb96b8ade48501ec564fe135edc256537d
* Add support for rsDebug with 64-bit types.Stephen Hines2010-10-151-1/+18
| | | | | Bug: 3099081 Change-Id: Ieb3af7757489876ef951be8527aa73f69e1481fd
* Add object validity checking.Jason Sams2010-09-301-7/+15
| | | | Change-Id: I2613e87b09a6e560f0381d4ed620d60a10bc30e4
* Fix function name match for refcounting funcs.Jason Sams2010-09-171-4/+55
| | | | Change-Id: I3fa8211200023e0df494cd9aab698e215b3c2164
* Adding ability to dirty the allocation and notify shaders using it.Alex Sakhartchouk2010-09-021-0/+7
| | | | Change-Id: Id5ac8dbba5185cb1f43bedcf4098fcef9f477c51
* Remove ACC and other legacy bits from RS.Jason Sams2010-09-011-1/+0
| | | | Change-Id: I12a3b0477f3201ec7ca63564ae2b387ecc89dedf
* Support reference operations in RS scripts.Jason Sams2010-08-161-3/+22
| | | | Change-Id: I9cb5f3cb71823ab24ca51bf0167a0f52cf0691f9
* Fix debugging support for float vectors and add matrix debugging.Jason Sams2010-08-061-12/+28
| | | | Change-Id: Ie1ee3764a32889f3c39b923186f14af74ecb772f
* Cleanup of signed/unsignedJason Sams2010-07-291-34/+11
| | | | | | | | | | | | | | Make all functions overloadable. Change-Id: I443c83afcf9a7acfae394585201f081681f309db Update examples. Change-Id: I100d6fa8dd1af376bcee0b2c42c5aabe9c03bb6e force rebuild of all .rs files to pick up core header changes. Change-Id: I6231a8a024388481ca231507e83b108ebdbc3500
* Cleanup sendToClient and add rsGetDt().Jason Sams2010-07-281-121/+57
| | | | | | Remove legacy implemtation of matrix calls which were moved to llvm bc. Change-Id: I527740590067db3bcb2147233ef41fb057f1d2a8
* Threading RS ForEach.Jason Sams2010-07-191-0/+33
| | | | Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
* 1st cut of ForEach and test.Jason Sams2010-07-151-46/+15
| | | | Change-Id: I6534569c8d26db8b9691666134a555c8bf94184e
* Add matrix ops to RSH headers.Jason Sams2010-06-241-196/+0
| | | | Change-Id: I7e2843983a12e0155114b4a18813799e4341d26f
* Rough implemetation of ForEach.Jason Sams2010-05-281-1/+59
| | | | | | Remove launchID from root graphics script. Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
* Remove noise functions and update images processing to use new rs namespace ↵Jason Sams2010-05-201-28/+0
| | | | | | names. Change-Id: I2dc9b5ec7877acd630bea1a011ecc4a6d43a31eb
* Begin naming cleanup for renderscript runtime.Jason Sams2010-05-191-115/+113
| | | | | | Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
* Split ScriptC Lib into CL, GL, and basic.Jason Sams2010-05-181-695/+1
| | | | Change-Id: Iadab35f2a967a1afd7a2fd13216d0a7acf4b6a50
* Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.Jason Sams2010-05-171-0/+10
| | | | Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
* Rename ProgramFragmentStore to ProgramStore.Jason Sams2010-05-131-12/+3
| | | | Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
* Add missing bindProgramRaster to scriptC_lib.Jason Sams2010-05-121-2/+6
| | | | Change-Id: I06a7075a94ef907478f986b59ded4ff3e2766585
* Convert renderscript from using ACC to LLVM for its compiler.Jason Sams2010-05-111-484/+460
| | | | | | | 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-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
|