History log of /frameworks/compile/slang/slang_rs_reflection.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b7d1269f983f28d9fe625a96439fa88b39dc96f6 03-Sep-2011 Stephen Hines <srhines@google.com> Remove obsolete/confusing options and fix strings.

Change-Id: I26b5eeea7ddc8cc4984745daa52635ea95ad7c66
/frameworks/compile/slang/slang_rs_reflection.cpp
ba1a78533ac700184792cba67bb78ab0521332be 27-Aug-2011 Stephen Hines <srhines@google.com> Merge "Start basic support for LLVM 2.9 bitcode writer."
4cc499d6e5ec602309501873449c938af61170b2 25-Aug-2011 Stephen Hines <srhines@google.com> Start basic support for LLVM 2.9 bitcode writer.

Change-Id: I6a54158a32e485f506f0b991f89125b8a0e60267
/frameworks/compile/slang/slang_rs_reflection.cpp
38eca1ad0d6bfac8f1fbf7c8360f4c18ecd205c2 25-Aug-2011 Alex Sakhartchouk <alexst@google.com> Fixing copyNow reflection.
Adding synchronization to setters/getters

Change-Id: I32327473fdcde9d22642b60c8f711f6237200fd3
/frameworks/compile/slang/slang_rs_reflection.cpp
4a4bf92a8add68629a7e6e59ef81c3c3fe603a75 19-Aug-2011 Stephen Hines <srhines@google.com> Don't generate forEach() on pre-ICS target SDK.

Change-Id: I794587d1f79a08aca8cc4f7f20f4012050ab0501
/frameworks/compile/slang/slang_rs_reflection.cpp
049229ba647d3d3cddef7a81b3ae9d3e0729a842 04-Aug-2011 Stephen Hines <srhines@google.com> Properly calculate end of struct padding.

BUG=5081813

Change-Id: Ie0556bdc33015e9e1af519514f6bf61704ddf3b4
/frameworks/compile/slang/slang_rs_reflection.cpp
6b201eb3306b9609a991728a52ce948974bd4aed 21-Jul-2011 Stephen Hines <srhines@google.com> Define RS_VERSION as the SDK version.

Change-Id: Iaee48b397923e7f6af33b6dfd4a03f52bdd34f93
/frameworks/compile/slang/slang_rs_reflection.cpp
aaeb5f85c7a8129531e7f1c3c49fe4fe1e18b1b4 21-Jul-2011 Stephen Hines <srhines@google.com> Merge "Fix style issues."
ecddee364d731c09c77b4c3fa647fa4f50e26756 21-Jul-2011 Stephen Hines <srhines@google.com> Fix style issues.

Change-Id: I646b5232cfac772c5a310b62f435a2cc79b2c831
/frameworks/compile/slang/slang_rs_reflection.cpp
d22724aead836dc039f5f9521ad7d38845d07ea0 21-Jul-2011 Andrew Hsieh <andrewhsieh@google.com> Enhanced check for padding

Change-Id: Iaf97f30d169918776220fd6b920067fd7db4f05a
/frameworks/compile/slang/slang_rs_reflection.cpp
48b72bf3ea4a7dc66a0b59734aeb0c4adfb4d9d1 11-Jun-2011 Stephen Hines <srhines@google.com> Type-checking for ForEach with RS types.

BUG=4203264

Change-Id: I90e54cdf22fea76ffde9548617fb7b492ba9d643
/frameworks/compile/slang/slang_rs_reflection.cpp
4f9e08bd32ea91d42160d4b8f2f452947dbacbdf 18-Jun-2011 Stephen Hines <srhines@google.com> Add in missing primitive element reflection.

Change-Id: Ib1d00eeb6ed6abdc16f63a9a0cf2dc957b63a8b2
/frameworks/compile/slang/slang_rs_reflection.cpp
b5a89fbfcba6d8817c1c3700ed78bd6482cf1a5d 17-May-2011 Stephen Hines <srhines@google.com> Clean up forEach reflection code.

BUG=4203264

Change-Id: I8196608408fe333bd8e875d9517b8e875bdce17d
/frameworks/compile/slang/slang_rs_reflection.cpp
593a894650e81be54173106ec266f0311cebebd3 11-May-2011 Stephen Hines <srhines@google.com> Simple support for reflecting rsForEach().

BUG=4203264

Change-Id: Idf722ee3fb07c8e46ac0c4628e753ff2fa6840cf
/frameworks/compile/slang/slang_rs_reflection.cpp
3fa286b4c2f110c6be2bbfac9c715bb1ec880338 10-Feb-2011 Shih-wei Liao <sliao@google.com> Fix b/3427124. Adding the overloadable invokable feature. Reflect that type of invokables to Java.

1. Add __attribute__((overloadable)) support on the rs side for invokables. Requested by the Books team.
2. Add name mangling support and MangleContext.
3. Add the test P_overload.
4. This CL only affects Honeycomb SDK. It doesn't affect Final ROM.
5. This CL should go in at the same time with another CL on external/clang.git (to be done now.)

Change-Id: I9e743894a97626d8c27b0dd9c0a51cef1175d2ab
/frameworks/compile/slang/slang_rs_reflection.cpp
8d5a2f6ab321615bfb3a46f68aff0b643a71caa0 08-Feb-2011 Raphael <raphael@google.com> Support Windows paths in slang.

Change-Id: I5240164d1d83f7816973a0e6ee9c26e337e605b1
/frameworks/compile/slang/slang_rs_reflection.cpp
6e6578a360497f78a181e63d7783422a9c9bfb15 08-Feb-2011 Stephen Hines <srhines@google.com> Add support for assertions in llvm-rs-cc.

Bug: 3430674
Change-Id: I3400238652449cde84275cc2a770f405332d9544
/frameworks/compile/slang/slang_rs_reflection.cpp
d09df09ae1e354c4fa595ab421b365ce5cd58cf3 04-Feb-2011 Stephen Hines <srhines@google.com> Fix pragma for reflection license.

Bug: 3423577

Change-Id: I64bc50690fff713787ee1f541237d9496f739695
/frameworks/compile/slang/slang_rs_reflection.cpp
6b64b2bd2daf45a4a8bd8b5a11d09410bd53455f 02-Feb-2011 Stephen Hines <srhines@google.com> Remove android.util.Log from reflected files.

Change-Id: Ie1d743753275349745b57fde6a3eef94ec4dc115
/frameworks/compile/slang/slang_rs_reflection.cpp
4cc67fce91f43215d61b2695746eab102a3db516 01-Feb-2011 Stephen Hines <srhines@google.com> Support for generating .java dependencies for RS.

This updates the -MD option to also emit .java targets to the dependency
information placed in our foo.d file.

Change-Id: I189cf6302bc1cbd6201487743a37dced87b5c5eb
/frameworks/compile/slang/slang_rs_reflection.cpp
0661778f3810bc090f025b69fc84eed3cde9cecf 17-Jan-2011 Stephen Hines <srhines@google.com> Fix style.

Change-Id: I9ce2addfc80228a2aa1cf8e91d0dd04ae91ffc85
/frameworks/compile/slang/slang_rs_reflection.cpp
10c4c39a9cd1c7b0db3d9dd5cec5dc9ee36fcab5 17-Jan-2011 Jason Sams <rjsams@android.com> Just pass the field packer directly rather than
unpacking it in the reflected code.

Change-Id: I3a6febc7eec88a331559dbf3daee0d648c7e967d
/frameworks/compile/slang/slang_rs_reflection.cpp
a036a8a7186f7c2f088917107f2c854fbd2187b8 16-Jan-2011 Jason Sams <rjsams@android.com> Change to match final API sigs

Change-Id: Ifdc812b08e803aceb9074a1c9228345959dce528
/frameworks/compile/slang/slang_rs_reflection.cpp
329179389684e74bbb6ef5a95c6fbc769cac05c0 12-Jan-2011 Stephen Hines <srhines@google.com> Fix style.

Change-Id: I8e9e312ca3bd5b30dff0cfb4d3fd6e0444d3b2e9
/frameworks/compile/slang/slang_rs_reflection.cpp
42afde21ffd77fe454a6272f80a0b89fe7232ef8 08-Jan-2011 Jason Sams <rjsams@android.com> Update with new function names.

Change-Id: I130e3376db5f1a83724840bb18d1937983c228a9
/frameworks/compile/slang/slang_rs_reflection.cpp
aa180e98d5209fb44e7d5ecaec758be4a43078cd 17-Dec-2010 Alex Sakhartchouk <alexst@google.com> API clean-up

Change-Id: If5e228783df51e6183ff84d8f28c2ff840b29761
/frameworks/compile/slang/slang_rs_reflection.cpp
cedffd91a421770b3a6aa3c858c7c8db55962628 17-Dec-2010 Jason Sams <rjsams@android.com> Fix bug with resize that would leave the
fieldPacked sized to the origional allocation.

Change-Id: I9f9df065f39909ff0e55e00e33a5fc223eaee4ad
/frameworks/compile/slang/slang_rs_reflection.cpp
dd6206bb61bf8df2ed6b643abe8a29c48a315685 10-Dec-2010 Stephen Hines <srhines@google.com> Arrays of width 3 vector types cannot be exported.

Bug: 3171195
Change-Id: I7deab4ab9c7f8650bce7c597fae2a0dc013f6f71
/frameworks/compile/slang/slang_rs_reflection.cpp
91fe83b56e6ffabecdb1292ff3694275ef07aed9 07-Dec-2010 Jason Sams <rjsams@android.com> Add usage flag to create ScriptField_*

Change-Id: I5f1bc7207559ab2e2ab842eb2ff06b61310dcc1f
/frameworks/compile/slang/slang_rs_reflection.cpp
536aef0dd1befdfef5786e3a8bc80d81ccc3625b 07-Dec-2010 Jason Sams <rjsams@android.com> Update for API changes.

Change-Id: I4ba7facd1c0178936683a324da08c83f52e222c9
/frameworks/compile/slang/slang_rs_reflection.cpp
650c02be6719a961027c86d6b9a142014eb889db 17-Nov-2010 Jason Sams <rjsams@android.com> Fix reflection to use new setVar(object)

Change-Id: I946cdbf39d8fa3843dbcd810236666e8157bd95f
/frameworks/compile/slang/slang_rs_reflection.cpp
e639eb5caa2c386b4a60659a4929e8a6141a2cbe 09-Nov-2010 Stephen Hines <srhines@google.com> Improve code style.

Change-Id: I26e043849bce2a4b41ae132fbe0c882f4a6f112f
/frameworks/compile/slang/slang_rs_reflection.cpp
b6902e2d07d1a0f20723f8502c65438a18d8b6e3 04-Nov-2010 Jason Sams <rjsams@android.com> Add new constructor to reflected code that removes
the isRoot param which is depricated.

Keep old constructor during transition of application code.

Change-Id: I368e474b295cc60eee3a4b561bb7a72a7a6bb2d8
/frameworks/compile/slang/slang_rs_reflection.cpp
3caea7dd00c8a8a39712bcd9b6323093967b077b 26-Oct-2010 Jason Sams <rjsams@android.com> Fix handling of null item list on resize.
Change size queries to use allocation type rather
than the old cached field type which has been removed.

Change-Id: Idb45cea229763d1ea5311392cb47cc71bf8814c0
/frameworks/compile/slang/slang_rs_reflection.cpp
d42a429f42fd6f272188af64f412cd604f02b365 16-Oct-2010 Zonr Chang <zonr@google.com> b/3093518 Add resize() method in the reflected of ScriptField_*.java.
/frameworks/compile/slang/slang_rs_reflection.cpp
89273bd59a182fc0401d68f14ad206bf4dc800c7 14-Oct-2010 Zonr Chang <zonr@google.com> b/3093447 Create element of constant array using Element.add(Element element,
String name, int arraySize) API.
/frameworks/compile/slang/slang_rs_reflection.cpp
2f1451cf567125d8ebd2cacfa83a10fdf3a7ab5a 13-Oct-2010 Zonr Chang <zonr@google.com> b/3093393 Properly initialized constant array where the element is of
the primitive type.
/frameworks/compile/slang/slang_rs_reflection.cpp
c383a500aa59423264811be3874461bf8adbfea0 11-Oct-2010 Zonr Chang <zonr@google.com> Prepend legal announcement in all files.

Release libslang/llvm-rs-cc/llvm-rs-link under Apache 2.0 license.
/frameworks/compile/slang/slang_rs_reflection.cpp
a5d2c232d56b04292cb51c8fb343aef990f7970f 12-Oct-2010 Stephen Hines <srhines@google.com> Support for unsigned long and unsigned long long.

Change-Id: I8e3b6a90fa9119f3d98c5f276df2590b7690d22b
/frameworks/compile/slang/slang_rs_reflection.cpp
b81c6a4cbd9c08e0b20ea4fbc615b416ac1bc9ec 10-Oct-2010 Shih-wei Liao <sliao@google.com> Revert "Revert "New implementation of llvm-rs-cc (replacement of slang_driver).""

This reverts commit a6d60672695f1438a63acdbf85eae7f97ce2b50d.
/frameworks/compile/slang/slang_rs_reflection.cpp
a6d60672695f1438a63acdbf85eae7f97ce2b50d 10-Oct-2010 Shih-wei Liao <sliao@google.com> Revert "New implementation of llvm-rs-cc (replacement of slang_driver)."

This reverts commit 6791df284557f4173a9715b3634f4f4901a6bb8a.
/frameworks/compile/slang/slang_rs_reflection.cpp
6791df284557f4173a9715b3634f4f4901a6bb8a 09-Oct-2010 Shih-wei Liao <sliao@google.com> New implementation of llvm-rs-cc (replacement of slang_driver).

Change-Id: I1b8b6cf3dad8ef8fe2f4d24d4df604099f45ff37
/frameworks/compile/slang/slang_rs_reflection.cpp
8c6d9b2d36ed2d6d811279fd9bddc05fffe16803 07-Oct-2010 Zonr Chang <zonr@google.com> Use llvm::sys::Path to implement "mkdir -p".

Change-Id: I3bb36e1a8050bbd9744fd02935b6186d2f285015
/frameworks/compile/slang/slang_rs_reflection.cpp
050eb857325d6cd35f23fae6c82200aff5a9bcc1 07-Oct-2010 Stephen Hines <srhines@google.com> Use "L" suffix for 64-bit Java int initializers.

Change-Id: I8fb5d53455f765a5d2324471a73af2cabe4ca63c
/frameworks/compile/slang/slang_rs_reflection.cpp
1ab1a450fed988c70c621c24dcf655733ccd3708 06-Oct-2010 Zonr Chang <zonr@google.com> GetTypeNullValue() in slang_rs_reflection should take boolean type into consideration.
/frameworks/compile/slang/slang_rs_reflection.cpp
cf950c49a909350e529ddecffaae8be5429b9479 06-Oct-2010 Shih-wei Liao <sliao@google.com> Check mItemArray in component-level getter and return correct null value for
/frameworks/compile/slang/slang_rs_reflection.cpp
8a224b81e0e87af300080123568667988fbc1f05 06-Oct-2010 Shih-wei Liao <sliao@google.com> Revert "Check mItemArray in component-level getter and return correct null value for"

This reverts commit ee90f495946efc95f514639368183c07d6ac3a55.
/frameworks/compile/slang/slang_rs_reflection.cpp
ee90f495946efc95f514639368183c07d6ac3a55 05-Oct-2010 Zonr Chang <zonr@google.com> Check mItemArray in component-level getter and return correct null value for
requesting component type (e.g., 0 for float and null for object) if it's null
(i.e., no any value has been assigned ever).
/frameworks/compile/slang/slang_rs_reflection.cpp
2e1dba6c779a0ae55c76d36a3c03553e16725ab7 05-Oct-2010 Zonr Chang <zonr@google.com> Rewrite the RSExportConstantArrayType to better support reflecting
constant-sized array variable.
/frameworks/compile/slang/slang_rs_reflection.cpp
0da0a7dc51c25943fe31d0bfccbdfee326a3199c 05-Oct-2010 Zonr Chang <zonr@google.com> 1. Rewrite reflection of parameter packet in RSExportFunc. In order to
generate the correct call (i.e., all parameters in the call instruction
must match the target function signature) regardless of ABI, we construct type
of parameter packet directly from target function prototype (which may not be
the same as the one declared in the source since Clang may modified it to
the type which is better supported by the target ABI.)
2. Rewrite reflection of RSExportRecordType to use clang::ASTRecordLayout. This
corrects the reflection of struct type when tail padding and field alignment
involve. This improves stability of RSExportRecordType reflection.
/frameworks/compile/slang/slang_rs_reflection.cpp
92b344a51c6c4934e96882bd401e4b13d6d03db8 05-Oct-2010 Zonr Chang <zonr@google.com> Create RSExportMatrixType which is a subclass of RSExportType
to support rs_matrix{2x2,3x3,4x4} explicitly.
/frameworks/compile/slang/slang_rs_reflection.cpp
66aa299de2b5e0b0c7bfae7628e29a3961247aed 05-Oct-2010 Zonr Chang <zonr@google.com> Fix FieldIndex issue and re-enable it in reflection.
/frameworks/compile/slang/slang_rs_reflection.cpp
6315f76e3cc6ff2d012d1183a0b030d4ff0dc808 05-Oct-2010 zonr <zonr@google.com> More coding style fixing to improve the readability. No actual semantics
changed. This also makes cpplint happy.
/frameworks/compile/slang/slang_rs_reflection.cpp
91a3783ce1f4eb9ad6e9c1ecdbd27f3d6dc58634 04-Oct-2010 Shih-wei Liao <sliao@google.com> 1. Reorder DataTypeBoolean, DataTypeRSMatrix2x2, DataTypeRSMatrix3x3, and DataTypeRSMatrix4x4 in RSExportPrimitiveType::DataType.
2. Refine the RSExportPrimitiveType::DataKind.

Change-Id: Ida0849e68b00571e0f055089ccc5a46d26760390
/frameworks/compile/slang/slang_rs_reflection.cpp
9ef2f785e0cc490af678dfd685995dec787321ff 01-Oct-2010 Shih-wei Liao <sliao@google.com> The Mother-of-All code review:
1. Fix AllowRSPrefix bug
2. Remove member mRS*Pragma in class RSContext
3. No longer only support 2x2, 3x3, 4x4 arrays
4. Fix Export All code for victorhsieh
5. Improve readability and maintainability
6. size_t -> int in calculating padding

Change-Id: I772aebd1440af66a89e2d2e688b193e500f38d69
/frameworks/compile/slang/slang_rs_reflection.cpp
8d75dc46a30e8617bd29dfe00492c5aab02dacf5 02-Oct-2010 Stephen Hines <srhines@google.com> Support for signed 64-bit integer type.

b/3050131 exported renderscript structures don't appear to support int64_t

Change-Id: I834f11394fa8060a56201b9709fa058d5ccecb5b
/frameworks/compile/slang/slang_rs_reflection.cpp
83fbfba1257bf334bbf00a37e4d2214634f45e4b 22-Sep-2010 Stephen Hines <srhines@google.com> Add support for "f" suffix on float constants.

Bug 3000361: slang complains about assigning a default variable to a float

Change-Id: Id6bd2b15d568d8b4ccce6c706d632f2c6fd97c94
/frameworks/compile/slang/slang_rs_reflection.cpp
70842c7439bd523611f3ed232ecc6de844932145 21-Sep-2010 Stephen Hines <srhines@google.com> Add support for Float64 (double) to slang.

Change-Id: Ia1be4eda28f3bcf2bd75a556c4329324f7aa76a5
/frameworks/compile/slang/slang_rs_reflection.cpp
cecd11d2af5d45d8ba322bed61fb48a99c305528 21-Sep-2010 Shih-wei Liao <sliao@google.com> Fix warnings. Bug fix.

Change-Id: I80934814ae64d11f0edebfa3b131164207f1aca0
/frameworks/compile/slang/slang_rs_reflection.cpp
f9d3cb6b5b877129c877e49715a7fc3ad04c21b8 18-Sep-2010 Shih-wei Liao <sliao@google.com> Turn off buggy FieldIndex for now.

Change-Id: Ib9abe7a2ccf427fa06f331b849467244b73c88f9
/frameworks/compile/slang/slang_rs_reflection.cpp
7cbb87fce2947eec7abdb4d2239b4a63ffbc3155 18-Sep-2010 Shih-wei Liao <sliao@google.com> Remove unnecessary checks in component getter.

Change-Id: I584735b998b18de0ac01cf8851c9fb548716e856
/frameworks/compile/slang/slang_rs_reflection.cpp
9c631ff2e65a8fa766981c9683c3b255ce0a2388 17-Sep-2010 Shih-wei Liao <sliao@google.com> Simplify field getters by removing unnecessary null checks. Add reflection for component-level getter and setter.

Change-Id: Ic6ea9f9e02400cbb7f43b6421d7adde6523b458c
/frameworks/compile/slang/slang_rs_reflection.cpp
fb7fafc18020f524f2c368ff4cae3a487e83230c 17-Sep-2010 Shih-wei Liao <sliao@google.com> Revert "Add reflection for component-level getter and setter."

This reverts commit 30a1c526117f8c700fff1e69f7bb65d0ba505a5a.
/frameworks/compile/slang/slang_rs_reflection.cpp
30a1c526117f8c700fff1e69f7bb65d0ba505a5a 17-Sep-2010 Shih-wei Liao <sliao@google.com> Add reflection for component-level getter and setter.

Change-Id: I2f2760715876419cc09cd983e9a546b9762bfe2a
/frameworks/compile/slang/slang_rs_reflection.cpp
1ebc0ca6ffa7effb875883d18205ed4943ab8fc2 14-Sep-2010 Shih-wei Liao <sliao@google.com> Implement the ARM-specific struct layout ABI in exportable functions parameters for rs. Add the ABI-compliant #args when needed.
My old code inadvertently assumed x86 ABIs for structs, but ARM ABI/calling convention is tricky here, compared to x86's. Also, fixed the type promotion problem.
Note that the most portable fix is to add a shim layer in Clang which is a BIG undertaking like PNaCl. Let's put in the potential fix for b/2988615 now.

Change-Id: I1d9fe4d803485b55bb72112ea8e17c1f4a19dd32
/frameworks/compile/slang/slang_rs_reflection.cpp
0877f0557e5c406fc8ff33c928a8ae969a5f4905 10-Sep-2010 Ying Wang <wangying@google.com> Handle big bitcode files.

Split the bitcode file into segments due to Java method size limitation.

Change-Id: I4c171c40a45067da63098deb2408449dab38b041
/frameworks/compile/slang/slang_rs_reflection.cpp
3f8b44dba57685b437cecc208f2a20a4ed93ed36 04-Sep-2010 Ying Wang <wangying@google.com> Encode the bitcode binary files into Java source files.

So that the apps don't need to have the bc files as resources.
The bitcode java files will be put at the same dir as the reflected java files.
The bitcode java file name will be <ClassName>BitCode.java.
The bitcode is represented as byte array and you can reference it as:
byte[] bitcode = <ClassName>BitCode.getBitCode();

To enable this feature, pass "-s jc" to the command line.

The class name <ClassName> is converted from the .rs file name, for example:
foo.rs -> FooBitCode.java
foo_bar.rs -> FooBarBitCode.java
fooBar.rs -> FooBarBitCode.java
foobar.rs -> FoobarBitCode.java

i.e., any non-alnum characters in the rs file name are filtered
and the rest are converted to camel case.

The above method is also applied to the reflected java classes now.

Change-Id: Idf234d4c017e33740a13d6cd68bc3e14710ec149
/frameworks/compile/slang/slang_rs_reflection.cpp
f8149d9e5a3795e9952717ee6346789a134c55c7 22-Aug-2010 Shih-wei Liao <sliao@google.com> Handle ConstantArray Type.

Change-Id: Id3677e818693d6f95445d67116db3d6766d1fbd6
/frameworks/compile/slang/slang_rs_reflection.cpp
fcdd3355ba5b1e32e31941be6ec4da1469de3101 20-Aug-2010 Shih-wei Liao <sliao@google.com> Change RS_MATRIX2X2 to RS_MATRIX_2X2, RS_MATRIX3X3 to RS_MATRIX_3X3, RS_MATRIX4X4 to RS_MATRIX_4X4.

Change-Id: I1eb016c92a46c44e5f2859646a000c20732e8ff5
/frameworks/compile/slang/slang_rs_reflection.cpp
4e348449fedc9e33e3a5a6796d480c0a74202b9b 18-Aug-2010 Ying Wang <wangying@google.com> Add header and annotation to reflected java files

1. Header of generated source
2. Annotate class as hidden, so that they won't be exposed to public SDK.

Change-Id: Iad94a78e97265e2e2ddf694945e119f2dc5afc2f
/frameworks/compile/slang/slang_rs_reflection.cpp
ca3be0350773a63b7792eedc216a7808e42e77ea 18-Aug-2010 Shih-wei Liao <sliao@google.com> Implement rs_matrix2x2, rs_matrix3x3, rs_matrix4x4

Change-Id: I6a7e829eb41c84e13f91fd3fa7929d6929a8cff9
/frameworks/compile/slang/slang_rs_reflection.cpp
0a3f20ec28ed6f5ae1ed5d61f6b6e3e577f7f5d1 10-Aug-2010 Shih-wei Liao <sliao@google.com> Handle RecordLayout and get the Alloc size.

Fix bug b/2901942 "hang in renderscript."

Change-Id: Ia33c64f47656a93f6de1eb95e3e983266289c8ba
/frameworks/compile/slang/slang_rs_reflection.cpp
9b1f50b1cab0687f2f218a924e4ff90184aebe0a 05-Aug-2010 Shih-wei Liao <sliao@google.com> Implement accessor (getter) for retrieving an item for TypeClass in reflection

Change-Id: I21d44b3e25ecbff6152dd6b43ffb38c1728b33a2
/frameworks/compile/slang/slang_rs_reflection.cpp
4c9f742efa36b1037acc640184681d421aa0f6ba 05-Aug-2010 Shih-wei Liao <sliao@google.com> Right usage of linking. Enable the reuse of the same Slang object across multiple input files.

Change-Id: Id036c300ece9a245437ea2bdd0a9c0da436f558d
/frameworks/compile/slang/slang_rs_reflection.cpp
2239ecece40c177e071f56326cd5ef423806394d 29-Jul-2010 Shih-wei Liao <sliao@google.com> Reflect to float or double based on APFloat's semanticsPrecision function. Check IEEEsingle etc.

Change-Id: Ie7f0985df05b3c4baace70017cc8b1c173a37310
/frameworks/compile/slang/slang_rs_reflection.cpp
68e8e9f98730b3672fb96d49e33b9db70a90ed3f 19-Jul-2010 Shih-wei Liao <sliao@google.com> Add include path and deal with the case that "-p" flag on path is unspecified.

Change-Id: I592b23ac1e08b62088a9a9e1bfc8109b56929386
/frameworks/compile/slang/slang_rs_reflection.cpp
139949bc10689a1a91980840fa743a3b07668e69 17-Jul-2010 Che-Liang Chiou <clchiou@google.com> handle corner case that path string is too long

Change-Id: I328581bbcb8c4840a7461dbb27c23efb767a8a3b
/frameworks/compile/slang/slang_rs_reflection.cpp
b55d7ef3333534fc6aad80f9a9133f2bf945faf1 16-Jul-2010 Shih-wei Liao <sliao@google.com> Change "-o" to create parent directories if it's needed.

Change-Id: I98de7f29d338c5849f5fcd7fb598c00150140d5a
/frameworks/compile/slang/slang_rs_reflection.cpp
8b1d0dd74715221138d2458858178b4e0e014f09 16-Jul-2010 Shih-wei Liao <sliao@google.com> Create path if needed and add RSReflection::openScriptFile.

Change-Id: I58e8d6f66bc093a391001ba09e44ac0bc5566827
/frameworks/compile/slang/slang_rs_reflection.cpp
6de89272b00a31f2a73e2f56edf9cc511df46265 16-Jul-2010 Shih-wei Liao <sliao@google.com> Add --output-java-reflection-path | -p

Change-Id: I951a3540aa653060f81ff76b670ffb4b0029a3ca
/frameworks/compile/slang/slang_rs_reflection.cpp
f1bd510334a62034dcf3b4787f2d6634d05ec80b 09-Jul-2010 Shih-wei Liao <sliao@google.com> Change SimpleMesh to Mesh.

Change-Id: Iba829349ea5c17b225c41d09e0375727a11dcf99
/frameworks/compile/slang/slang_rs_reflection.cpp
d8a0d186a362739f385f1a4af35360d5da69e47b 07-Jul-2010 Victor Hsieh <victorhsieh@google.com> Add pragma rs set_reflect_license

Change-Id: I9c3d9505c108a11b6c3fd85499fbac10da9f2532
/frameworks/compile/slang/slang_rs_reflection.cpp
48bac230fe966771f3074975fc2426ffde519edf 04-Jul-2010 Shih-wei Liao <sliao@google.com> Add genInitBoolExportVariable.

Change-Id: I4add75d258e1b99c9217a829f2aed6ff15faa6ba
/frameworks/compile/slang/slang_rs_reflection.cpp
1f0d88fbff28e4e2dd563d93c8fe0047381c09cc 25-Jun-2010 Shih-wei Liao <sliao@google.com> Use addBoolean successfully and bool->boolean reflection.

Change-Id: I2c31ef41766f8ace472ed289012de336e43e9aa9
/frameworks/compile/slang/slang_rs_reflection.cpp
bb1f9f01421ffbbafb4f02ea7c27dabd605edc35 24-Jun-2010 Shih-wei Liao <sliao@google.com> slang_rs_reflection support for rs_font.

Change-Id: I0df35f2580fd3db9fe91942d130b7b3fb8fb2d59
/frameworks/compile/slang/slang_rs_reflection.cpp
cbbdd92b981296f347b02c0fa45621912ea8195c 24-Jun-2010 Shih-wei Liao <sliao@google.com> Add rs_font.

Change-Id: I726ed6951b3f34484b1d25719807cd8d3bff9337
/frameworks/compile/slang/slang_rs_reflection.cpp
c382c607cd3bbd94f8e8e26bc6d6e72efaad2d55 22-Jun-2010 Shih-wei Liao <sliao@google.com> Don't reflect set_*() API for export variables having 'const' qualifier

Change-Id: I829ce2ebdca7d01f6c41986cf76455328c7a7771
/frameworks/compile/slang/slang_rs_reflection.cpp
dd35e490cc067a761f0f55ecde5c76a76cc87ad2 21-Jun-2010 Shih-wei Liao <sliao@google.com> Add boolean.

Change-Id: Ia5f47249fd20edb3ebcf3b263fe3e215ba174164
/frameworks/compile/slang/slang_rs_reflection.cpp
324c0479ec3edda573de60b2e6476507a99d06f7 21-Jun-2010 Shih-wei Liao <sliao@google.com> Reflect initializer of an exported variable if any.
(NOTE: record type is unsupported currently)

Change-Id: I26fa50dc38488217420a25bafb07f29f6ab28d28
/frameworks/compile/slang/slang_rs_reflection.cpp
9e86e1926328d9ecf3cd0922e55299db901f6469 19-Jun-2010 Shih-wei Liao <sliao@google.com> Add "public static createElement" as part of reflected files for the fields.

Change-Id: I8d4c0549933114579cf507f662bfcd99ee4bdb10
/frameworks/compile/slang/slang_rs_reflection.cpp
9e98e006c1dd889ecac1bebf353500e7a54d490e 19-Jun-2010 Shih-wei Liao <sliao@google.com> Fix the subData argument values: They are in the unit of elements, NOT in the
unit of bytes. Verified that Launcher2 is reflected correctly now.

Change-Id: I85921743e6f0f74650c99a2e80b26028a685e9e4
/frameworks/compile/slang/slang_rs_reflection.cpp
bd49c8ff5a35befb413de3b6d7989d257b54f057 17-Jun-2010 Shih-wei Liao <sliao@google.com> Remove USER_F32, ...

Change-Id: Id83bf0c32ec4fa1ea950237ff83e221d1a40e73a
/frameworks/compile/slang/slang_rs_reflection.cpp
b1a28e752571e744444377c89e5c256b4332dc58 17-Jun-2010 Shih-wei Liao <sliao@google.com> Phase out part of Data Kind.

Change-Id: I22c4c8c393d4ee2b494050c5d8daa04e56c4919d
/frameworks/compile/slang/slang_rs_reflection.cpp
60c985d5a07b76b34e5113fbd166bf73ba16b7d0 15-Jun-2010 Shih-wei Liao <sliao@google.com> Null pointer checking for setting RS objects in reflection.

Change-Id: Ic35fd444d853d7c90c9f8d9359852b8cfc2eba56
/frameworks/compile/slang/slang_rs_reflection.cpp
2dd42ffb0679851777ec4733681816d399d5f7d3 15-Jun-2010 Shih-wei Liao <sliao@google.com> Fix slang to do invoke_foo() without null.
Fix slang to pass "id" in the constructor in ScriptC_*.

Change-Id: I52f98a742fa919c7fe2c74a04bccce962061d5b5
/frameworks/compile/slang/slang_rs_reflection.cpp
c20992e629a0edb507be763851edaf073cb5b18a 10-Jun-2010 Shih-wei Liao <sliao@google.com> Type promotion in reflection. That is, treat unsigned char in C as short in Java, unsigned short as int and unsigned int as long

Change-Id: I81f2141a786dc1a05f7f12c8dbded9f0a5e5e804
/frameworks/compile/slang/slang_rs_reflection.cpp
bdd788877b3f18980836a3ed0d46627169483653 06-Jun-2010 Shih-wei Liao <sliao@google.com> Set LOCAL_MODULE_CLASS in slang to EXECUTABLES.
Use invoke() (invokeData() and invokeV() are deprecated) for reflecting function.

Change-Id: I25db106c8e162b87b38db1a5c740d913327186d3
/frameworks/compile/slang/slang_rs_reflection.cpp
462aefd62cc646d2ff753c1d003ef3cd7bbea262 05-Jun-2010 Shih-wei Liao <sliao@google.com> Initialize slang and Android.mk.

Change-Id: If74da8e54d45511c8c9bb236bcfeec508f4f2439
/frameworks/compile/slang/slang_rs_reflection.cpp