History log of /frameworks/rs/driver/rsdBcc.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a36c50a6ab87f4c9049318d4c6c8ec7b0a1e6e12 17-Jun-2014 Jason Sams <jsams@google.com> Add 64bit large object support

Add HAL hooks for filling in LO fields.

Change-Id: Ib9bdee714a062de519d2a9708c1016404a1b11a4

Conflicts:
driver/rsdBcc.cpp
driver/rsdCore.cpp
rsAllocation.h
rs_hal.h
/frameworks/rs/driver/rsdBcc.cpp
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/driver/rsdBcc.cpp
ac8d146a41f18afad5314ac8af440d6aedbe20bf 25-Jun-2014 Stephen Hines <srhines@google.com> Switch the dimensions array to use uint32_t instead of size_t.

size_t isn't safe, since we pack/unpack the array as a 32-bit int array, but
that is the wrong type for 64-bit. Switching to uint32_t is better, since we
only support 1 dimension today, and won't need many more than that even for
complex cases in the future.

Change-Id: Ie0dda264a9398b0e385e0f9ee0a91cda08325dbc
/frameworks/rs/driver/rsdBcc.cpp
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/driver/rsdBcc.cpp
9c64239ebbfa4170190ede812e69150035e008e0 11-Apr-2013 Tim Murray <timmurray@google.com> Add support for synchronous get().

Change-Id: Ic94f1e36f7cffaaeda11fa9f0bb70e441fe1e535
/frameworks/rs/driver/rsdBcc.cpp
099bc262f862cdeb547cf8a78fe9e0e92560f437 21-Mar-2013 Tim Murray <timmurray@google.com> Start making RS 64-bit clean.

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

Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
/frameworks/rs/driver/rsdBcc.cpp
709a0978ae141198018ca9769f8d96292a8928e6 16-Nov-2012 Jason Sams <jsams@google.com> Separate CPU driver impl from reference driver.

Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
/frameworks/rs/driver/rsdBcc.cpp
e0e5e8475c37b777e16aa4e9d3d020f4c986e3fb 17-Nov-2012 Jason Sams <jsams@google.com> Merge commit 'f5ecac92' into manualmerge

Conflicts:
driver/rsdBcc.cpp

Change-Id: I04a06c157165a77f3c5edffa637b9e42a02ef617
cd62caad07b6e8458a0b7b0bfe3da14f8aadd56b 17-Nov-2012 Jason Sams <jsams@google.com> Merge commit '054af68e' into manualmerge

Conflicts:
driver/rsdBcc.cpp

Change-Id: I5922a32a3d27cb2a48e9672eab2d47d1b122bbc0
3ea5b9cc71960a95a34adfde600c8fb87d4f053a 15-Nov-2012 Jason Sams <jsams@google.com> Fix performance when reading or writing large buffers.

Blur intrinsic which uses ~25mb of data would spill the
L2 cache when a smarter walking pattern could reduce this
hit. We now vary the chunk size on both the processor
count and data size.

N7 execution time drops 1959ms to 930ms
Mako 470ms to 385ms
Manta, no change.

Change-Id: I57e36e2fec3bb51033a9bd9f3040963f5b071eb0
/frameworks/rs/driver/rsdBcc.cpp
c5b34c6ff0f1c2a25c45af932e1d7a7b494a34b0 15-Nov-2012 Jason Sams <jsams@google.com> Thread launch latency improvements.

Change-Id: I38b104edc1e120f2d8187edbd75e5d9ea652c12e
/frameworks/rs/driver/rsdBcc.cpp
374a259d380bec33b865c6e02276ee203ee9814a 01-Nov-2012 Stephen Hines <srhines@google.com> Update for new bcc build() interface.

Change-Id: Ief8f813e42b9c320d2185929d39c14cab8b08206
/frameworks/rs/driver/rsdBcc.cpp
bee28c6b56d0c399402014cd58cea426da2b98c1 26-Oct-2012 Jason Sams <jsams@google.com> Merge script groups.

Change-Id: Id5baf5e7c59a004127250fced91b6b33b1fe053b
/frameworks/rs/driver/rsdBcc.cpp
f598811a60088236222bb1879503842094ca378b 16-Oct-2012 Stephen Hines <srhines@google.com> Fix use of rs_script_call_t.

There were a few broken parts here for rs_script_call_t.
1) Incorrect runtime function signatures.
2) Missing enum at the start of the driver structure.
3) Missing update of pointer based on xStart.

Bug: 7212879
Change-Id: I25d44d5534ceb61b49b0bbc7cf1b5c6b16bab360
/frameworks/rs/driver/rsdBcc.cpp
78b050ea1e13108110ce3b8ead63252e5ebe2468 16-Oct-2012 Jason Sams <jsams@google.com> Fix bugs in scriptGroup.

Intrinsics were treating inputs as fields rather than varObjs.
This would generate a lot of extra work for the reflection
layers. Also we would like to deprecate this path in the future.

bug 7318821

Change-Id: I89ad25f96ae23502d7925b9824b629bbd8801963
/frameworks/rs/driver/rsdBcc.cpp
7c355cc6e667220244cfd55249b64cd161c3dbd9 25-Sep-2012 Jason Sams <jsams@google.com> Implement optimized kernel kickoff for T30

bug 7190126
~3x perf gain from lightweight intrinsics

Change-Id: I6cf001a2790f228efe252e0083e1915bd6373416
/frameworks/rs/driver/rsdBcc.cpp
cf9ea9f4145cae663f439b1c2dab956fa37180bb 24-Sep-2012 Jason Sams <jsams@google.com> Implement backend of blend intrinsic

bug 7190126


Change-Id: I5095366eb3d091bba1628b7cceb5efb685c8f870
/frameworks/rs/driver/rsdBcc.cpp
ba808d71236c5c9deca01f0e2938cae983564940 18-Sep-2012 Jason Sams <jsams@google.com> Fix intrinsic threading.

Change-Id: If6fdf286cc37b975953d66f41713f2dec52898b0
/frameworks/rs/driver/rsdBcc.cpp
dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48 17-Sep-2012 Jason Sams <jsams@google.com> Add backed for script groups.

Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186
/frameworks/rs/driver/rsdBcc.cpp
e1e08b4c9cc80c51224fdaf3aeab0804daf073e6 05-Sep-2012 Jason Sams <jsams@google.com> Continue intrinsic development

Fix build issues with neon code
Add support for multiple intrinsics.

Change-Id: I3eb35ed47364b0df27ff14c99e4a5a2036fc4db0
/frameworks/rs/driver/rsdBcc.cpp
6d958bc9ac6efc404be2b502c5c579e00837bff1 05-Sep-2012 Jason Sams <jsams@google.com> Revert "Fix intrinsic performance."

This reverts commit 49202fbfe57d2cc92b183baa8cbce3141e9a9ead

Change-Id: I01a12869b09322b10bb8ce8daec446361a0628ed
/frameworks/rs/driver/rsdBcc.cpp
49202fbfe57d2cc92b183baa8cbce3141e9a9ead 01-Sep-2012 Jason Sams <jsams@google.com> Fix intrinsic performance.

Change-Id: I0bd511e8e7520f5dfe8643f3ff3db805b7881d99
/frameworks/rs/driver/rsdBcc.cpp
17f03fc9552551024fa9ec50e3b020c7e3100cee 22-Aug-2012 Jason Sams <jsams@google.com> Generalize intrinsics

Change-Id: Ib11dec1702eab8c24f76d2b3a5b0791ab27205fc
/frameworks/rs/driver/rsdBcc.cpp
41d6c769f5fa21da3cbc116af95d88949a4a5c76 22-Aug-2012 Stephen Hines <srhines@google.com> Clean up useless code, logging, and a typo.

Change-Id: I8c2296e7f60037907a969bcaf1746644e32868c3
/frameworks/rs/driver/rsdBcc.cpp
8eaba4fee0c7b5325742c87187622fdff51d5eff 14-Aug-2012 Jason Sams <jsams@google.com> Intrinisics

Change-Id: I1ce02ecd853382a2c92823b021750b93f1786ccf
/frameworks/rs/driver/rsdBcc.cpp
378d30b1da622e0e75e551e95fafb18ff3a3f88e 28-Jul-2012 Stephen Hines <srhines@google.com> Rename RenderScript -> Renderscript.

Change-Id: I64ca3d4e52133a88c6e2c7ca820874eb469534fe
/frameworks/rs/driver/rsdBcc.cpp
61a4bb734b91ced09fbfee4214c6f253cb66e5f0 26-Jul-2012 Jason Sams <jsams@google.com> Cleanup pointer access in adapter and font.

Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
/frameworks/rs/driver/rsdBcc.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/driver/rsdBcc.cpp
586e2a41144dd520390b04897936b694647a1330 16-Jul-2012 Shih-wei Liao <sliao@google.com> Fix runtime error by removing unnecessary code.

Already moved the selection logic to libbcc. I.e.,
now libbcc shall handle the selection of libclcore. See the commit
"Link against NEON version of libclcore.bc when possible."

Change-Id: Ib742b5b9984993015886f078d9bf859a97d189e9
/frameworks/rs/driver/rsdBcc.cpp
cca7ee69f5ae9aa5832082b81eb4fa0db84c5fa2 14-Jul-2012 Shih-wei Liao <sliao@google.com> Should be FP_Full instead of Full.

Change-Id: I71ee1216d83542526a54f348d328e9dc73ffb682
/frameworks/rs/driver/rsdBcc.cpp
a3af2cd3cc684aee2a090475f797936f3bd1b8cb 25-Apr-2012 Shih-wei Liao <sliao@google.com> Start using new libbcc APIs.

Change-Id: If6b7b53890e3d4ee7db3b6c91bec9fe07fbadcd1
/frameworks/rs/driver/rsdBcc.cpp
0ab9f9f6b1fb31cda536ae4aeaed258f78ee1447 16-Jun-2012 Jason Sams <jsams@google.com> Generalize slicing.

Change-Id: Ied8c051678fad1739164bd196978ba0de1eceb04
/frameworks/rs/driver/rsdBcc.cpp
aa152101cc4d04597d9aefc3e5a1454eaf39d2cc 14-Jun-2012 Jason Sams <jsams@google.com> Fix single level forEach threading

No longer mark scripts single threaded just because a
forEach is present.

Change-Id: I617cb2b1ccb402526a78338612b1614f94da4efb
/frameworks/rs/driver/rsdBcc.cpp
ebee9480507562109314cca00753a09002a91e7d 09-May-2012 Stephen Hines <srhines@google.com> Link against NEON version of libclcore.bc when possible.

BUG=6127576

Change-Id: I276feb9928b094e1b9a99de55a983a0c7ce241c7
/frameworks/rs/driver/rsdBcc.cpp
298691a87d1b30d1221e303a6788d5272c223971 03-May-2012 Stephen Hines <srhines@google.com> Patch up remaining issues with revert.

Change-Id: I18389962e83ab43930b46dbb1e7b8263e096e86e
/frameworks/rs/driver/rsdBcc.cpp
070cb235d9f094048c0260aa72d5acf61ed840a3 03-May-2012 Stephen Hines <srhines@google.com> Revert "Start chewing new libbcc APIs."

This reverts commit ec3fc1163c01e18b1454057723c451f0d96868ad.
/frameworks/rs/driver/rsdBcc.cpp
2980f07d3dbbca727e8efe24ace7e7928a935648 10-Apr-2012 Stephen Hines <srhines@google.com> Support additional element/dim information for FieldPacker.

BUG=6009244

Change-Id: I3c439559d61b24b26f9a36f2525f0a0e05b00e77
/frameworks/rs/driver/rsdBcc.cpp
ec3fc1163c01e18b1454057723c451f0d96868ad 25-Apr-2012 Shih-wei Liao <sliao@google.com> Start chewing new libbcc APIs.

Change-Id: Idb4166eb0f0137a69b0c76be1e7fcb0d09bb1613
/frameworks/rs/driver/rsdBcc.cpp
f22c8ace148b69847aaf5ad1829e9ec95a44df6c 04-Apr-2012 Jason Sams <jsams@google.com> Add support for stride != width.

BUG=6111812

Change-Id: I419dbf90f94ca54b4189fa6e62a2449efd893676
/frameworks/rs/driver/rsdBcc.cpp
a6ab26a035017143a24efa11859c9d8815a27f41 29-Mar-2012 Jason Sams <jsams@google.com> Workaround PDK issues.

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

BUG=6000538

Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
/frameworks/rs/driver/rsdBcc.cpp
ee7aa2e3900f807ee41bb9735da86b3eb4cc2e70 13-Jan-2012 Stephen Hines <srhines@google.com> Add support for new root.expand() calls.

BUG=5444144

Change-Id: I9ab942561a03e9f837a3199457259bb3e07ac76f
/frameworks/rs/driver/rsdBcc.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/driver/rsdBcc.cpp
1415ca46b289604fd727310e4f6ae3c8c68276c9 27-Nov-2011 Logan Chien <loganchien@google.com> Remove dead code.

Change-Id: I2838a40026291e7345b07911af3ba17278b63ffe
/frameworks/rs/driver/rsdBcc.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/driver/rsdBcc.cpp
96cd1361e25f0dab881aa416d206fc4574dc602e 13-Oct-2011 Jason Sams <rjsams@android.com> Fix bug with 1D arrays and threading.
Some elements got launched multiple times.

Change-Id: Icb257019df591a5d9525867c8ef8d18ef7d4cde5
/frameworks/rs/driver/rsdBcc.cpp
70415115431f3c52e1da44ba838962ff3b22eb69 12-Oct-2011 Jason Sams <rjsams@android.com> Improve rsForEach overhead.

Change-Id: Iaabef7bb573233ef7c5756077f840ee933ee0c39

fix spacing, reduce rsForEach overhead about 50%
/frameworks/rs/driver/rsdBcc.cpp
4ff21865d7e6c24adf8e4159783c848530ecc4a2 05-Oct-2011 Jason Sams <rjsams@android.com> Fix crash running old HC apps.

Change-Id: If7206de334868cb40eb8e5dd04fbe8c70bc1d614
/frameworks/rs/driver/rsdBcc.cpp
4ee16ffbd9d1d72e1757c9b26715597fdc044117 01-Sep-2011 Stephen Hines <srhines@google.com> Call .rs.dtor() when tearing down Scripts.

BUG=5186750

This allows us to properly reference count any globals (static or extern) that
need to potentially be cleaned up.

Change-Id: I03d2c38c1e7a4ca96c40003d2eeecb6f395d5835
/frameworks/rs/driver/rsdBcc.cpp
3815badf95a7dca8aa278e3e12f07a3924a82319 19-Aug-2011 Stephen Hines <srhines@google.com> Issue proper parameters to root() calls for RS.

BUG=5076887

Change-Id: Ic0ce9d45ee20a99add4c780233c0804d05a55e96
/frameworks/rs/driver/rsdBcc.cpp
451cf2e16555c96eaaf9d8180e29dd97a5d6cbd7 17-Aug-2011 Jason Sams <rjsams@android.com> Add structure to pack params for forEach.
This allows the driver to not pass all the sub-params.

Change-Id: I9728a7bb39893f49193a55155994ede0400cb7a6
/frameworks/rs/driver/rsdBcc.cpp
242a264cb704449ab0349a0b65eb8bc3a6a29a96 05-Aug-2011 Stephen Hines <srhines@google.com> Merge "Start using bcinfo components within librs."
cbb0b8aceedb9146ba901cba1fbd6d1e9ca88f51 02-Aug-2011 Stephen Hines <srhines@google.com> Start using bcinfo components within librs.

BUG=4942491

Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
/frameworks/rs/driver/rsdBcc.cpp
c40ad9ae72f335e035d0881a2ee7ebf0352cfc40 30-Jul-2011 Logan Chien <loganchien@google.com> Finish the refactor work of bccPrepareExecutable

Rename bccPrepareExecutableEx to bccPrepareExecutable.
(These functions are the same, and we will remove
bccPrepareExecutableEx several commits later.)

Change-Id: I519130bb3b731bf927cb92924f355d7d1ea0242c
/frameworks/rs/driver/rsdBcc.cpp
689821f178503af951a3d9dd558ef8eace6537cd 19-Jul-2011 Stephen Hines <srhines@google.com> Extract BC metadata using a single call.

BUG=4278636

Change-Id: Idc056c4fa50240aadbc81d300fbed759c5a187cf
/frameworks/rs/driver/rsdBcc.cpp
cc24af6ed02e23d1483097add12d0f20944e7492 13-Jul-2011 Jason Sams <rjsams@android.com> Merge "Add slot number to forEach hal."
35e429ebf817130d8590d11d441a77aa697bd7d4 13-Jul-2011 Jason Sams <rjsams@android.com> Add slot number to forEach hal.

Change-Id: I0f2992d5f4128422d07f897b335c219cc7f1d02c
/frameworks/rs/driver/rsdBcc.cpp
abfaab8983d9727d3d5ca34e2a0ff3e80ba2eb24 11-Jul-2011 Logan Chien <loganchien@google.com> Use resource entry name instead of mangled name.

Change-Id: I833fa1b529fe505ce20ede12b7f4b5952a6ac1f0
/frameworks/rs/driver/rsdBcc.cpp
585f554211bd9945ef84878d89bfc9b4b1c0bd94 10-Jul-2011 Logan Chien <loganchien@google.com> Fix typo: mFieldCount -> mPragmaCount.

Change-Id: I081a521c13a78bc5ec1bf9faecb066bed5ca8ab4
/frameworks/rs/driver/rsdBcc.cpp
83c451a4ef4388e002482e383d488ca9b7b7600d 21-Apr-2011 Jason Sams <rjsams@android.com> Move TLS behind hal.

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

Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
/frameworks/rs/driver/rsdBcc.cpp
eed1b156ca3e439f3d178ce99a4fa736527b15f9 11-Apr-2011 Stephen Hines <srhines@google.com> Fix broken assert (if input allocation is NULL).

Change-Id: If02e86eee4ec059402edd6f8c408fd89b248bc80
/frameworks/rs/driver/rsdBcc.cpp
8d43eafdd2684b7bcb2554e65676dc914b7eabd7 25-Mar-2011 Stephen Hines <srhines@google.com> Properly handle script teardown.

If libbcc optimizes away a global variable, we need to make sure that
RenderScript's ~Context() doesn't attempt to clear away the slot's NULL
pointer that denotes this.

Change-Id: I77d0f740ab333338e53db481e4a3eca338aba411
/frameworks/rs/driver/rsdBcc.cpp
6f6bf8ee67db7c0741b57f194bbfd957981a4df5 24-Mar-2011 Stephen Hines <srhines@google.com> Revert "Fix cleanup bug clearing script references."

This change was actually incorrect and causes crashes in ~Context.

This reverts commit 88728ecaeab1358e1748cbbf6ed954fd9a960692.
/frameworks/rs/driver/rsdBcc.cpp
e2170445fd465db2bce1c38586c0d6318f0a65f3 19-Mar-2011 Jason Sams <rjsams@android.com> Fix cleanup bug clearing script references.

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

Change-Id: If182c524cceb327547640f22f956856d291d1787
/frameworks/rs/driver/rsdBcc.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/driver/rsdBcc.cpp