History log of /frameworks/compile/slang/slang_rs_reflection_cpp.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8ee018bdb53fc5abdc430878e2bec0c0c0aa560f 02-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation.

Bug: 27298560
Change-Id: I775dd782d658c7c720f57aa31a584deee98cdd17
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
657d20afa621219c1eed72178d1325fd4409f458 17-Dec-2015 David Gross <dgross@google.com> Cleanup: RSExportType::getSize() has inconsistent semantics.

This is a virtual method with different semantics for different
classes in the type hierarchy:
RSExportPrimitiveType: Returns number of bytes occupied by type
RSExportPointerType: Returns 1
RSExportVectorType: Returns number of bytes occupied by one element
(i.e., of the component type)
RSExportMatrixType: Returns 1
RSExportConstantArrayType: Returns the number of array elements
RSExportRecordType: Returns 1

The fix is to replace this method with methods whose names
indicate their actual semantics.

Bug: 26235282
Change-Id: Ic7c5cfd1b73a0b6e7e6fd4ed0495de3877adf0e8
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
5f3da4bf52b327dbf5b6a33f340196f43d542159 21-Oct-2015 Nicolas Collin <nicolas.collin@imgtec.com> Extend C++ reflection layer constant arrays and fix matrix types.

Correct the naming of the matrix types to use the correct case and
extend support for constant array types.
Add two related tests P_array_cpp and P_matrix_cpp.

Change-Id: Ibceca26b01201fd4d1c85a3921ed2918fc458d59
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
1c6b927b4c59fabf44db846855ff5c4cfd48aa53 03-Aug-2015 Matt Wala <wala@google.com> Add C++ reflection for reduce-style kernels in slang.

Bug: 22631253

Change-Id: Ib15c7c7a0dab6eeec402f8e31e4da87dfc82df0d
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
19879e8d83307e8238c889671b2c17132cb992bd 01-Jul-2015 Stephen Hines <srhines@google.com> Fix C++ reflection of vector types.

Bug: 22098789
Change-Id: If2a8f58737b3ef2f46dd8d3487493dedb60869ab
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
85dc696d35d73f9e44cd1676dc6a2fd1d2136226 29-May-2015 David Gross <dgross@google.com> Replace assert() with project-specific version.

Our convention is to use our own form of assertion (bccAssert,
rsAssert, slangAssert) rather than C standard assertion (assert)
because the latter is disabled for the Android build process.
However, a few instances of assert() somehow made it through.

Bug 21444723

Change-Id: I899b0bf6d87672e524d2cc926a0ddf7af9fad71b
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
3eb819ad8beec566a73b288204f9b75c2bb1d4e6 25-Nov-2014 Stephen Hines <srhines@google.com> Update slang for LLVM rebase to r222494.

Change-Id: I19e441e193637ddb39b3afb3bc95579755ac0a90
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
5abbe0e9ca2508260b627ffef2bf01e2554e8357 13-Aug-2014 Chris Wailes <chriswailes@google.com> Replace the NULL macro with nullptr literal.

Change-Id: I33609969cd0d7aa55eaa83fb2c65f5faa6d55fa0
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
c83b790079083da626cb64e37c38221bac1c8e8a 26-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Add comments to the generated file.

These comments are help our users understand how to use the reflected code.
I'll add these to the Java reflection too after we settle the details for
the C++ version.

Change-Id: I887dbd78c52218cafe907973829458340efbf388
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
c9454afec1649846512993d0ef65a9f868976bb4 14-Jun-2014 Chris Wailes <chriswailes@google.com> Adds support for multi-input kernels to Slang.

This patch modifies slang in the folowing ways:
* Updates some of the development target API logic.
* Adds logic for validating kernels with multiple inputs.
* Added support for multi-input kernels to the Java reflection code.
* Adds tests for these new features.
* Updated existing tests with the new error messages.

Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0 11-Jun-2014 Stephen Hines <srhines@google.com> Add -v (-verbose/--verbose) option to llvm-rs-cc.

This change also suppresses the display of "Generating Script*." output by
default.

Change-Id: I034a3ba20acf64e1eb9ecc02133edb03b643d559
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
f9d5d13e26c451c192ea3b45137cfa685196a64c 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Set the reflection parameters in the constructors."
59f22c376b2c1cd109735280689224fadfe40b42 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Set the reflection parameters in the constructors.

Change-Id: I3c74ab5a10d7aa3adaf460c56d2ab295a766fcfb
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
1cea27191515a15bbec86e259be622865e34d63e 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Break very long writeHeaderFile into manageable pieces

Change-Id: I13fbc92713dd6832990cb9e491da22ce41f7f7d2
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
eb0eb08cfe0e27eef72a0a988e24c6946b30ef3e 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Rename a few variables and methods"
eb8b99eb6a25284017169ed91e1a3520b375ef03 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Rename a few variables and methods

Change-Id: Idec582cbfb9c14dea7d8f41203a30186eed2c621
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
f33e1561dc390cf2be7a81e9f818b269d458ec7e 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Use GeneratedFile in Java reflection

Change-Id: Ib52a82b7649c9247e0b4de56267eba7f6cf2e25e
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
efcff1017f5f1e120a8ffb67125e412343479f94 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove ReflectionBase.

Some of the methods of this base class only applies to the C++ reflection.
Other methods better belong in reflection_utils.

Change-Id: Ib539eb3b31cdc2230a5a7dd925642b5a697a899a
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
1f9d1217da29911dcd216b1b196da0ed170c166a 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Change cpp reflection to use GeneratedFile.

Change-Id: I3d775ec24a7e5c8f7e15bf0f777952f23f8bf3fe
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
2ce118e843fcbd53488b503933136bb4fdbdfbc1 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Reformat the reflection code using clang-format

Change-Id: I3bec395fdcff8c848025e7e63fc4ac8517154454
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
2968921e1cedf85360964c5a39e1ce36c66ecd09 27-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Replace std::endl by \n.

\n is more readable AND endl causes a buffer flush.

Change-Id: I3f7472a16e3bebc06476d8e37129e4088546b4aa
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
796e7b1400d3f3f7c07496d88bb48129ea925bb9 27-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove useless "return;" statements.

More cleanups to follow...

Change-Id: Ib8348255273771c1e9ff07e79bd7fbc8f2795a5b
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
c95381a2c3b6e9117901eef0687e861e4d533bfe 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Make virtual getTypeStoreSize and getTypeAllocSize

Change-Id: I898d7b21d7856559e75d80c6147fc4b4229c75dd
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
cec9b65aa890dea58e39951900ae13efb8d11703 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Move DataType enum out of RSExportPrimitiveDataType.

It applies to more than just Primitives and should not have been in there.

Change-Id: If2b6a9d2a87a05176a74bcf7212f65cf1cdf67fe
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
476d4f5a0249a3318cb86460e6a1adb2b40ecd6f 18-Nov-2013 Stephen Hines <srhines@google.com> Fix C++ reflection so that -p works.

The C++ reflection code was missing support for the -p option, which allows
the developer to place the .cpp/.h files into a different directory than the
bitcode. It was also missing directory creation (and path separators) for that
option.

Change-Id: I5b16a6d109c6df8ca3e1542e0c5345691037bf85
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
d6f36b1347b487192103c9a17d5e9a1abcab534d 21-Nov-2013 Stephen Hines <srhines@google.com> Support RS object types properly for C++ NDK reflection.

Change-Id: I7f475a212663ee8aa695d358a30c0474beb66a95
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
80706836b18127b5733d790613a5d1b9f97cbb1d 29-Aug-2013 Stephen Hines <srhines@google.com> Fix initializers and add vector reflection support.

Bug: 10427951

This also fixes a bug with floating point initialization (where relevant
digits could be truncated because of C++ iostream operators).

Change-Id: I2761dea38dd6ad758ea31217744e45436596afce
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
003ac666e57669d4312b5792068c3db302ee7b84 21-Aug-2013 Stephen Hines <srhines@google.com> Type checking for C++ API.

Bug: 10427951

Change-Id: I76a6093237a3b27a0c9e6ce38997cb1e0128efb9
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
ee9d7b0e0cb74a592cef718d72b589b64997bd21 30-Jul-2013 Tim Murray <timmurray@google.com> Fix a bug with compat lib support. Add new namespace to sp<>.

Change-Id: I5dd513b58757be79984dd16db63c19cc1d076658
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
dde98533fad4c6534af537ae583aa4db35a1c699 24-Jul-2013 Tim Murray <timmurray@google.com> Update C++ bindings and add const qualifiers to get methods.

Change-Id: I58affdfcc560ed269cd0fda0c5e74651bcfd4e4a
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
7dd6da2077ad17ea59f4239f5275074bf5642859 16-Nov-2012 Stephen Hines <srhines@google.com> Fix C++ ForEach reflection (bad usrData args).

This fixes issues with the following areas:
1) usrData arguments to kernels.
2) set vs. bind for export variables.
3) improved argument handling for kernels/invoke.

Bug: 5972398
Change-Id: I09a7b9198c45ab6e2d10b2abae1727ee0e559736
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
140b9d42e15b6a8b867f9dcd09a36a41f74eabbf 16-Nov-2012 Tim Murray <timmurray@google.com> Change namespace from renderscriptCpp to RSC

Change-Id: I05595e0e6c0cb279c551661e7bc328badab28ada
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
713377ec412f448273158c954f6816f07f8bcd20 15-Nov-2012 Stephen Hines <srhines@google.com> Argument passing with reflected C++ invoke functions.

Bug: 5972398
Change-Id: I3c4c1f59c15a7e3fa094a9ddcf74b6a1c1899c71
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
02a9826b586f765a95e3c75bd6080c4ee8e2e911 14-Nov-2012 Stephen Hines <srhines@google.com> Fix style issues with C++ reflection.

Change-Id: I29c5e25864afd6f33a43762be6d66260c509084b
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
38dceea4b8e90f326c90252d3c2762914d3ee6a5 14-Nov-2012 Stephen Hines <srhines@google.com> Start to handle invoke, plus fix global C++ reflection.

Bug: 5972398
Change-Id: Ic8356e712d62e158b15b0fac6c5a0ef1437fcdcd
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
2936d9e62c883fa4e2699e2d08a0fdefca388830 13-Nov-2012 Stephen Hines <srhines@google.com> Emit out parameter in C++ reflection for kernels.

Change-Id: I58a819e8b3640836011bd10640735070248b3fb5
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
c7f19ef041bb80902901b78bc4b939692206f26f 03-Nov-2012 Tim Murray <timmurray@google.com> Move to RenderScript.h and new sp<RS> API

Change-Id: I2c7b644aa0aae765a2da44084f394a9781dfd633
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
aa270e6f5865229dca0adbddb1783b1bc21cb231 31-Oct-2012 Tim Murray <timmurray@google.com> Fix reflected resource name in C++.

Change-Id: Idb4448cfaa4b8edea201679135eac1273d3cc9fa
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
b2fbbb91bd9d86e2dd56b2d102752e8c51aaafdf 28-Sep-2012 Tim Murray <timmurray@google.com> Enable C++ reflection, fixing many minor bugs in the process.

Change-Id: Icc694578b649b1fed9ea26654f2b0449ea14089c
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
6c51b5d3b152d6c8a70c72e10e07a75c7294e0f3 03-Apr-2012 Jason Sams <jsams@google.com> Fix namespaces in reflected cpp code.

BUG=5972398

Change-Id: I3adfc4805dcc36d283c804c61911aa15dbdafaad
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
192392fc5ffedc06eb8ae2b89d703b3c658fddd6 14-Mar-2012 Jason Sams <jsams@google.com> Continue C++ reflection work.

BUG=5972398

Change-Id: I8b9e0a814006152b413af9b35f7d51be6814d4c4
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp
1b6a0883cd6984e11e59b0c847fb334df1f41afc 12-Mar-2012 Jason Sams <jsams@google.com> start cpp reflection

BUG=5972398

Change-Id: Iede58fde457d16293345e741f80109f89e653ad5
/frameworks/compile/slang/slang_rs_reflection_cpp.cpp