History log of /frameworks/rs/scriptc/rs_math.rsh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d46cf8ecf171e3cb27a394f6db8dc4fbdf6272b3 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Updated header files with new API level for f16 math functions

http://b/23536224

Change-Id: Ia93afb1de11b66c6e7683d3446a2ae2be72d1013
/frameworks/rs/scriptc/rs_math.rsh
291330fbaf7486a1cea33de7dd26c18e57c71391 12-Feb-2016 Stephen Hines <srhines@google.com> Update copyright dates on generated headers.

(cherry picked from commit 2cfa205dc73ce7ecef5f437332e15f6cb33f1ce0)

Change-Id: I4bc18ed73e05614d445d14315263782fa9592295
/frameworks/rs/scriptc/rs_math.rsh
8b5b941b1123afe748c45be67d6c8b4e22de1df6 06-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update RS headers with fract, frexp and modf for half

http://b/23536224

(cherry picked from commit f300e17a47cbeea00bbf655cad873d2069d7a14d)

Change-Id: If3d7b32ee42eaa89d30b85724954f46c92d21e43
/frameworks/rs/scriptc/rs_math.rsh
f86ea3f450f2e8c68e8660cf348f6cf480994af2 04-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update RS headers with copysign, ilogb and nextafter

http://b/23536224

Change-Id: If05a461dd90271d41c5bdb35400048f9f8a6dc55
/frameworks/rs/scriptc/rs_math.rsh
9cbc99ba45126a6a30ba13fc6d4e75e51ca14ea7 16-Nov-2015 Verena Beckham <verena@codeplay.com> Move implementation of fract(float) into driver/runtime.

Move the implementation of the float variant of fract from rs_math.rsh
into driver/runtime. The old implementation remains in place for older
versions, and the move occurs only for API level >= 24.

Signed-off-by: Verena Beckham <verena@codeplay.com>
Change-Id: Id94e7191604d5ccaee41b6634731ee997bf01983
/frameworks/rs/scriptc/rs_math.rsh
a4d25bc511c86bb402890ce480ef581654319d75 12-Nov-2015 Verena Beckham <verena@codeplay.com> Remove the always_inline attribute on all RS builtins.

Remove the always_inline attribute on all RenderScript builtins
in the specification files. This leads to the removal of that
attribute from the declarations of all those functions in the
RenderScript header files.
Also, updates a comment in the unrelated file rs_for_each.rsh.
I presume someone forgot to update that when they changed the
corresponding spec file.

Signed-off-by: Verena Beckham <verena@codeplay.com>

Change-Id: Ia4cdffdbdc9866a5b961356218dd01732bf2e830
/frameworks/rs/scriptc/rs_math.rsh
586539cd7d8b1e92cd6c9c31220be56969482ad6 10-Dec-2015 Pirama Arumuga Nainar <pirama@google.com> Generated .rsh files for f16 math functions

Automatically generated from the spec file change in
https://android-review.googlesource.com/#/c/186324/

Bug: 23536224
Bug: 26099914

Change-Id: I59033a10ffbb06d7d2528b18548b3249da5e7fbb
/frameworks/rs/scriptc/rs_math.rsh
e6128fff9f6b64ae5bebe0f01de2ea1bfaba8ef8 07-Dec-2015 Pirama Arumuga Nainar <pirama@google.com> Fix variable name mismatch in modf's description

Use the actual parameter name (integer_part) in the description of modf.
This commit also includes the updated rs_math.rsh.

Change-Id: I461f73478f63b315c6bf63d0ef5071d28794845f
/frameworks/rs/scriptc/rs_math.rsh
7cf263d593c057af8da8d57025e7315c4ed21ea2 21-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> Restore missing min and max API.

min(float2/3/4, float) and max(float2/3/4, float) were defined in our
headers in K. In L, they were removed by mistake. This continued to
work however because a float would be auto converted by the compiler to
a float4.

In M, we started validating for unexpected external references, which
_Z3minDv4_ff is. This can prevent programs compiled with K from running
on M.

This CL restores the declarations. Corresponding CLs will fix the whitelist
and add CTS tests.

Bug:23389429

Change-Id: I3f91830a14b7e01cf1b6ea954fa6dd2fc9d71286
/frameworks/rs/scriptc/rs_math.rsh
36e2be56cd398bf4a318114bbc9fa3f4573c158f 30-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Generate __attribute__(deprecated) for deprecated APIs.

We allow also a custom deprecation message.

Change-Id: I297bed611c7fbbb34d41e7edd796557c9afe50da
/frameworks/rs/scriptc/rs_math.rsh
6386ceb3bf25e442513224aaa45691dfe49562d9 29-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> API Runtime Reference documentation tweaks.

Many small changes. Among them:
- Cleaned up the boiler plate HTML used for -H option to the minimal possible.
- Cleaned line break of the comments to make them more consistent in the
.rsh files.
- Added missing summaries.
- Make the style of argument comments more consistent.
- Fixed missing HTML escaping.
- Fixed generation of the snippets for the .cs file.
- Improved the documentation about the math precision.
- Reworked the documentation of object types.

Change-Id: I8b229720134aac6d46a0a2679e8b58f15be5ed7e
/frameworks/rs/scriptc/rs_math.rsh
20b27d602a4778ed50a83df2147416a35b7c92be 03-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Improve the documentation of the RenderScript API.

Only the explanations should be changing.

Change-Id: I889b366e3be44f5ac7f44a199e4b9a47353665e2
/frameworks/rs/scriptc/rs_math.rsh
4a73004df5231d188c41267fee17c566ae7c3631 03-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Add "deprecated:" flag to the spec files.

Also cleanup of the documentation found in the header and html files.

Change-Id: I8a606d1af93b0fd0f912ac23aabdb73aa99233b4
/frameworks/rs/scriptc/rs_math.rsh
be2163801c33d6849ae580d42b919b8803d55095 22-Mar-2015 Jean-Luc Brouillet <jeanluc@google.com> Reorganize the header files in a way that's easier to document.

This CL does not change any specification found in a .spec file,
it just reorganizes the distribution of the content.

It also changes a few files that included headers that no longer
exist.

Change-Id: I4a290a30ad3bdc31bac7a7be24e7a7dea2af2618
/frameworks/rs/scriptc/rs_math.rsh
41371c7c23c4115cf0b3e7dc83240d5bcfb828b3 26-Mar-2015 Jason Sams <jsams@google.com> Revert "Reorganize the header files in a way that's easier to document."

This reverts commit 386e87ecf4114084c10dd385edc1c2baebe80a04.

Change-Id: Icaeedd9badfec2c51a8120c72eb6297736d68c2a
/frameworks/rs/scriptc/rs_math.rsh
386e87ecf4114084c10dd385edc1c2baebe80a04 22-Mar-2015 Jean-Luc Brouillet <jeanluc@google.com> Reorganize the header files in a way that's easier to document.

This CL does not change any specification found in a .spec file,
it just reorganizes the distribution of the content.

It also changes a few files that included headers that no longer
exist.

Change-Id: I9474ea6706449312fc7a5715d5bef3eabb288bb9
/frameworks/rs/scriptc/rs_math.rsh
c5184e202ced435258adb2cfe2013570e7190954 13-Mar-2015 Jean-Luc Brouillet <jeanluc@google.com> Generate all APIs.

This CL expands the generator to create all the .rsh files, not just
the core_math one. To do so, processing of types (simple, struct, enums)
and constants was added. .spec files corresponding to each .rsh file was
created. Documentation was added.

This CL also generates HTML documentation files. This generation will soon
be upgraded.

To make the code easier to expand, I've done fairly extensive refactoring.

In a subsequent CL, the APIs will be regrouped in different header files to
simplify learning the APIs. In an other, the documentation generation will
be futher improved and incorporated in the actual online help.

Also removes rs_path & related functions.

Change-Id: I2c88554c9c6a8625233772b89e055fc6c4ad5da5
/frameworks/rs/scriptc/rs_math.rsh
129c14734e6f9fc1f4937026182cd35ee4dbe911 03-Mar-2015 Jean-Luc Brouillet <jeanluc@google.com> Remove the macro _RS_RUNTIME.

It's going away in the upcoming generator change. This is to isolate that
change.

Change-Id: I72c6e1c7706bf0c7306256e39c6d15e018c08716
/frameworks/rs/scriptc/rs_math.rsh
52132475c338620cab62cff885792ebf0db5419f 01-May-2013 Stephen Hines <srhines@google.com> Mark math functions const/pure if possible.

This facilitates readnone/readonly optimizations in LLVM.

Change-Id: I9528e6428b35e3983a532155cc41ee552323bf1d
/frameworks/rs/scriptc/rs_math.rsh
753982003a19cd8d74d2a6091c7a84686990d55a 25-Jul-2012 Rajeev Sharma <rdsharma@google.com> Revert "Add additional math constants"

This reverts commit abb430547e61bcf94da826476b463d2ff89bc138

Change-Id: I0ac1f4a0a1a5672a0a2379edef8f77d7152c2b31
/frameworks/rs/scriptc/rs_math.rsh
abb430547e61bcf94da826476b463d2ff89bc138 25-Jul-2012 Rajeev Sharma <rdsharma@google.com> Add additional math constants

Add math constants which are defined in libc math.h but not ours.
M_PI was previously defined in rs_types.rsh and is moved to
rs_math.rsh along with the new constants as this makes more sense.

Change-Id: Ia67f501353ac6e2311549bef6767e2b182f70132
/frameworks/rs/scriptc/rs_math.rsh
4b768a65bda13116ba2646abaf986094f8fe95b8 14-Jun-2012 Jason Sams <jsams@google.com> Add yuv headers

Change-Id: Ie7aa544b020c4f523201425c5c14cbe1e90eb77c
/frameworks/rs/scriptc/rs_math.rsh
044e2ee36ffe6520570a7f0207d75a8fce8b8e91 09-Aug-2011 Jason Sams <rjsams@android.com> Start refactoring RS headerfiles for docs.

Change-Id: Ieb7797601f94beec2835e1d936dc2dd0c38cb48c
/frameworks/rs/scriptc/rs_math.rsh
9df3b2b03e6bbe26d5fa7daae49b26fd9f15eaa0 08-Aug-2011 Jason Sams <rjsams@android.com> Add docs to rs_types.rsh

Change-Id: Id2352f325c3ef9564cc226c6c5df908df16bb26a
/frameworks/rs/scriptc/rs_math.rsh
eb0dfedaf861049858a365d56d67cc85bfcad3c3 27-Jul-2011 Jason Sams <rjsams@android.com> Add const to matrix by vector multiply routines.
Cleanup ifdef for rsForEach.

Change-Id: Id0d053f5dc73fef7dffed57ed02e90340b6cb798
/frameworks/rs/scriptc/rs_math.rsh
c500e74d0848b721bf01cf0ab344a6adb035c312 25-Jul-2011 Jason Sams <rjsams@android.com> Add size param to rsForEach
bug 5074640


Change-Id: I395bd8b295beacc979681ccdd3451d9d6cc3d672
/frameworks/rs/scriptc/rs_math.rsh
e1eb6156604d0a4cc4b7e7353aa2fc8dc4d8eade 22-Jun-2011 Jason Sams <rjsams@android.com> First cut of atomics for renderscript.

Change-Id: Iefc0228d802e6f5348ae787553c9252fb90ba110

update atomic patch.

Change-Id: Idd0596439c092f570b6b226e9a9c7102ddffe88e
/frameworks/rs/scriptc/rs_math.rsh
74a827988567a9d65954bb0d825a3ba4a97e2947 14-Jun-2011 Alex Sakhartchouk <alexst@google.com> Allocation copy functions.

Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
/frameworks/rs/scriptc/rs_math.rsh
fec5e127c7548770a6fca62112dc51f57c12bc39 04-Feb-2011 Jason Sams <rjsams@android.com> Fix bug 3421901
remove 2 functions from public headers in the SDK.

Change-Id: Ib44e7a4c12f19c87c39095028c020548f89143ec
/frameworks/rs/scriptc/rs_math.rsh
09aeb8ac1b0b976c2de40dd00da0c6841e4e882a 29-Jan-2011 Jason Sams <rjsams@android.com> Clean up RS samples for SDK, bug 2943369
Fix bug 3403965 rsgSyncAll would not mark constants as changed
found by inspection.

Only rsAllocation.cpp affects on device bits.

Change-Id: I6b7ec0df87e42687b24384aaf54dc04976cb84f7

doc update

Change-Id: Id5841f08868557e086f185024470924ef202d19f
/frameworks/rs/scriptc/rs_math.rsh
ca3f09c0924e9515901dfd47fa5f95385d53cf80 08-Jan-2011 Stephen Hines <srhines@google.com> Split time functions into rs_time.rsh header.

Change-Id: I598b0031d15749c91d11fbd37b075d0564a94dbf
/frameworks/rs/scriptc/rs_math.rsh
9bb32e1fd75e864071f18ef10976e8ba9fc0e252 08-Oct-2010 Shih-wei Liao <sliao@google.com> Move rsDebug from rs_math.rsh to rs_core.rsh: rsDebug is more like core functionalities instead of math functionalities. Also portions of rsDebug implementation has been in rs_core.rsh already.
Add #define guard for rs_types.rsh to prevent multiple inclusion.

Change-Id: I1db6dac9825c2618db3660e22c8791aff08d6243
/frameworks/rs/scriptc/rs_math.rsh
1e5168d113ccdcf9fe1b817dcbf2f7f476d36c74 02-Sep-2010 Alex Sakhartchouk <alexst@google.com> Adding ability to dirty the allocation and notify shaders using it.

Change-Id: Id5ac8dbba5185cb1f43bedcf4098fcef9f477c51
/frameworks/rs/scriptc/rs_math.rsh
c093685672e54657d87b953d44e514803889486c 16-Aug-2010 Jason Sams <rjsams@android.com> Support reference operations in RS scripts.

Change-Id: I9cb5f3cb71823ab24ca51bf0167a0f52cf0691f9
/frameworks/rs/scriptc/rs_math.rsh
dd663fa8367bfacb6c77b368f91adf614cd0beba 11-Aug-2010 Jason Sams <rjsams@android.com> Thread launch strategies.

Change-Id: I506df786e815205a8e51906c2b517302c1ef2471
/frameworks/rs/scriptc/rs_math.rsh
7dce6bc09126187534ab0297c66b30149643b162 07-Aug-2010 Jason Sams <rjsams@android.com> Fix debugging support for float vectors and add matrix debugging.

Change-Id: Ie1ee3764a32889f3c39b923186f14af74ecb772f
/frameworks/rs/scriptc/rs_math.rsh
7349547db61d2d458b31c074b902d56d082e5d84 30-Jul-2010 Jason Sams <rjsams@android.com> Cleanup of signed/unsigned
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
/frameworks/rs/scriptc/rs_math.rsh
ef5867a6785807f90cfe8af26da4b964ee8ebee4 28-Jul-2010 Jason Sams <rjsams@android.com> Cleanup sendToClient and add rsGetDt().
Remove legacy implemtation of matrix calls which were moved to llvm bc.

Change-Id: I527740590067db3bcb2147233ef41fb057f1d2a8
/frameworks/rs/scriptc/rs_math.rsh
7bf29ddc35450d8064541c42c99a1f48be6cf0dd 20-Jul-2010 Jason Sams <rjsams@android.com> Threading RS ForEach.

Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
/frameworks/rs/scriptc/rs_math.rsh
ace3e01f07252ee0fa47fcf1ac48864d8220b90e 16-Jul-2010 Jason Sams <rjsams@android.com> 1st cut of ForEach and test.

Change-Id: I6534569c8d26db8b9691666134a555c8bf94184e
/frameworks/rs/scriptc/rs_math.rsh
479e2924807e1fff79de2e0bee2a67939d8659ee 10-Jul-2010 Jason Sams <rjsams@android.com> Remove points from fixed function.
Add basic GL performance test.

Change-Id: I421a41b6683b2c5f70045cdd0f610a6939105fee
/frameworks/rs/scriptc/rs_math.rsh
c4cdf4586a0210a0e4b7b9bf38e8973b31d17ea1 07-Jul-2010 Jason Sams <rjsams@android.com> Fix image processing resource problem for non high-density devices.
Protect include file.

Change-Id: I5c6721033b37e35261b9fe424d74d3aef0620791
/frameworks/rs/scriptc/rs_math.rsh
7fe6bce13c30b8d14dc833e06468666d28e56ee1 24-Jun-2010 Jason Sams <rjsams@android.com> Add matrix ops to RSH headers.

Change-Id: I7e2843983a12e0155114b4a18813799e4341d26f
/frameworks/rs/scriptc/rs_math.rsh
275b1e98bb949643d35546f10f8b1af009349526 29-May-2010 Jason Sams <rjsams@android.com> types update.

Change-Id: I3bd43e163c919be4c3a38e0dd228cee220c62b76
/frameworks/rs/scriptc/rs_math.rsh
c61346b91434307c5003029017b54ce9c49112be 29-May-2010 Jason Sams <rjsams@android.com> Rough implemetation of ForEach.
Remove launchID from root graphics script.

Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
/frameworks/rs/scriptc/rs_math.rsh
66070bf7aae61cedde97cfdeb6a64f435abe8cde 21-May-2010 Jason Sams <rjsams@android.com> Remove noise functions and update images processing to use new rs namespace names.

Change-Id: I2dc9b5ec7877acd630bea1a011ecc4a6d43a31eb
/frameworks/rs/scriptc/rs_math.rsh
22fa371bf64b8aae786acfe5d711af21afb13a93 20-May-2010 Jason Sams <rjsams@android.com> Begin naming cleanup for renderscript runtime.
Prefix functions with "rs" or "rsg".

Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
/frameworks/rs/scriptc/rs_math.rsh
ce92d4baf7a5bce097228fdd4498601764cd4014 17-May-2010 Jason Sams <rjsams@android.com> Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.

Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
/frameworks/rs/scriptc/rs_math.rsh
be36bf3a76481737a7fa606a04144ceef80eb4f2 11-May-2010 Jason Sams <rjsams@android.com> Convert renderscript from using ACC to LLVM for its compiler.

This will also require application to be updated to support
the new compiler and data passing models.

Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
/frameworks/rs/scriptc/rs_math.rsh
f2bcce71dc7a2328355ce779028904772a85cc5f 26-Mar-2010 Jason Sams <rjsams@android.com> Checkin new types for RS.

Change-Id: I3d7a1a91c45cc1c97c60f3615f32e54e98e12f91
/frameworks/rs/scriptc/rs_math.rsh
717e34a50d2de026b5b66b4ccad06b7bc8b62b9e 16-Mar-2010 Jason Sams <rjsams@android.com> First cut of basic RS headers for ScriptC. Not nearly complete.

Change-Id: I15df067936d3c0ff0e0917fd5ca44dc8e1352154
/frameworks/rs/scriptc/rs_math.rsh