History log of /frameworks/rs/scriptc/rs_graphics.rsh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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_graphics.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_graphics.rsh
ca51c78b9e3097ee31dd24cdc5982f550ee563d1 26-Aug-2015 Stephen Hines <srhines@google.com> Don't use anonymous literal structures for RS object types.

Bug: 22926131

Using an anonymous structure type prevents us from being able to use
LLVM to determine the actual typename. This is problematic, because
there are some cases where bcc needs to be able to detect/act on RS
object types. Giving each of these structures a legitimate name has no
impact on the generated code (since we are already using typedefs).
This change is also safe for targeting prior Android releases with our
toolchain.

This change also adjusts the API generator to ensure that we can
generate relevant code/docs/tests for handling RS objects. A new
TypeKind is added for RS_OBJECT, instead of using SIMPLE.

Change-Id: Iaff928f5821af66cfc9b3aea2ff5549d0c8a9408
/frameworks/rs/scriptc/rs_graphics.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_graphics.rsh
67923a9e829d89522bb5338a6d635d807a7ee59b 13-May-2015 Jean-Luc Brouillet <jeanluc@google.com> Obsolete the graphics API in the .rsh files.

Mark the graphics APIs as no longer available starting with version 23.

Modify the generator to change the #ifdef guards around the API to
enable internal code to still access the obsoleted APIs, as we still
neeed to support them at runtime.

Also, include a documentation change in the rs_convert header file that had not
been included previously.

Change-Id: Iaad4833f504da9aa9f5069a977c37b86d1316d3a
/frameworks/rs/scriptc/rs_graphics.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_graphics.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_graphics.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_graphics.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_graphics.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_graphics.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_graphics.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_graphics.rsh
3ff0fe77fdba8ad4a920dc27157d8c1786bb3661 20-May-2014 Jason Sams <jsams@google.com> Cleanup 64bit and remove deprecated functions

Change-Id: I8f4570af8ab7da05831258dd264118b28ce5d352
/frameworks/rs/scriptc/rs_graphics.rsh
e227f9a1a3f2475002e0ca40342ddb979ba36752 29-May-2013 Stephen Hines <srhines@google.com> s/Renderscript/RenderScript and remove rs_graphics.rsh reference.

Change-Id: I601f7fb20e4ac347ede4561e749cb0084b8f4118
/frameworks/rs/scriptc/rs_graphics.rsh
f8e195ee50ac7b01fc0130af6634afe475d2deae 22-Mar-2012 Alex Sakhartchouk <alexst@google.com> More rearrangement and renaming.

Change-Id: Ia922c5bff1734a29b786ba95065f81c8dedf90cd
/frameworks/rs/scriptc/rs_graphics.rsh
89fbb457c41843a63dd5d46629f2af32a26fa2bb 21-Mar-2012 Alex Sakhartchouk <alexst@google.com> Changing rsg to rs where functions don't rely on graphics.

Change-Id: I92a93d7a520b4a5416be88c7c05c2f8d3cc89243
/frameworks/rs/scriptc/rs_graphics.rsh
09db907b55417f071460bf0b5a82c13e8e9a5088 01-Mar-2012 Alex Sakhartchouk <alexst@google.com> Allocation sampling api prototypes.

Change-Id: Ia11c6a107ea49ad6f40cfd220c537376a18c3b62
/frameworks/rs/scriptc/rs_graphics.rsh
a720a144508edd91e4790b23eadd6cd270368df9 10-Jan-2012 Alex Sakhartchouk <alexst@google.com> Adding ability to bind constants to shaders.

Change-Id: I63b664fd2fec7e0c8157b7185782192132222f1a
/frameworks/rs/scriptc/rs_graphics.rsh
25a59d051a218bd608b005a149509464b3e6d4f0 29-Dec-2011 Alex Sakhartchouk <alexst@google.com> Adding better error behavior to RS

Change-Id: Iea1cc76793f8978d60575404d7b1c5145e268d6e
/frameworks/rs/scriptc/rs_graphics.rsh
f6216f7699edc83b9c8f8383a6b0448210f0b579 07-Dec-2011 Alex Sakhartchouk <alexst@google.com> Merge "Revert "Removing changes not meant for MR1"" into graphics-dev
5909d26c633a5ac00c85d72ee4a035612a6a15de 18-Nov-2011 Alex Sakhartchouk <alexst@google.com> Revert "Removing changes not meant for MR1"

This reverts commit d97fd1d7c37e45c7f4c7ee89c3f70b961fa05428.
/frameworks/rs/scriptc/rs_graphics.rsh
9e0afb5a2b3e476c42a373e7cd89cef4a34f8195 31-Oct-2011 Jason Sams <rjsams@android.com> Path rendering

Change-Id: I5379a676c9ec6a9b25f21bc1e050053f27e411dd
/frameworks/rs/scriptc/rs_graphics.rsh
ffe87773177672219189c9319ed5ab699fb978cc 27-Oct-2011 Alex Sakhartchouk <alexst@google.com> Removing changes not meant for MR1

Change-Id: I75136be33f12a87c2b5f21b064c06065a4145d70
/frameworks/rs/scriptc/rs_graphics.rsh
407f8ca5a1cd2269dba356f40ab32a5ff934a6a2 24-Sep-2011 Alex Sakhartchouk <alexst@google.com> Adding getter functions for script side RS objects.
Multiproject change involving on device linker

Change-Id: I321e8caa6ca23b3fe2c96c78cdcfc15e51f88823
/frameworks/rs/scriptc/rs_graphics.rsh
4325387cee36fe373b1a792fb2e65ef00535bbdd 29-Sep-2011 Alex Sakhartchouk <alexst@google.com> Wrapping new API with #defines to prevent old apps from using them.

Change-Id: Ib3a2d19544ad72987ebec09d465bec8eeb6423c8
/frameworks/rs/scriptc/rs_graphics.rsh
9996b757c31fe81c0892d5e43e611be44dab16c1 09-Aug-2011 Alex Sakhartchouk <alexst@google.com> add renderscript doc comments for exposed headers

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

Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
/frameworks/rs/scriptc/rs_graphics.rsh
7d9c5ffccb7a5e682860f752403e5a03aed587be 01-Apr-2011 Alex Sakhartchouk <alexst@google.com> First draft of fbo in renderscript.
Updating samples and benchmark

Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
/frameworks/rs/scriptc/rs_graphics.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_graphics.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_graphics.rsh
8be47c7de5d3919887404734ec941e03e9072b1c 20-Dec-2010 Jason Sams <rjsams@android.com> Clean up Allocation buffer object api.

Change-Id: Id3e2391a93a99f4c414a805ee33cfd113242a7e6
/frameworks/rs/scriptc/rs_graphics.rsh
b7e83bda41e66c966b98935b44140692bfe0c4ca 15-Dec-2010 Jason Sams <rjsams@android.com> Fix mipmap bug introduced with Allocation cleanup.
Add syncAll to rsg headers.

Change-Id: I02c953f3fddab3c6f4e98570cdad45a59711bbde
/frameworks/rs/scriptc/rs_graphics.rsh
9966e2130c731cb372e2f53c041142a4f9a6a0fe 19-Oct-2010 Shih-wei Liao <sliao@google.com> Remove unneeded inclusion of rs_math.rsh.

Change-Id: I7e9beb88c3b0fb88e30bdbabdde2a2529825dbef
/frameworks/rs/scriptc/rs_graphics.rsh
399dc9ef2886a6c317a4c3c44173d582c5bc7d99 16-Oct-2010 Jason Sams <rjsams@android.com> Fix header file to always inline stub functions.

Change-Id: I9999007c4d467d92d2f8ba5ad2a6f68fbb910959
/frameworks/rs/scriptc/rs_graphics.rsh
09c67356bbeee0a97a20a06c95b66756838cb541 05-Oct-2010 Alex Sakhartchouk <alexst@google.com> Adding text metrics to renderscript.

Change-Id: Ica460525243d714a278e4ad5e436af43e1008e0c
/frameworks/rs/scriptc/rs_graphics.rsh
95333f998fd4a983f89e5128e85f6f710d200bd9 17-Aug-2010 Alex Sakhartchouk <alexst@google.com> Added frustum plane extraction and sphere culling code.

Change-Id: I9d55baecddc962f8973f0269f2f9977f1d4ce008
/frameworks/rs/scriptc/rs_graphics.rsh
ba4aa5c768a498bc3fbb8cb5547b7a9ad6f4b771 13-Aug-2010 Alex Sakhartchouk <alexst@google.com> Adding bounding box computation.

Change-Id: I682609312519d9474176556ade7a208c7d0a1323
/frameworks/rs/scriptc/rs_graphics.rsh
6445e5210c6d7f8689e94be9026153d017c9545b 05-Aug-2010 Jason Sams <rjsams@android.com> Support constant and varying colors in ProgramFragment.

Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
/frameworks/rs/scriptc/rs_graphics.rsh
9fc9f0375a92fe22fecb3782b18a5c6060a07290 04-Aug-2010 Alex Sakhartchouk <alexst@google.com> Added ability to set font color.
Propagating the name of meshes and allocations from native a3d to java

Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
/frameworks/rs/scriptc/rs_graphics.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_graphics.rsh
a490f1003a76286e0f00606adff4ef85fdd78b02 28-Jul-2010 Jim Miller <jaggies@google.com> Fix 2877497: export rsgProgramVertexLoadProjectionMatrix()

This updates renderscript to allow loading of the projection
matrix.

Change-Id: I9af03e06ce6b5432ffbf3db8f6cda7b29aa21c7f
/frameworks/rs/scriptc/rs_graphics.rsh
17d72e835b5b2bb0baa928fe63bb76d263c63916 02-Jul-2010 Alex Sakhartchouk <alexst@google.com> Cleanup pass on the mesh api change.
Removed all the simple mesh related calls and temporary objects.

Change-Id: Ic64a72a894e0314f216f10e1cfc0d45b17e2e182
/frameworks/rs/scriptc/rs_graphics.rsh
4e9a7a8ded109e16b163789274899447cef02642 02-Jul-2010 Alex Sakhartchouk <alexst@google.com> Start of mesh API cleanup.
Switched all native code to go through Mesh class.
Removed SimpleMesh
Added java Mesh class
Will need to port all existing code to use java Mesh, then remove java SimpleMesh.

Change-Id: Idb9c03d0b06b4ef87db28dffcffa1881d39120e5
/frameworks/rs/scriptc/rs_graphics.rsh
d3e0ad43dc758c409fc23d1893dab67b18520c24 25-Jun-2010 Alex Sakhartchouk <alexst@google.com> Adding freetype font rendering to renderscript.

Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
/frameworks/rs/scriptc/rs_graphics.rsh
bdb046001675f949e7e9b2cd0bfd63a5889d97ed 18-Jun-2010 Jason Sams <rjsams@android.com> Remove legacy drawing functions.
Skip element names starting with '#'

Change-Id: I6b0967ed1dc47c072c3bed7c0219e2215a7068a6
/frameworks/rs/scriptc/rs_graphics.rsh
97589cbd2b844543f6c8a6bc336f4e11a67828fd 18-Jun-2010 Jason Sams <rjsams@android.com> Add skip to field packer.
remove hsb functions from env headers.
add RS_PACKED define for packed structures.

Change-Id: Idc661edff85c0047baa201f43e0839ac82c74593
/frameworks/rs/scriptc/rs_graphics.rsh
1b937f5c0d66a65daf07a45554c98a9f2481b9ba 09-Jun-2010 Jason Sams <rjsams@android.com> Remove float8/16 from RS type list.
We will not have time to work through ABI issues for these types
on arm for our ship date. Can be re-added later.

Change-Id: I957758be7e900a1c55eff9cb5aeb16fa636bd9a0
/frameworks/rs/scriptc/rs_graphics.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_graphics.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_graphics.rsh
f2bcce71dc7a2328355ce779028904772a85cc5f 26-Mar-2010 Jason Sams <rjsams@android.com> Checkin new types for RS.

Change-Id: I3d7a1a91c45cc1c97c60f3615f32e54e98e12f91
/frameworks/rs/scriptc/rs_graphics.rsh
51f36ab783316b1c036bab4c3f7e0934dd564bd7 18-Mar-2010 Jason Sams <rjsams@android.com> More rsh headers for renderscript and a llvm compatible test script for fountain.

Change-Id: If5d682e549e6f849ba809619587feb58c1e4ed0a
/frameworks/rs/scriptc/rs_graphics.rsh