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.h
|
28d60bc2da19821af82d983902c3c78c078343c3 |
|
16-Oct-2012 |
Stephen Hines <srhines@google.com> |
Only generate getFieldID_*() for non-Pointer (bind) types. Bug: 7318821 Change-Id: Ic043f75a1a1a2a6f4a0b6d90ab3f1d053012d8c7
/frameworks/compile/slang/slang_rs_reflection.h
|
0a813a3ef2a82f19d7eab9e23ae8493197143803 |
|
04-Aug-2012 |
Stephen Hines <srhines@google.com> |
Add RS package name option + support. Usage: llvm-rs-cc -rs-package-name=android.renderscript ... or llvm-rs-cc -rs-package-name android.renderscript ... This allows us to reflect a different import path for our base RS classes. The default value is "android.renderscript", resulting in a reflection that produces "import android.renderscript.*;". Change-Id: Icf7e83b963ba70c803899697f49b41fdfb9586e7
/frameworks/compile/slang/slang_rs_reflection.h
|
1f6c331d622ac645ab68a016aa4c577998547373 |
|
04-Jul-2012 |
Stephen Hines <srhines@google.com> |
Fix reflection of setters for unsigned primitive types. BUG=6764163 We now generate set_*() functions for unsigned types by creating a single element FieldPacker and stuffing it with the larger Dalvik type. Reusing FieldPacker in this way allows us to validate that the input is non-negative and within the appropriate range (i.e. not really using more bits than the unsigned C type should). This change also fixes a subtle race where the Dalvik and script side can disagree about a variable's value. All set_*() methods need to be synchronized, and we must do the Dalvik update after validating the input data. Change-Id: I7b2371206848ebbf0b0752779cb6c98cec1ab5f6
/frameworks/compile/slang/slang_rs_reflection.h
|
0d26cef64debfaa6862a27587c1fd0d30baa3b1d |
|
02-May-2012 |
Stephen Hines <srhines@google.com> |
Refactor using genSetExportVariable(). BUG=6009244 Change-Id: I3c830b84c6f863faed8e36da625447bdf416579e
/frameworks/compile/slang/slang_rs_reflection.h
|
a6b54146b93eec68f6daa4b1877639cdc34801dc |
|
10-Apr-2012 |
Stephen Hines <srhines@google.com> |
Reflect element/dim information for FieldPacker. BUG=6009244 Change-Id: Ie24b3ce17817b98e8b651f7ec1304dcd18c8c062
/frameworks/compile/slang/slang_rs_reflection.h
|
5d67178077b50d0a02832e91053ee71ec33a25c2 |
|
01-Feb-2012 |
Stephen Hines <srhines@google.com> |
Reflect constant primitive types back to Java. We reflect it in the containing class as follows: public final static TYPE const_NAME = INIT; Change-Id: I478a6ba75715cfe3ddf1196794153721b793b287
/frameworks/compile/slang/slang_rs_reflection.h
|
a9ae5ae8866d937a99601d24a922c8f3f4223f59 |
|
12-Nov-2011 |
Stephen Hines <srhines@google.com> |
Generate/skip padding and use new prefix for ICS. BUG=5609007 Change-Id: Ia69fa45e0f728914a4c5de1a531f367dda165dba
/frameworks/compile/slang/slang_rs_reflection.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
e639eb5caa2c386b4a60659a4929e8a6141a2cbe |
|
09-Nov-2010 |
Stephen Hines <srhines@google.com> |
Improve code style. Change-Id: I26e043849bce2a4b41ae132fbe0c882f4a6f112f
/frameworks/compile/slang/slang_rs_reflection.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
66aa299de2b5e0b0c7bfae7628e29a3961247aed |
|
05-Oct-2010 |
Zonr Chang <zonr@google.com> |
Fix FieldIndex issue and re-enable it in reflection.
/frameworks/compile/slang/slang_rs_reflection.h
|
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.h
|