summaryrefslogtreecommitdiff
path: root/libs/rs/rsScriptC_Lib.cpp
AgeCommit message (Collapse)Author
2012-03-28Moving libRSAlex Sakhartchouk
Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
2012-03-09More header untangling.Alex Sakhartchouk
Change-Id: I090943775cbda8d9515cdb484957f6b05d5b1799
2012-02-22Support running ForEach on non-root functions.Stephen Hines
BUG=6000538 Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
2012-01-08Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
2011-06-14Allocation copy functions.Alex Sakhartchouk
Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
2011-04-20Create runtime stubs for compute driver.Jason Sams
Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
2011-03-17Migrate thread launch to driver.Jason Sams
Change-Id: If182c524cceb327547640f22f956856d291d1787
2011-03-17Start seperating out RS compute implementation. Create halJason Sams
layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
2011-03-14Make RS Matrix functions threadable.Stephen Hines
BUG=4100079 Change-Id: I6cefa0eab42481fa974077d6aed98007f9fd87f7
2011-03-03DO NOT MERGE: Almost all warnings are now errors in RS build.Stephen Hines
Change-Id: Ie4952cdf5c75bf1b7a7899a32b3b1f8747686356
2011-02-04Add support for memcpy/memset to RS.Stephen Hines
Bug: 3426446 Change-Id: I78170a50bdd891d928b3db96685b4c3c801b6f00
2011-01-25Migrating functions for on device linking.Jason Sams
Change-Id: I41dc1551ada53370f2b06c49cc76089b1e72ac5b
2011-01-24Add missing functions to math library.Stephen Hines
This also updates the math test suite to exercise all the basic operator functions (except __udivsi3 which may not be 100% necessary). There is also a small fix for rsQuaternionMultiply(). Change-Id: Id157e6d5ebe2e20c17e8ea7b13ffaa74c241838c b: 3203577
2011-01-18Correctly log debugging info as debug.Jason Sams
Change-Id: I1169e015288d7d91b7ecbdd991e815152740e68d
2011-01-09Split time functions into rs_time.rsh header.Stephen Hines
Change-Id: I598b0031d15749c91d11fbd37b075d0564a94dbf
2010-12-08Allocation API update.Jason Sams
Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
2010-11-15Add support for integer mod.Bryan Mawhinney
Change-Id: I681b8220c8b39d865ade036a93ba93a965e259c9
2010-11-10Code cleanup to make formatting consistentAlex Sakhartchouk
across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
2010-11-08Handle user message ID 0Jason Sams
Pass RS runtime errors back to java. throw exceptions for runtime errors. Change-Id: Ifcf16cbbf9b98137971dced5076f8a5563eb016c
2010-11-01Add code to mark functions rather than whole files as threadable.Jason Sams
Change-Id: Ie635fbbb96b8ade48501ec564fe135edc256537d
2010-10-15Add support for rsDebug with 64-bit types.Stephen Hines
Bug: 3099081 Change-Id: Ieb3af7757489876ef951be8527aa73f69e1481fd
2010-09-30Add object validity checking.Jason Sams
Change-Id: I2613e87b09a6e560f0381d4ed620d60a10bc30e4
2010-09-17Fix function name match for refcounting funcs.Jason Sams
Change-Id: I3fa8211200023e0df494cd9aab698e215b3c2164
2010-09-02Adding ability to dirty the allocation and notify shaders using it.Alex Sakhartchouk
Change-Id: Id5ac8dbba5185cb1f43bedcf4098fcef9f477c51
2010-09-01Remove ACC and other legacy bits from RS.Jason Sams
Change-Id: I12a3b0477f3201ec7ca63564ae2b387ecc89dedf
2010-08-16Support reference operations in RS scripts.Jason Sams
Change-Id: I9cb5f3cb71823ab24ca51bf0167a0f52cf0691f9
2010-08-06Fix debugging support for float vectors and add matrix debugging.Jason Sams
Change-Id: Ie1ee3764a32889f3c39b923186f14af74ecb772f
2010-07-29Cleanup of signed/unsignedJason Sams
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
2010-07-28Cleanup sendToClient and add rsGetDt().Jason Sams
Remove legacy implemtation of matrix calls which were moved to llvm bc. Change-Id: I527740590067db3bcb2147233ef41fb057f1d2a8
2010-07-19Threading RS ForEach.Jason Sams
Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
2010-07-151st cut of ForEach and test.Jason Sams
Change-Id: I6534569c8d26db8b9691666134a555c8bf94184e
2010-06-24Add matrix ops to RSH headers.Jason Sams
Change-Id: I7e2843983a12e0155114b4a18813799e4341d26f
2010-05-28Rough implemetation of ForEach.Jason Sams
Remove launchID from root graphics script. Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
2010-05-20Remove noise functions and update images processing to use new rs namespace ↵Jason Sams
names. Change-Id: I2dc9b5ec7877acd630bea1a011ecc4a6d43a31eb
2010-05-19Begin naming cleanup for renderscript runtime.Jason Sams
Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
2010-05-18Split ScriptC Lib into CL, GL, and basic.Jason Sams
Change-Id: Iadab35f2a967a1afd7a2fd13216d0a7acf4b6a50
2010-05-17Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.Jason Sams
Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
2010-05-13Rename ProgramFragmentStore to ProgramStore.Jason Sams
Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
2010-05-12Add missing bindProgramRaster to scriptC_lib.Jason Sams
Change-Id: I06a7075a94ef907478f986b59ded4ff3e2766585
2010-05-11Convert renderscript from using ACC to LLVM for its compiler.Jason Sams
This will also require application to be updated to support the new compiler and data passing models. Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
2010-03-03Improve RS error handling. On errors RS will now store the error and a ↵Jason Sams
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.
2010-02-23Support defered generation of mipmaps. With this change we support mipmap ↵Jason Sams
generation when the texture is uploaded to GL without requiring RS to retain the full chain.
2010-01-25Cleanup seperation of Legacy and user attribs. All user programs now use ↵Jason Sams
the new names. Legacy vertex attribs are given default names.
2010-01-20am b3699b14: am 836e1666: Merge "add drawSpriteScreenspaceCropped to ↵Joe Onorato
renderscript" into eclair Merge commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be' * commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be': add drawSpriteScreenspaceCropped to renderscript
2010-01-14add drawSpriteScreenspaceCropped to renderscriptJoe Onorato
2010-01-12Implement type generation for user uniforms in vertex shader.Jason Sams
2010-01-06More complete support for named attribs. Adds user typed attribs as ↵Jason Sams
available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
2009-12-23Element restructuring. Add support for new basic Element types including ↵Jason Sams
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.
2009-12-17Move texture bindings to base program object. Change ProgramFragment ↵Jason Sams
creation to require a texture format in 1.0 mode.
2009-12-16Fix live wallpaper many. Z coordinate was being ignored for draw quad call.Jason Sams