History log of /frameworks/rs/rsScriptC.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4b3c34e6833e39bc89c2128002806b654b8e623d 11-Jun-2014 Chris Wailes <chriswailes@google.com> Adds support for multi-input kernels to Frameworks/RS.

This patch modifies Frameworks/RS in the following ways:
* Adjusted the data-layout of the C/C++ version of RsForEachStubParamStruct to
accommodate a pointer to an array of input allocations and a pointer to an
array of stride sizes for each of these allocatoins.
* Adds a new code path for Java code to pass multiple allocations to a RS
kernel.
* Packs base pointers and step values for multi-input kernels into the new
RsForEachStubParamStruct members.

Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
/frameworks/rs/rsScriptC.cpp
f4d216ee0f0ef18edbde208a61dc4e2fe4c8f050 10-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove FAKE_ARM64_BUILD now that we have 64 build working.

Change-Id: Ieb6627adcd1d097fe709559e182efcfc6841d13e
/frameworks/rs/rsScriptC.cpp
23037481bccbc09baa8f76b0015534571ccd2a4e 26-Mar-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove the obsolete ScriptCState. Simplify cascading #ifdefs.

Change-Id: I1cb561c6325d80c764d386f7b76e6a416261cd8f

modified: rsContext.h
modified: rsScriptC.cpp
modified: rsScriptC.h
/frameworks/rs/rsScriptC.cpp
e195a3f57ace3b66d313a6ee88c6e93d5c9d87f4 13-Mar-2014 Tim Murray <timmurray@google.com> Make RS compile on ARM64.

bug 13280327

Change-Id: I79080c448ca17d0cba8df075737c22b24ce9a085
/frameworks/rs/rsScriptC.cpp
574854bcb2eb25a85b9b52faf2fb3e743fa7aa14 10-Jul-2013 Stephen Hines <srhines@google.com> Fix up master issues with tracing/logging and the compatibility library.

Change-Id: Ia35ca58807a78ea01c4da6c44b4d5e29e65e0cfd
/frameworks/rs/rsScriptC.cpp
140a7acade66ab5d1f3dc55803a3a65a71f3f86c 11-Jul-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of 5376c9bf to master

Change-Id: I51507da10f8d7116a2aa29446a00a43d397a37c8
b0934b67b95cc27e2358c2aa4db5f7c1067c8f9b 04-Jul-2013 Stephen Hines <srhines@google.com> Remove libutils and fix rsDebug for RS support library.

Bug: 9664050

Our bitcode runtime library translates vector rsDebug() calls into passing
their parameters via pointers. The previous version of libRSSupport.so was
being created with non-pointer versions of these routines accidentally.
This change also fixes a missing permission issue for ImageProcessing2, so
that the compatibility library can be verified.

This change also removes the use of libutils by switching the implementation of
String8/Vector in the compatibility library to internal types backed by
libstlport_static.

Change-Id: I20da75e8c19a82a42dc2bceaba1937d21372db84
/frameworks/rs/rsScriptC.cpp
47935ac8e3dd619f758abd576605a564e33bb59c 17-Jun-2013 Tobias Grosser <grosser@google.com> Add the name of the forEach functions to the tracing output

Instead of showing up as 'runForEach', kernels are now e.g. printed as
'runForEach_createAntLookup'.

The String8 is carefully constructed here, such that we only pay
the string processing overhead in case tracing is actually enabled.

Change-Id: Id18319e271a02cbe888bcb9fe806794007d00fca
/frameworks/rs/rsScriptC.cpp
fa85e9143c6f6a227c67bab5f08ff86194abdf2a 23-May-2013 Tim Murray <timmurray@google.com> Enable very basic tracing support.

Change-Id: I524a857390e0bbc49273989caf56f03b51de65cf
/frameworks/rs/rsScriptC.cpp
0b575de8ed0b628d84d256f5846500b0385979bd 15-Mar-2013 Tim Murray <timmurray@google.com> Add x86 server support.

Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
/frameworks/rs/rsScriptC.cpp
93eacc7ce0aad4314b4cb41a281f59ce54bb3286 18-Dec-2012 Jason Sams <jsams@google.com> Cleanup diff with compat.

Change-Id: Ieedcdec03ccb05cac68cbebbd398e07cb885f4d3
/frameworks/rs/rsScriptC.cpp
84bf2b877024aaa154b66e0f2338d54bdabd855a 01-Nov-2012 Tim Murray <timmurray@google.com> Move to smart pointers for refcounting RS contexts

Change-Id: I0dc6adc4e02c7427a4234c549d3555a501fe5f90
/frameworks/rs/rsScriptC.cpp
e78c14bd277e60d5619516e4088a04572a5b250f 02-Oct-2012 Tim Murray <timmurray@google.com> Ensure that the cache directory exists before calling compiler.

Bug: 7077014
Change-Id: Iab94a265193d4ff749573520939c974a982ac7c1
/frameworks/rs/rsScriptC.cpp
807fdc4b6f3fb893015ee136565d6151bb2332d3 26-Jul-2012 Jason Sams <jsams@google.com> Move memory layout to driver.

This change moves all allocation data copies to the
hal. Also removes stride from the runtime. Follow on
changes will remove the malloc pointer from the runtime.

Change-Id: I30967c739800cd4b97186e9fc8b69f26a3f2787d
/frameworks/rs/rsScriptC.cpp
4419977d78018a9933c7f455fe001f644f2d638b 22-Feb-2012 Stephen Hines <srhines@google.com> Support running ForEach on non-root functions.

BUG=6000538

Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
/frameworks/rs/rsScriptC.cpp
4769d68bba1f2af113197ecd6d92ecdae090a6d7 02-Feb-2012 Stephen Hines <srhines@google.com> Properly recover from failed compilation.

BUG=5955072

We used to call delete, which did not update the Context's view of the world,
leading to potential segfaults on Context teardown. This change also enables
exceptions to be thrown when runtime errors are encountered.

Change-Id: If63578efff2d7dd03639da1049c1a5ebc69fde35
/frameworks/rs/rsScriptC.cpp
d38f9254a345062dd44d910aa589f94e76d27092 02-Feb-2012 Stephen Hines <srhines@google.com> Remove wrapper version check assert.

This really shouldn't have been here to begin with, since the wrapper version
should be meaningless to libRS.

Change-Id: I329446ed96d1a70197247735e267b8539a8c83a2
/frameworks/rs/rsScriptC.cpp
af12ac6a08651464f8d823add667c706f993b587 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/rs/rsScriptC.cpp
e70be7e04945cc2bcc82b03b968b3abef3bd554a 23-Nov-2011 Stephen Hines <srhines@google.com> Merge "Add support for handling a bitcode wrapper to librs."
f8d4469e2f51740bd7c0e48f6da024a75c4ef372 23-Nov-2011 Stephen Hines <srhines@google.com> Add support for handling a bitcode wrapper to librs.

BUG=5425905

Change-Id: I75676060703df6d9043b287fea900c4379455ee2
/frameworks/rs/rsScriptC.cpp
77020c5248ca0921d7d24fb60dec5105ba39026c 22-Nov-2011 Jason Sams <rjsams@android.com> Fix script init error handling.

Change-Id: I7ceb0af4dfd12db0274985ff658f678d7af829ff
/frameworks/rs/rsScriptC.cpp
6598201f1c4f409defac9a5af789fb53a7cc00f8 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/rs/rsScriptC.cpp
cdc423482a86937801c6260fcba693b789a13a4b 02-Sep-2011 Stephen Hines <srhines@google.com> Fix remaining .rs.dtor() issue for RS.

BUG=5186750

Change-Id: I74765b844d28ed780f9c9e291b8e0de94352f74b
/frameworks/rs/rsScriptC.cpp
cbb0b8aceedb9146ba901cba1fbd6d1e9ca88f51 02-Aug-2011 Stephen Hines <srhines@google.com> Start using bcinfo components within librs.

BUG=4942491

Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
/frameworks/rs/rsScriptC.cpp
35e429ebf817130d8590d11d441a77aa697bd7d4 13-Jul-2011 Jason Sams <rjsams@android.com> Add slot number to forEach hal.

Change-Id: I0f2992d5f4128422d07f897b335c219cc7f1d02c
/frameworks/rs/rsScriptC.cpp
b81a0eb8180791e4eaab1253b59fa8bd562b046b 03-Jun-2011 Alex Sakhartchouk <alexst@google.com> More work to make libRS buildable on the host.

Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
/frameworks/rs/rsScriptC.cpp
70b83c111beceaf8fbb700580833e7fec99272cf 06-Apr-2011 Alex Sakhartchouk <alexst@google.com> Modifying libRS internal communication to handle network rendering.

Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
/frameworks/rs/rsScriptC.cpp
87fe59a2f4d4c74539bfa0bff5f9a7e320e99415 21-Apr-2011 Jason Sams <rjsams@android.com> Create runtime stubs for compute driver.

Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
/frameworks/rs/rsScriptC.cpp
8feea4e0dec48ea03bd6d32706d058b86dddc5ba 18-Mar-2011 Jason Sams <rjsams@android.com> Seperate GL from RS program store.

Change-Id: I0eae9c0699845af8e8611b065e70738cc9f2b15c
/frameworks/rs/rsScriptC.cpp
cdfdb8f2cdf4668c476cac842212892b2505ff3f 18-Mar-2011 Jason Sams <rjsams@android.com> Migrate thread launch to driver.

Change-Id: If182c524cceb327547640f22f956856d291d1787
/frameworks/rs/rsScriptC.cpp
bad807405b2b9764372af1ad24bcfd4fb1f33d8e 17-Mar-2011 Jason Sams <rjsams@android.com> Start seperating out RS compute implementation. Create hal
layer to seperate from runtime.

Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
/frameworks/rs/rsScriptC.cpp
02000b3cdcb2ac369bd06313932b26d4b8e023a9 25-Feb-2011 Alex Sakhartchouk <alexst@google.com> Moving dependency includes out of librs headers.

When we want to use it on the host, we shouldn't need to go hunting for every external dependency

Change-Id: I885262acdcdf5ede4a9392235f35d5e2f7038e8b
/frameworks/rs/rsScriptC.cpp
afca6df36431af4dee8b8a8ee8c1bba18b01ef0d 01-Feb-2011 Shih-wei Liao <sliao@google.com> Use bccLinkFile instead of bccLinkBC. Remove hacking.

Change-Id: I0ffea89553e3229ee5a3262846462298fc0f5dea
/frameworks/rs/rsScriptC.cpp
2e8665de7c0eb4514c67baf8693d61c892e5303d 27-Jan-2011 Jason Sams <rjsams@android.com> Correctly free resouces bound to scripts when the scripts are deleted.

Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070
b: 3381615
/frameworks/rs/rsScriptC.cpp
249d453869cca82dcb57123f6d1c8df3ca9f4372 24-Jan-2011 Jason Sams <rjsams@android.com> Cleanup script init to fix bogus log printing and
reduce memory churn.

Change-Id: I0bf5392102e3d59fea81f5f9f832887113602b7f
/frameworks/rs/rsScriptC.cpp
fa6113eac8373fb88479726653a7614cb06336d2 20-Jan-2011 Shih-wei Liao <sliao@google.com> Handle fatal errors from calling bccRegisterSymbolCallback (if any).

Change-Id: I53f35b6efd26abc1e8559f6f1e37abb55a1df7db
/frameworks/rs/rsScriptC.cpp
26b2c9f5b0d77b69fb5edf96dab7d57f1de1d594 20-Jan-2011 Jason Sams <rjsams@android.com> Check and propogate errors from llvm.

Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
/frameworks/rs/rsScriptC.cpp
5439184e13077059e4caffbdadfcfe37ec99ec10 19-Jan-2011 Shih-wei Liao <sliao@google.com> 1. fp_mad.rs: Pass C99 check.
2. Include C99 header (Will be fixed later at build.git.)

Change-Id: I2864e081b2635dfc4fc0c85f746f6d0ce0b01af5
/frameworks/rs/rsScriptC.cpp
4cfa6be4e0994090afa6941af71b16d9f6fed264 19-Jan-2011 Shih-wei Liao <sliao@google.com> Fix the build.

Change-Id: I23c4146cb19540351c33b5823df25d6e2b204402
/frameworks/rs/rsScriptC.cpp
b5dc6af59c717fd871874930ac8e7b2b0f26dae2 18-Jan-2011 Stephen Hines <srhines@google.com> Validate that version pragma is correct.

Change-Id: I42dced79b0df52c101525799081bc8a5426c11e4
/frameworks/rs/rsScriptC.cpp
7b337b1ce7e8861a254d7d06c2d0a26bced9b52b 18-Jan-2011 Stephen Hines <srhines@google.com> Remove erroneous log message.

This change also enables pragmas to be checked for scripts that do not have a
root() function.

Change-Id: I4f41300b623581483970050680ac96c54f99d34a
/frameworks/rs/rsScriptC.cpp
b2cfc988101f93ee5e1fbcfc717230dee71aee3b 17-Jan-2011 Shih-wei Liao <sliao@google.com> Fix bug in on-device linking.

Change-Id: Ic027d4cbf240a45da95a024067215a572c3bd7a9
/frameworks/rs/rsScriptC.cpp
80761ecd7b19a44e6bb77437f4d99ee6b58fe251 16-Jan-2011 Shih-wei Liao <sliao@google.com> On-device linking using bccLinkBC. Note that we switch to getFile interface
on the libbcc side.

Change-Id: Iec4e0624f1448161c0a2163f3ce725ce6cdf3267
/frameworks/rs/rsScriptC.cpp
2b2e62117780d89bcd38f3ae453c4105a360ff79 14-Jan-2011 Shih-wei Liao <sliao@google.com> bcc interface fixed.

Change-Id: I81349750e58f119a9c2ad596f376c7e39d5f0d4e
/frameworks/rs/rsScriptC.cpp
1884278a974c62718aacd9b6c0da8d6871631bd8 13-Jan-2011 Shih-wei Liao <sliao@google.com> Disable on-device linking

Change-Id: I7c416c7c9714fae0722e61c4f0368fbdb7d808b3
/frameworks/rs/rsScriptC.cpp
60c3234efa02e0fa51f550271d5be02d06fc6a4a 13-Jan-2011 Shih-wei Liao <sliao@google.com> On-device linking.

Change-Id: I609f575f1c2b9e9c3de0d8c16eb06b66b744bcb5
/frameworks/rs/rsScriptC.cpp
1c089c27301894ccc0ed6d8854ec1e7d4e73742f 08-Jan-2011 Shih-wei Liao <sliao@google.com> For caching, didn't do CompileBC. Rename bccCompileBC as bccPrepareExecutable.

Change-Id: Ie63cd87bf377e2daf0c81d81c0bf86a6195edf46
/frameworks/rs/rsScriptC.cpp
37150def08fc971e8422245efef27265331cace4 08-Jan-2011 Shih-wei Liao <sliao@google.com> 1. LOG 4 fatal error paths (TODO: These 4 places should signal Java exceptions.)
2. Prepare on-device linking.
3. Clean up code.

Change-Id: Iac4148431dbe1c3c4044f7394eb51a1332f513f9
/frameworks/rs/rsScriptC.cpp
741aac95b777b2e6cb90f484a05e489a79a6ef05 24-Dec-2010 Jason Sams <rjsams@android.com> Fix teardown bug found in books.

Change-Id: I9ac449b644108148b331e0c552f289bf80a07f7e
/frameworks/rs/rsScriptC.cpp
a6ebec8cf4a9c420fba74a80c7238b5f20b5966a 23-Dec-2010 Shih-wei Liao <sliao@google.com> Clean-up.

Change-Id: I43045da43a5e48e1bf759cd18c1b90d45f243450
/frameworks/rs/rsScriptC.cpp
ce8a079bd4d296f9f1a24d7a5808d57f71dfc2e4 20-Dec-2010 Shih-wei Liao <sliao@google.com> Stale cache management to address a P1 bug # 3296131.

Change-Id: I593f35a91c4a14c055828f8989fe01b9e7790039
/frameworks/rs/rsScriptC.cpp
ff8ce9cd935cd03ec8a7c564b7cf06783c8f8c73 16-Dec-2010 Shih-wei Liao <sliao@google.com> Whenever LoadBinary fails, recompile. Fixing the multi-instance bug.

Change-Id: Ib1565efe1353ed788a3ed3c81c6067e92d8ef0e5
/frameworks/rs/rsScriptC.cpp
15849d9a926fbd83587b9da30b8888574998a0fd 10-Dec-2010 Shih-wei Liao <sliao@google.com> 1. Add Context to a RenderScript or RenderScriptGL instance.
This is to allow RenderScript to better interact with the Android environment.
E.g., per-app cache.
2. Plumbing, testing.
3. Added getApplicationContext in RenderScript.java.

Change-Id: I85edeebe38825e20b2e86f4f4815689dfc332ef9
/frameworks/rs/rsScriptC.cpp
1f24db404b2cf8768bf2bd53a3caeb5812b8ce9f 12-Dec-2010 Jason Sams <rjsams@android.com> Add multitouch support to physics test.
Fix context state overwrite calling invoke.

Change-Id: I7a71237bcf36abb31f98eb6d872501fdfb007d81
/frameworks/rs/rsScriptC.cpp
f17b13be814135b85e6aed7e3cca441c8e00e8c4 07-Dec-2010 Shih-wei Liao <sliao@google.com> Make ScriptC's mEnvironment.mIsThreadable survive the bcc caching and
then cache-reloading.

Change-Id: I0f5d54160dd9ee567fae53c69b246f99096993da
/frameworks/rs/rsScriptC.cpp
9503b66e5329703535f7cc71a0755e6f3b1e39a6 08-Nov-2010 Shih-wei Liao <sliao@google.com> Add caching support of BCC binaries.

Change-Id: I1e75bb84d88319cb6f1bbe6d907cf6e8ed546142
/frameworks/rs/rsScriptC.cpp
60709257bbdeb0c50f39b9c8969dc76264d6e142 18-Nov-2010 Jason Sams <rjsams@android.com> Create holder inner class for pushing context state.
Fix bug with rsForEach corrupting parent context state.
Remove workaround from rsBalls.

Change-Id: I43a948536e70d44645d1c2ef7b97e1c5906f6943
/frameworks/rs/rsScriptC.cpp
2fad7e47a8177235bb88fe271572bd986a7e4136 16-Nov-2010 Jason Sams <rjsams@android.com> Fix crash with extended debugging.

Change-Id: I982a7c7ea7ccae074be5254032c43a862137747a
/frameworks/rs/rsScriptC.cpp
afb743aca56c18beb7ab924e75cb6e070ef3e55a 10-Nov-2010 Alex Sakhartchouk <alexst@google.com> Code cleanup to make formatting consistent
across all the renderscript files.

Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
/frameworks/rs/rsScriptC.cpp
6bfc1b91dc7684f8ad9dc9f605e92ed8a31d5bbe 01-Nov-2010 Jason Sams <rjsams@android.com> Add code to mark functions rather than whole files as threadable.

Change-Id: Ie635fbbb96b8ade48501ec564fe135edc256537d
/frameworks/rs/rsScriptC.cpp
fbc79e5ad14c1cb68409043fbaf9a2ec4dcf6812 30-Oct-2010 Jason Sams <rjsams@android.com> Remove excessive logging.

Change-Id: I22497b1b169ca0f3edbc20649594f6f58f6144d0
/frameworks/rs/rsScriptC.cpp
177f8446d58e5b1a4258935371a9450dbe34dca6 29-Oct-2010 Jason Sams <rjsams@android.com> Balls test app.

Change-Id: I842f43e37145f8112120e2bd49925f81c588c40c
/frameworks/rs/rsScriptC.cpp
1f9ba735cc429ae8df140644f6f0a4481f2a8068 23-Oct-2010 Shih-wei Liao <sliao@google.com> Enable optimized bitcode that is also jitted faster.

Change-Id: I08832cfaf4e8465c16b445eeb1b82f72d874d0ef
/frameworks/rs/rsScriptC.cpp
225afd317e101a7be5fe02c0a86361146ea89f05 21-Oct-2010 Jason Sams <rjsams@android.com> Fix refcounting bugs where the sys refcount
could be corrupted during async type creation.

Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2

Fix stack object deletion bug.

Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
/frameworks/rs/rsScriptC.cpp
2353ae303868d04e3a26002b2f2dc456c15e8170 15-Oct-2010 Jason Sams <rjsams@android.com> Async type creation.

Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
/frameworks/rs/rsScriptC.cpp
d7e5481b2232b0532d3ab938b472355c86769a76 11-Oct-2010 Jason Sams <rjsams@android.com> Cleanup error message for null binding address.
Only print the debug if script debugging is enabled.

Change-Id: I72b9c2a73d49987a73b354442e9defec02b93bc6

Implement inner utiliy class to specify surface formats.
Remove boxed bitmap upload functions.

Change-Id: I3ff5ca59e53d02b9d75277afa947ea3d218459eb
/frameworks/rs/rsScriptC.cpp
700ba38f022208686523ab4280c4fc9f102aa273 09-Oct-2010 Alex Sakhartchouk <alexst@google.com> Removing fixed size arrays.

Change-Id: I5c65b29a197013de2517cfb6dbe7abb9e24a688b
/frameworks/rs/rsScriptC.cpp
01b7d2995f9cbd33a9ccdf861fe959743a4b9954 29-Sep-2010 Stephen Hines <srhines@google.com> Fix clear() operation for rsScriptC.

- This removes a memory leak where some elements were not getting tracked
properly (and then triggering an assert when a context is destroyed).
- Convert ScriptCState to use a tracked object reference for mScript.
- Add a missing clear to FontState.
- Clean up synchronization in RSTest so that our graphics context outlives
any subtest context.

Change-Id: I0d5768c4d2f8810dd1ae2f68b1edd7e150f382fd
/frameworks/rs/rsScriptC.cpp
8d957fa762eff6c03a93ddea9405d9575665f1ec 28-Sep-2010 Jason Sams <rjsams@android.com> Fix safe for mp check in ScriptC.

Change-Id: Id91b3c1e99b2705fd39f9e74a52c61110805e246
/frameworks/rs/rsScriptC.cpp
b26fb04770442244233b630960f419cb154abc77 25-Sep-2010 Alex Sakhartchouk <alexst@google.com> Adding timer to display renderscript jit duration.

Change-Id: I8ab1dea60a833cd11771cf145cadbc96ac52b934
/frameworks/rs/rsScriptC.cpp
b9077f48e2c5aff1838bbbeccf56c2b5f5490ab6 23-Sep-2010 Jason Sams <rjsams@android.com> Better debugging for scripts.

Change-Id: I916cea86dcfdb43a9465708ea4a16f19cbe42370
/frameworks/rs/rsScriptC.cpp
900f1616bf33c7ba13cf2a737832a95bcd176388 17-Sep-2010 Jason Sams <rjsams@android.com> Cleanup GL setup code and remove legacy 1.1 paths.
Reset pointers to NULL when allocations are unbound.

Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
/frameworks/rs/rsScriptC.cpp
e7b4b86cf8ff443ce4f7bdf7050ab9e3cf39a6d5 08-Sep-2010 Anatol Pomazau <anatol@google.com> Fix header path.

Now libbcc is located under framework/compile

Change-Id: I39cd0d27da73ce31e8cb92772bfda3a942ccd27c
/frameworks/rs/rsScriptC.cpp
dd663fa8367bfacb6c77b368f91adf614cd0beba 11-Aug-2010 Jason Sams <rjsams@android.com> Thread launch strategies.

Change-Id: I506df786e815205a8e51906c2b517302c1ef2471
/frameworks/rs/rsScriptC.cpp
a226b166dde77ae4bf4202a60afd14339b040dd3 21-Jul-2010 Shih-wei Liao <sliao@google.com> Use bccGetExportVars to get mFieldCount, instead of hardwiring "100" in calloc.

Change-Id: I6023b93865f785779b966acf03bf120078ac3c74
/frameworks/rs/rsScriptC.cpp
181334092f78273d0da2d854ebbe7b24508d3bfc 21-Jul-2010 Jason Sams <rjsams@android.com> Update imageprocessing to remove generated files.
Fix thread launch race condition.

Change-Id: I24d7f87ac87db6f9e3418d6a429471a71d2c9e9d
/frameworks/rs/rsScriptC.cpp
7bf29ddc35450d8064541c42c99a1f48be6cf0dd 20-Jul-2010 Jason Sams <rjsams@android.com> Threading RS ForEach.

Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
/frameworks/rs/rsScriptC.cpp
ace3e01f07252ee0fa47fcf1ac48864d8220b90e 16-Jul-2010 Jason Sams <rjsams@android.com> 1st cut of ForEach and test.

Change-Id: I6534569c8d26db8b9691666134a555c8bf94184e
/frameworks/rs/rsScriptC.cpp
8c88090e8cccab103eebe2ff569e116e9f5fb208 15-Jun-2010 Jason Sams <rjsams@android.com> Remove InvokeData and add ContextFinish to generate a sync point.

Change-Id: I27da8bf5fba2c8a428964cb6a5e66dd7a94958d8
/frameworks/rs/rsScriptC.cpp
2a63bf6c293d89c8e3725cfb7ee2add3dd3f0246 09-Jun-2010 Jason Sams <rjsams@android.com> Begin using reflected files.

Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
/frameworks/rs/rsScriptC.cpp
c61346b91434307c5003029017b54ce9c49112be 29-May-2010 Jason Sams <rjsams@android.com> Rough implemetation of ForEach.
Remove launchID from root graphics script.

Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
/frameworks/rs/rsScriptC.cpp
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/rsScriptC.cpp
aeb094b520d8ea49b74129927578f18f758c873e 18-May-2010 Jason Sams <rjsams@android.com> Split ScriptC Lib into CL, GL, and basic.

Change-Id: Iadab35f2a967a1afd7a2fd13216d0a7acf4b6a50
/frameworks/rs/rsScriptC.cpp
5a27917966b3a5d0c978f2a096b409170b6b5d78 18-May-2010 Jason Sams <rjsams@android.com> Remove excess logging.

Change-Id: Ib4af6428c5fd87c3891f41eca6ca43d84f0edc97
/frameworks/rs/rsScriptC.cpp
ce92d4baf7a5bce097228fdd4498601764cd4014 17-May-2010 Jason Sams <rjsams@android.com> Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.

Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
/frameworks/rs/rsScriptC.cpp
639e6e9349adec4113312a29b295af432f14faaf 15-May-2010 Jason Sams <rjsams@android.com> Delete legacy setDefine API.

Change-Id: I1bae13533ab9efea3d3b0ebb6a3711343e922f8a
/frameworks/rs/rsScriptC.cpp
ccc010bb7c0f89e162bf60033968a20be90a903a 14-May-2010 Jason Sams <rjsams@android.com> Rename ProgramFragmentStore to ProgramStore.

Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
/frameworks/rs/rsScriptC.cpp
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/rsScriptC.cpp
a2cf755a28a1e7ffff2955df656d714f40e4d715 03-Mar-2010 Jason Sams <rjsams@android.com> Improve RS error handling. On errors RS will now store the error and a message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received.
/frameworks/rs/rsScriptC.cpp
b4d3568f68b1ae97e2a82061cccf220f8e93cd94 05-Jan-2010 Jason Sams <rjsams@android.com> Add RS support for generic attribs as input to vertex programs.
/frameworks/rs/rsScriptC.cpp
d01d970cf5973aa5186cc02c80fb2c143a69b0b1 23-Dec-2009 Jason Sams <rjsams@android.com> Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.

This will break some apps, checkings for other projects will follow to unbreak them.
/frameworks/rs/rsScriptC.cpp
4815c0d121310cfcd6a8aba4eab77a9910af53ac 15-Dec-2009 Jason Sams <rjsams@android.com> Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
/frameworks/rs/rsScriptC.cpp
2dca84dd6c07992f78ad050177975f16486dd77e 09-Dec-2009 Jason Sams <rjsams@android.com> Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
/frameworks/rs/rsScriptC.cpp
e402ed33486730f1d06f080cdfc48132bf612b3a 03-Nov-2009 Jason Sams <rjsams@android.com> Fix RS bugs. We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
/frameworks/rs/rsScriptC.cpp
9e4e13d87e834b1cb770407cef0778c262b02b72 07-Oct-2009 Jason Sams <rjsams@android.com> Fix tls crash on startup if more than one RS contexts are created in one process.
/frameworks/rs/rsScriptC.cpp
b681c8af69ef6938c80dd5cc5fc920db94ee9f43 29-Sep-2009 Jason Sams <rjsams@android.com> Fix but processing raster state pragma.
rename stateFragmentStore to stateStore
/frameworks/rs/rsScriptC.cpp
f2649a961db2995e9e24a6c98f8a419f1496c1b7 26-Sep-2009 Jason Sams <rjsams@android.com> Improved object lifecycle tracking and fix leaks.
/frameworks/rs/rsScriptC.cpp
1fddd90849deaae89b546ff492c345d485bbce42 26-Sep-2009 Jason Sams <rjsams@android.com> Reduce debugging spew and add props to selectivly re-enable it.

change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
/frameworks/rs/rsScriptC.cpp
e514b45de8561fbc6ef6770845102ca10b0a69d7 25-Sep-2009 Jason Sams <rjsams@android.com> Improve renderscript context teardown. Track object in the system and then force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
/frameworks/rs/rsScriptC.cpp
a891933b4c5ab1b63103add167269cfc404c2adf 25-Sep-2009 Jason Sams <rjsams@android.com> Minor cleanup of profile and compile logging.
/frameworks/rs/rsScriptC.cpp
ada7f272890d8791bc518c95989ad7d13050834d 24-Sep-2009 Jason Sams <rjsams@android.com> Fix invokables to make sure script pointers are setup before invoking function calls. Reduce app startup time up to 1s.
/frameworks/rs/rsScriptC.cpp
8c6bc6930d4996b897de8e5113da4a4efae2310c 17-Sep-2009 Jason Sams <rjsams@android.com> Implement renderscript Invokables.
/frameworks/rs/rsScriptC.cpp
a57c0a72c3b3babc2757d081ff8146ebaa2caf4c 04-Sep-2009 Jason Sams <rjsams@android.com> Remove "predefined" elements from Java layer. Static elements continue to exist but are no longer treated as a special version of element.
/frameworks/rs/rsScriptC.cpp
1d54f10f3c23e0d7ec57e52ec3b0701a2a5ed24e 04-Sep-2009 Jason Sams <rjsams@android.com> Improve structure support using symbol lookup of named structures in scripts to allow them to appear as just pointers to structs.
/frameworks/rs/rsScriptC.cpp
9397e30ce5fe3f6af9212a93b490836b04fdfffa 28-Aug-2009 Jason Sams <rjsams@android.com> Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
/frameworks/rs/rsScriptC.cpp
306fb23e57c4a389eaf3159b9701a64cb56e284e 26-Aug-2009 Jason Sams <rjsams@android.com> Remove bogus comments and logging.
/frameworks/rs/rsScriptC.cpp
90b36a88cf0cc549b296ac15a249ea7786c6de9e 17-Aug-2009 Jason Sams <rjsams@android.com> Update fountain and add writable flag to script slots.
/frameworks/rs/rsScriptC.cpp
fa51719e6c1bd17b3f347477b4827face9ab647e 13-Aug-2009 Jason Sams <rjsams@android.com> Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
/frameworks/rs/rsScriptC.cpp
8b2c065dfc16c148e2829a19e83d2269b9bcd4cc 13-Aug-2009 Jason Sams <rjsams@android.com> Implement reflecting Java objects into the ACC enviroment.
/frameworks/rs/rsScriptC.cpp
57b79ceb1126e3797fa42367b97dd7bcfcda1ed9 10-Aug-2009 Joe Onorato <joeo@android.com> Let java put #defines into renderscript
/frameworks/rs/rsScriptC.cpp
9c4e4ca9ff75a7fe18544c83fcf782e46c9b6ac2 09-Aug-2009 Joe Onorato <joeo@android.com> add three rs functions: uptimeMillis, startTimeMillis, elapsedTimeMillis
/frameworks/rs/rsScriptC.cpp
d34b725ac1752f5a234c7643a0b65245591ea1cc 05-Aug-2009 Jason Sams <rjsams@android.com> Split ProgramFragment and ProgramStore from RenderScript.java. Update Element and Type to new cached builder for easier app developement.
/frameworks/rs/rsScriptC.cpp
98e10fd7438f2e925e7fb5c2ec97c1f8cc583634 31-Jul-2009 Romain Guy <romainguy@android.com> First pass at implementing the Grass live wallpaper in RenderScript.

This change also adds second(), minute() and hour() to the RS library.
/frameworks/rs/rsScriptC.cpp
b5909ce06dd10dcb5ac715572a05b2d225b77c98 21-Jul-2009 Jason Sams <rjsams@android.com> Enable light sources and update film test app.
/frameworks/rs/rsScriptC.cpp
e45ac6e91864f2a6617b6a2c0aa87cdb62cf58fd 20-Jul-2009 Jason Sams <rjsams@android.com> Split rsScriptC into class implemtation and library functions. Update test apps, all 3 should be working.
/frameworks/rs/rsScriptC.cpp
13c8bb765027d0644faee8a5e092dd3e783cff84 18-Jul-2009 Jason Sams <rjsams@android.com> Fix fountain and more rollo ui work.
/frameworks/rs/rsScriptC.cpp
87a1c021be62300ac52d443a2a11a999bcea597e 17-Jul-2009 Jason Sams <rjsams@android.com> More usability tweaks including turning the icons right side up.
/frameworks/rs/rsScriptC.cpp
f1685045e3423f2e342c3d74c206a25d72eba89d 17-Jul-2009 Jason Sams <rjsams@android.com> Fix conflict with automatic DPI support on high density devices by forcing bitmap loading to not be scaled.
/frameworks/rs/rsScriptC.cpp
29df66f82aeef7fa7e2cf00edbf00d43c822b05a 17-Jul-2009 Jason Sams <rjsams@android.com> Update rollo and renderscript to the new ACC compiler interface.
/frameworks/rs/rsScriptC.cpp
fd10b71b33b7340c00c11c8684ca940e83b5aaca 16-Jul-2009 Jason Sams <rjsams@android.com> Update rollo with new interactivity model.
/frameworks/rs/rsScriptC.cpp
334fd9aeacd4221fc8cd1333b2a34fb3b26b3a0d 03-Jul-2009 Jason Sams <rjsams@android.com> Add support for multitexture and fix allocation ref counting bug in RS. Add plaque to rollo and leave it disabled due to ugly appearance.
/frameworks/rs/rsScriptC.cpp
b9fb90088fee215108f14e202af373813a7ba41f 02-Jul-2009 Jason Sams <rjsams@android.com> Update rollo with icon images.
/frameworks/rs/rsScriptC.cpp
f94ca5152d1eb271dcd47bc3be1cefe147f6f6fe 02-Jul-2009 Jason Sams <rjsams@android.com> Update rollo and support functions. Includes mockup of some new ui concepts.
/frameworks/rs/rsScriptC.cpp
992a0b70d8fd7a14f0c57bc3c7e16c1f269a6609 23-Jun-2009 Jason Sams <rjsams@android.com> Cleanup logging and fix a startup race condition that manifested on Firestone.
/frameworks/rs/rsScriptC.cpp
1aa5a4eb81b8b88aeb5d2b6f4c47356fd0a62923 23-Jun-2009 Jason Sams <rjsams@android.com> Cleanup includes so Log.h can use the tag. rsUtils.h is the file that should be included everywhere and contain rs global defines.
/frameworks/rs/rsScriptC.cpp
36e0bc403e8166970c71bf4d55423bf39eebea4e 20-Jun-2009 Jason Sams <rjsams@android.com> implement modeview matrix sliding from within scripts.
/frameworks/rs/rsScriptC.cpp
e57691037aea219562ac686429b4b98202aab7bc 20-Jun-2009 Jason Sams <rjsams@android.com> checkpoint filmstrip, implemented TLS.
/frameworks/rs/rsScriptC.cpp
8ce125be69531dbf3a7e856d5e59d1b8e2789db0 18-Jun-2009 Jason Sams <rjsams@android.com> Implement default programs and implement defaults and parents for imports.
/frameworks/rs/rsScriptC.cpp
56bc1af0a040b003164e3394f1c7a277b15e7d85 17-Jun-2009 Jason Sams <rjsams@android.com> Switch fountain to use ProgramVertex rather than hard coded camers in scripts. Remove camera code from scripts.
/frameworks/rs/rsScriptC.cpp
a4a54e42fc710a62b47cbcb9d64c34a190429d9e 11-Jun-2009 Jason Sams <rjsams@android.com> Fix bug with bad conversion of java strings to C strings for object names. Update test app to test object defines.
/frameworks/rs/rsScriptC.cpp
a0a1b6fbece2eb8d72d788422ab3e5f58d5a9216 11-Jun-2009 Jason Sams <rjsams@android.com> Add named objects and implement support for ProgramFragmentStore and ProgramFragment to be used by name in scripts.
/frameworks/rs/rsScriptC.cpp
1030893d9b99b72468034da13df025bda479bb97 09-Jun-2009 Jason Sams <rjsams@android.com> checkpoint pragma support. Includes more cleanup of script enviroment storage to keep the env settings in the base and only the per language state in ScriptC.
/frameworks/rs/rsScriptC.cpp
efb8de1ef851c9c2a042ad06f64e33bb8b366041 09-Jun-2009 Jason Sams <rjsams@android.com> Fix build issue and ref count bug with scripts.
/frameworks/rs/rsScriptC.cpp
1f52633fefd1862451e6a30209d590680d02beec 06-Jun-2009 Jason Sams <rjsams@android.com> Move call to compiler from jni to core library code.
/frameworks/rs/rsScriptC.cpp
a44cb29164726cd9d812117819abdd7b60dfdd93 05-Jun-2009 Jason Sams <rjsams@android.com> Add support for scripts to return an animation flag. This allows them to indicate they are generating changing content and the rs thread to sleep if the content is static.
/frameworks/rs/rsScriptC.cpp
1ef8b80bc49f415b93912fe7335f852953bde4a4 29-May-2009 Jack Palevich <jackpal@google.com> Delete the acc script when deleting the Renderscript rsScriptC object.

Previously we had been leaking the ACCscript object.
/frameworks/rs/rsScriptC.cpp
6678e9b2568ad041429a2477177133fe4932159f 27-May-2009 Jason Sams <rjsams@android.com> Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object.
/frameworks/rs/rsScriptC.cpp
fd19dc9fc3e76caf5c37645ea5131b2a2cf10ef7 27-May-2009 Jack Palevich <jackpal@google.com> Fix Fountain test app so that it actually builds.

Also check in first part of an libACC implementation.
/frameworks/rs/rsScriptC.cpp
326e0ddf89e8df2837752fbfd7a014814b32082c 22-May-2009 Jason Sams <jsams@google.com> Add the Renderscript library. (Not in the build by default yet.)

This library can be used to create animated 3D User Interfaces.

This library is currently under heavy development, so it's not part of
the build by default.

In order to build this library, you must define

BUILD_RENDERSCRIPT=true

in your build environment.

You will also have to manually edit

build/core/prelink-linux-arm.map

And add libRS and libRS_jni at the end like this (exact address may change.)

libRS.so 0x9A100000
libRS_jni.so 0x9A000000
/frameworks/rs/rsScriptC.cpp