History log of /frameworks/rs/rsDefines.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
672dd1d7021ce09a3045d1316d80ac2f42edc72a 30-Jan-2016 Stephen Hines <srhines@google.com> Merge "Derive the bcc optimization level from the input bitcode."
6b387c1e466b507007f0b388da8b037362154e9a 12-Oct-2015 Pirama Arumuga Nainar <pirama@google.com> Driver support for creating allocations from a Script

Bug: 23535985

Implement functions rsCreateElement, rsCreateType and rsCreateAllocation
in libRSDriver to allow creation of Allocations from a Script.

In its current state, the RS objects returned from these functions are
guaranteed to leak due to incorrect handling of their reference counts.
They'll be fixed in a follow-up CL.

Change-Id: I9bb7c72a8dd3cd1aac2de3bad92276c3af662484
/frameworks/rs/rsDefines.h
15c1d06c654c246b8e8047f64f781add32483576 02-Sep-2015 Stephen McGroarty <stephen@codeplay.com> Derive the bcc optimization level from the input bitcode.

This patch derives the optimization level of the slang bitcode
and passes that to bcc. This patch replaces the old method, where
a flag was passed to the RenderScript context and the context
would set the optimization level accordingly.

Change-Id: Ie64a2d0125ca30da4ae7522961dca144d0457f03
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
/frameworks/rs/rsDefines.h
47a5881b8f85d65c74f2471fe6261d4cdb3dce5e 24-Jul-2015 Miao Wang <miaowang@google.com> Add AllocationCreateStrided to support lib CPU driver

- Able to create Allocations with arbitrary alignment requirement,
making Incremental Intrinsic Support able to run with different
native GPU RS runtime.
- Make compat mode CPU driver using an additional rs_compat.spec.
- Add a compat mode only USAGE_INCREMENTAL_SUPPORT.
- Add AllocationCreateStrided() to take an Alignment requirement (power
of 2). Only enbled when detect USAGE_INCREMENTAL_SUPPORT.

Change-Id: I66f913c3a2474f93af5a244c0c84460a7a395e71
/frameworks/rs/rsDefines.h
f5029803ae6ce9d92d70b76e7a7cdd8d484f31ca 22-May-2015 verena beckham <verena@codeplay.com> Add a flag to the API to specify -O0 on the bcc command line.

Add a flag RS_CONTEXT_OPT_LEVEL_0 which sets a field mOptLevel in the Context
to 0 when calling bcc.
Using this flag will result in an object file that is easier to debug.

Change-Id: I9673506710cc9f34c415b694fe5d6bc7e967f1db
Signed-off-by: verena beckham <verena@codeplay.com>
/frameworks/rs/rsDefines.h
06deda3751a4a7358a7c7e03fbf1e4325fafb807 30-Jun-2015 Miao Wang <miaowang@google.com> update the offset type for BLAS.BNNM

bug: 22184114

Change-Id: I6ec212f8d5feb46fc9d0f97862b206978af1675b
(cherry picked from commit 22cb808b0dfc9bd514d2e19b302a97f8455b5731)
/frameworks/rs/rsDefines.h
cee9e9898ed549d00c1fd1c911feff66dbb4225e 23-May-2015 Stephen Hines <srhines@google.com> Merge changes from topic 'global_info'

* changes:
Update RS driver to support extraction of global variable properties.
Use "override" instead of "virtual" when replacing methods.
5aa018cc36e589b07674957714d27ae3d1fa1c4e 21-May-2015 Stephen Hines <srhines@google.com> Update RS driver to support extraction of global variable properties.

Bug: 20306487

This patch adds some new enums to classify properties (such as "static",
"constant", and "pointer") for global variables. The reference driver
is also extended to provide methods to examine these properties (when
the bitcode is compiled with bcc).

Change-Id: I331756f8a8990caf5ebdf85599060434a7cfdcb7
/frameworks/rs/rsDefines.h
07cea7954a0cddbad0ff8204d04d4b9b6d724ab0 20-May-2015 Stephen Hines <srhines@google.com> Merge "Added in wait for attach context flag."
d5164d537c84867880694327727b5f22b0a3ccbd 08-May-2015 Stephen McGroarty <stephen@codeplay.com> Added in wait for attach context flag.

Added in a small flag which is passed to the context from the Java/C++ API
which causes the context to delay execution until a debugger is a attached.
This gives time to the developer to attach a debugger to the process before
the kernel is executed.

Change-Id: I5bb8e75100436920f9e1a0f414f3b0bcf0d2b439
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
/frameworks/rs/rsDefines.h
a48d45ea774a17a9cdce320ce569454983c821e1 19-May-2015 Jason Sams <jsams@google.com> Delete dead code

Change-Id: I2830eaed57213f9fc00cac5b9a689b6c7b93341f
/frameworks/rs/rsDefines.h
f82b626e0479ce4a23ebff1fc088e073dcabaa30 12-May-2015 Jason Sams <jsams@google.com> Add USAGE_OEM

Allow OEMs to pass data from other HW blocks via internal
extension.

Change-Id: I78c19f5eec462aff7d8a5408f2f16cfc9b78c036
/frameworks/rs/rsDefines.h
2b999883f2f390ee43ed18317d77c810a0c6657b 13-Apr-2015 Tim Murray <timmurray@google.com> Rename BGEMM to BNNM. Modify layout of eight-bit GEMM-like intrinsic storage.

Change-Id: If4b1267dfd42d6dd65bedf20c0b674479eefab35
/frameworks/rs/rsDefines.h
aff744561bea3c8a7a7d59c0cb8cd9438f6dcd1c 31-Mar-2015 Tim Murray <timmurray@google.com> Add eight-bit GEMM-like intrinsic.

Change-Id: I9b920900b4cb8b27e2ab27386d05f4175142d6b2
/frameworks/rs/rsDefines.h
64c682b65cd04ac83b51251b40dca14423df351a 09-Jan-2015 Tim Murray <timmurray@google.com> Add BLAS to supported intrinsics.

Change-Id: I8e776b2ffdbac09a73924035eee2eca0a12facb3
/frameworks/rs/rsDefines.h
eb9aa675754c49f613c6ad71d41472b30f38b007 27-Jan-2015 Yang Ni <yangni@google.com> Runtime support for invocables in ScriptGroups

This also includes support for InvokeID

Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
/frameworks/rs/rsDefines.h
bf2111d3b3de310932099514f06924e48fa1d7b2 27-Jan-2015 Jason Sams <jsams@google.com> add array launch support.

Change-Id: I66cd89b5b44eafa92f391708a06464cd7cdde3ed
/frameworks/rs/rsDefines.h
1ffd86b448d78366190c540f98f8b6d641cdb6cf 07-Jan-2015 Yang Ni <yangni@google.com> New Script Group API: runtime and cpu driver support.

Change-Id: I9c612cf8874aabaf0ca7d1640567464c71ed3070
/frameworks/rs/rsDefines.h
66f0a168c4227d4e302f4ffb21ec7e9d7b9ca828 11-Nov-2014 Jason Sams <jsams@google.com> Cleanup includes for rs/cpp to not expose internal details.

Change-Id: Ib23f591f8418d3318f61ab1d3f6f2b684bf95692
/frameworks/rs/rsDefines.h
db683cd11b6cfd3d9edc208908332f87176a22d9 30-Sep-2014 Jason Sams <jsams@google.com> resolved conflicts for merge of 79a9dacb to lmp-dev-plus-aosp

Change-Id: Id4a5aafcd67afa6962bd9c042ce81fb6170c8c12
79a9dacb328ac37a2ec29b06b2ee6740fe8fadf0 30-Sep-2014 Jason Sams <jsams@google.com> Revert "RS: Add VP9 LoopFilter Intrinsic"

This reverts commit 6fc3e12b8912458cb4adcfd32e2f53d76b0cc737.

Conflicts:
cpu_ref/Android.mk
cpu_ref/rsCpuCore.cpp
cpu_ref/rsCpuIntrinsicLoopFilter.cpp
rsDefines.h

bug 17720646

Change-Id: Ie297cfbfa04e61944ac1340797ac81c23b2f2ea8
/frameworks/rs/rsDefines.h
d24e256e2f93ac216f421fc49e4e285e06d4af8e 11-Aug-2014 Jason Sams <jsams@google.com> Add enum for OEM defined intrinsics.

Change-Id: If5c04ddfee02beefe9f5ee178f1dcec26a7a1fec
/frameworks/rs/rsDefines.h
bfa5a8e76fd9469cdecb3115685ded677d2d210a 21-May-2014 Jason Sams <jsams@google.com> Add flags for low power context.

Change-Id: I46b4fb7555f088dd90a9f8b7283d5b3aa75ceb1c
/frameworks/rs/rsDefines.h
ee0f4835e065ef08a6283e3f86cdc671a5a156c7 24-Apr-2014 Jason Sams <jsams@google.com> Revert "Add VP9 inter-frame prediction intrinsic"

This reverts commit 60498fe9679ea25a260a503d6dfd27cbc0a0c079.

Change-Id: I4d8bb284793874a08c0cc991c0e04ecc104e1e0f

Conflicts:
cpu_ref/Android.mk
cpu_ref/rsCpuCore.cpp
rsDefines.h
/frameworks/rs/rsDefines.h
39ab94aafb7f0916a7f6e345ee1fa0f5ff3bbacd 17-Apr-2014 Jason Sams <jsams@google.com> Bicubic resize intrinsic

Change-Id: Ie869484505c3e25e8ea57ff208b9e052ee8dca7b
/frameworks/rs/rsDefines.h
6fc3e12b8912458cb4adcfd32e2f53d76b0cc737 04-Mar-2014 Matthieu Delahaye <matthieu@multicorewareinc.com> RS: Add VP9 LoopFilter Intrinsic

Change-Id: I5caa46da2c825a95cc1ed35a1cdbcd6da0ffce88
/frameworks/rs/rsDefines.h
933bdc9b648995ab68da746c6daa2206eec02b0f 18-Mar-2014 Jason Sams <jsams@google.com> Revert "RS: Add VP9 LoopFilter Intrinsic"

This has build errors with the x86 SDK.

This reverts commit 64048e720cf940cb0f7f6f9a4ab4f061918a1fd9.

Change-Id: Ia712a46abd06e2a580853c863bfa53410b7f99e9
/frameworks/rs/rsDefines.h
64048e720cf940cb0f7f6f9a4ab4f061918a1fd9 04-Mar-2014 Matthieu Delahaye <matthieu@multicorewareinc.com> RS: Add VP9 LoopFilter Intrinsic

Change-Id: If1ac77774c74b5513ce7a2db4ef31888a351a9c5
/frameworks/rs/rsDefines.h
1e2aedbef554a10a16296d3b529327fffcb10e0d 14-Mar-2014 Jason Sams <jsams@google.com> Revert "RS: Add VP9 LoopFilter Intrinsic"

This reverts commit e4749f3a5a6a6041ef2894162edce5115b307db0.

Change-Id: I45ccdacb1706abd4df7f635c5e64dcb1ee4b876d
/frameworks/rs/rsDefines.h
e4749f3a5a6a6041ef2894162edce5115b307db0 04-Mar-2014 Matthieu Delahaye <matthieu@multicorewareinc.com> RS: Add VP9 LoopFilter Intrinsic

Change-Id: Ia49e56c7e21fee1601a0418bd105ef6429c336ca
/frameworks/rs/rsDefines.h
60498fe9679ea25a260a503d6dfd27cbc0a0c079 18-Feb-2014 Matthieu Delahaye <matthieu@multicorewareinc.com> Add VP9 inter-frame prediction intrinsic

Change-Id: If8985a6200fb6d34083eff711ccdf2f1b3c374e6
/frameworks/rs/rsDefines.h
84e3dea053bea25c1cec44ffb298f8b5b9b9141a 10-Sep-2013 Tim Murray <timmurray@google.com> Add flags word to context initialization.

bug 10427951

Change-Id: If3b9337712bd16655de4a42ccf829bbcd9e01b6e
/frameworks/rs/rsDefines.h
2282e2816ac5f5de53f9bd4f3ecbdfd6d756d120 18-Jun-2013 Jason Sams <jsams@google.com> add histogram intrinsic

Change-Id: I42c297bfe116ea29cf015680fcc2143ff4cc95d2
/frameworks/rs/rsDefines.h
cca3d6ca444bef3b6d75431ec19bd07bfe40a733 15-Apr-2013 Stephen Hines <srhines@google.com> Add support for DEBUG context type.

Bug: 7343201

This change adds switching for the debug runtime (libclcore_debug.bc) when
running under a DEBUG RS context. It also fixes a small naming issue for
rsSetElementAt_int().

Change-Id: I8b574c9ce915a440375530325ba7de2b46707cfd
/frameworks/rs/rsDefines.h
4961cceab2b71bf0ab59e1b66a7559f67ed28781 12-Apr-2013 Jason Sams <jsams@google.com> USAGE_IO notifications for new buffers.

bug 8566866

Change-Id: I49767ee902400f09b9b1c174e0fecac5b41e5611
/frameworks/rs/rsDefines.h
14982c8eb9a17a95a817c1fd2571829be5b7017e 23-Feb-2013 Jason Sams <jsams@google.com> Add support for debug and profile context.

Change-Id: If67bc23b457d50ced7bfa5ac21a63d14de8193b9
/frameworks/rs/rsDefines.h
8880d49363e1950ae3d0cc1c1967a6d8e66fea6c 16-Feb-2013 Jason Sams <jsams@google.com> Merge "Support typed YUV allocations"
bc0ca6ba4e31239bf77060578d0bdf1a10e04168 16-Feb-2013 Jason Sams <jsams@google.com> Support typed YUV allocations

Change-Id: I844051ee1be1462e497d238f5460f301be1aaa1d
/frameworks/rs/rsDefines.h
9e913f4a5ab519af6c0c04f9b992d85f1c447d2d 15-Feb-2013 Tim Murray <timmurray@google.com> Add MIRRORED_REPEAT.

Change-Id: I08c73f684b5b4c2ac350bc3da7a505ce89d16035
/frameworks/rs/rsDefines.h
7c4b888f2147edf99690b6af75470774ff31c43b 04-Jan-2013 Jason Sams <jsams@google.com> Functional 3D LUT intrinsic.

1600x1000 takes ~23ms on manta.

Change-Id: I142d6dedded66df05aa5f49e3da409a34c6e1b6e
/frameworks/rs/rsDefines.h
9e2bda58db9e6427a1640ea302d4df079ffa0252 18-Dec-2012 Tim Murray <timmurray@google.com> Add USAGE_SHARED to driver.

Change-Id: Ie04f8ee2d6080729660dbe82b3a09af5cd40e239
/frameworks/rs/rsDefines.h
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/rsDefines.h
36889a0ecf564e3d47e7f69bb030c6b927061792 24-Sep-2012 Tim Murray <timmurray@google.com> Implementations of various blend intrinsics.

Bug: 7190126

Change-Id: I84cd8b861b63489313b9c2827f43aa7391a62607
/frameworks/rs/rsDefines.h
01f03a04da629b9a3e3ff33287dd277b12c54148 19-Sep-2012 Jason Sams <jsams@google.com> Implement YUV intrinsic.
bug 7190126

Change-Id: I8526e8ec5a9b48702e4d118ad3b26125239563d8
/frameworks/rs/rsDefines.h
dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48 17-Sep-2012 Jason Sams <jsams@google.com> Add backed for script groups.

Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186
/frameworks/rs/rsDefines.h
d85e283087ecd00760a0d8d0c9d8482cda845efc 12-Sep-2012 Jason Sams <jsams@google.com> Implement intrinsics.

LUT, Blur, Convolve 5x5

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

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

Change-Id: I1ce02ecd853382a2c92823b021750b93f1786ccf
/frameworks/rs/rsDefines.h
ae8b795a673b75bf0aec72620f4530db1415f907 12-Apr-2012 Stephen Hines <srhines@google.com> Add in missing FONT support.

Change-Id: I30854d5466b14a2349893f339dd4d48c29932d94
/frameworks/rs/rsDefines.h
3522f40418fdf877f5a136475dbf75e57a3b7c77 23-Mar-2012 Jason Sams <jsams@google.com> Implement USAGE_IO_INPUT



Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
/frameworks/rs/rsDefines.h
3715b00e7b10a2624c1d5c696186c7a2f4a75a91 17-Feb-2012 Jason Sams <rjsams@android.com> Rename three header files to free namespace for api.

Change-Id: Ie9ef65a477373c30b2d5b02248f62e768b6f27ae
/frameworks/rs/rsDefines.h