History log of /frameworks/rs/api/Specification.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eb98e0375e5ec89c5f3960472d5cdf3e734e3656 08-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Generate the white list used to validate unresolved externals.

Generate the file used in libbcc to verify that all the unresolved
references found in a loaded script correspond to RenderScript
APIs. We do this to prevent script from accessing functions they
should not use, e.g. malloc().

We also generate slang test files for each API level. These tests
can be used to cross-validate the generator to make sure that all
APIs can be called. These files can also be used to manually check
the white list by looking at the unresolved external references
when these files are compiled.

b/19425238

Change-Id: Idd4bd48e61e81a71d61445e60950bc79de88daf2
(cherry picked from commit 36090673baf50cf3c70bdc89f9a4a872c05cf0f6)
/frameworks/rs/api/Specification.h
e5359ae81f8a25a81e9b915d2f9802a9aa668ac2 30-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Generate __attribute__(deprecated) for deprecated APIs.

We allow also a custom deprecation message.

b/19912630

Change-Id: I297bed611c7fbbb34d41e7edd796557c9afe50da
(cherry picked from commit 36e2be56cd398bf4a318114bbc9fa3f4573c158f)
/frameworks/rs/api/Specification.h
496d0f8f3ce1b12d7d76bae2ecf6fe15a8b3811f 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.

b/19001259

Change-Id: Iaad4833f504da9aa9f5069a977c37b86d1316d3a
(cherry picked from commit 67923a9e829d89522bb5338a6d635d807a7ee59b)
/frameworks/rs/api/Specification.h
2217eb7b12e598e5b435a732207647918c171560 24-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Update documentation generator to work with the Documentation system.

Also added this flag to the generator:
-H Now that we generate by default .jd files rather than .html files,
you can use this flag to revert to generating .html files. This is
useful when verifying doc changes locally.

And modified the -v flag to specify the API level for all file generation
rather than just the testing files.

Change-Id: Ic9e35ad6779b9fbc6b23228dded2e2be864393ff
/frameworks/rs/api/Specification.h
66fea24fb5f3a02b744a9c71ae0fc22c03c4fc6e 10-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Fix a small parsing problem with arguments of type rs_matrix2x2, 3x3, 4x4.

Also fix some style issues and added a missing comment.

Change-Id: Ieaca181453f38f948bc2a5e3d183b264d7215413
/frameworks/rs/api/Specification.h
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/api/Specification.h
7c07854a959eb70ff9623202b2ca064407a1cc68 24-Mar-2015 Jean-Luc Brouillet <jeanluc@google.com> Allow specifications for a function to be found in more than one spec file.

To enable the upcoming change that has rsClearOjbect, rsIsObject,
and rsSetObject in two spec files (core & graphics), we need to change
the generator.

Change-Id: I87925dcbe199f11c217907343455b2e8a7a76ed4
/frameworks/rs/api/Specification.h
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/api/Specification.h