summaryrefslogtreecommitdiff
path: root/rsDefines.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Derive the bcc optimization level from the input bitcode."Stephen Hines2016-01-301-2/+1
|\
| * Derive the bcc optimization level from the input bitcode.Stephen McGroarty2015-09-021-2/+1
| | | | | | | | | | | | | | | | | | | | 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>
* | Driver support for creating allocations from a ScriptPirama Arumuga Nainar2015-11-101-0/+7
|/ | | | | | | | | | | | | 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
* Add AllocationCreateStrided to support lib CPU driverMiao Wang2015-08-061-0/+1
| | | | | | | | | | | | - 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
* Add a flag to the API to specify -O0 on the bcc command line.verena beckham2015-07-171-1/+2
| | | | | | | | | 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>
* update the offset type for BLAS.BNNMMiao Wang2015-06-301-4/+4
| | | | | | | bug: 22184114 Change-Id: I6ec212f8d5feb46fc9d0f97862b206978af1675b (cherry picked from commit 22cb808b0dfc9bd514d2e19b302a97f8455b5731)
* Merge changes from topic 'global_info'Stephen Hines2015-05-221-1/+32
|\ | | | | | | | | | | * changes: Update RS driver to support extraction of global variable properties. Use "override" instead of "virtual" when replacing methods.
| * Update RS driver to support extraction of global variable properties.Stephen Hines2015-05-221-1/+32
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Added in wait for attach context flag."Stephen Hines2015-05-201-1/+2
|\ \
| * | Added in wait for attach context flag.Stephen McGroarty2015-05-191-1/+2
| |/ | | | | | | | | | | | | | | | | | | 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>
* / Delete dead codeJason Sams2015-05-191-2/+0
|/ | | | Change-Id: I2830eaed57213f9fc00cac5b9a689b6c7b93341f
* Add USAGE_OEMJason Sams2015-05-111-1/+2
| | | | | | | Allow OEMs to pass data from other HW blocks via internal extension. Change-Id: I78c19f5eec462aff7d8a5408f2f16cfc9b78c036
* Rename BGEMM to BNNM. Modify layout of eight-bit GEMM-like intrinsic storage.Tim Murray2015-04-151-1/+1
| | | | Change-Id: If4b1267dfd42d6dd65bedf20c0b674479eefab35
* Add eight-bit GEMM-like intrinsic.Tim Murray2015-04-031-144/+151
| | | | Change-Id: I9b920900b4cb8b27e2ab27386d05f4175142d6b2
* Add BLAS to supported intrinsics.Tim Murray2015-02-171-0/+202
| | | | Change-Id: I8e776b2ffdbac09a73924035eee2eca0a12facb3
* Runtime support for invocables in ScriptGroupsYang Ni2015-02-041-0/+1
| | | | | | This also includes support for InvokeID Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
* add array launch support.Jason Sams2015-01-261-0/+6
| | | | Change-Id: I66cd89b5b44eafa92f391708a06464cd7cdde3ed
* New Script Group API: runtime and cpu driver support.Yang Ni2015-01-071-4/+2
| | | | Change-Id: I9c612cf8874aabaf0ca7d1640567464c71ed3070
* Cleanup includes for rs/cpp to not expose internal details.Jason Sams2014-11-111-160/+0
| | | | Change-Id: Ib23f591f8418d3318f61ab1d3f6f2b684bf95692
* resolved conflicts for merge of 79a9dacb to lmp-dev-plus-aospJason Sams2014-09-301-3/+1
|\ | | | | | | Change-Id: Id4a5aafcd67afa6962bd9c042ce81fb6170c8c12
| * Revert "RS: Add VP9 LoopFilter Intrinsic"Jason Sams2014-09-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6fc3e12b8912458cb4adcfd32e2f53d76b0cc737. Conflicts: cpu_ref/Android.mk cpu_ref/rsCpuCore.cpp cpu_ref/rsCpuIntrinsicLoopFilter.cpp rsDefines.h bug 17720646 Change-Id: Ie297cfbfa04e61944ac1340797ac81c23b2f2ea8
* | Add enum for OEM defined intrinsics.Jason Sams2014-08-111-1/+4
|/ | | | Change-Id: If5c04ddfee02beefe9f5ee178f1dcec26a7a1fec
* Add flags for low power context.Jason Sams2014-05-201-3/+3
| | | | Change-Id: I46b4fb7555f088dd90a9f8b7283d5b3aa75ceb1c
* Revert "Add VP9 inter-frame prediction intrinsic"Jason Sams2014-04-231-1/+1
| | | | | | | | | | | This reverts commit 60498fe9679ea25a260a503d6dfd27cbc0a0c079. Change-Id: I4d8bb284793874a08c0cc991c0e04ecc104e1e0f Conflicts: cpu_ref/Android.mk cpu_ref/rsCpuCore.cpp rsDefines.h
* Bicubic resize intrinsicJason Sams2014-04-161-1/+2
| | | | Change-Id: Ie869484505c3e25e8ea57ff208b9e052ee8dca7b
* RS: Add VP9 LoopFilter IntrinsicMatthieu Delahaye2014-03-181-1/+2
| | | | Change-Id: I5caa46da2c825a95cc1ed35a1cdbcd6da0ffce88
* Revert "RS: Add VP9 LoopFilter Intrinsic"Jason Sams2014-03-181-2/+1
| | | | | | | This has build errors with the x86 SDK. This reverts commit 64048e720cf940cb0f7f6f9a4ab4f061918a1fd9. Change-Id: Ia712a46abd06e2a580853c863bfa53410b7f99e9
* RS: Add VP9 LoopFilter IntrinsicMatthieu Delahaye2014-03-181-1/+2
| | | | Change-Id: If1ac77774c74b5513ce7a2db4ef31888a351a9c5
* Revert "RS: Add VP9 LoopFilter Intrinsic"Jason Sams2014-03-141-2/+1
| | | | | | This reverts commit e4749f3a5a6a6041ef2894162edce5115b307db0. Change-Id: I45ccdacb1706abd4df7f635c5e64dcb1ee4b876d
* RS: Add VP9 LoopFilter IntrinsicMatthieu Delahaye2014-03-111-1/+2
| | | | Change-Id: Ia49e56c7e21fee1601a0418bd105ef6429c336ca
* Add VP9 inter-frame prediction intrinsicMatthieu Delahaye2014-03-061-1/+2
| | | | Change-Id: If8985a6200fb6d34083eff711ccdf2f1b3c374e6
* Add flags word to context initialization.Tim Murray2013-09-091-0/+7
| | | | | | bug 10427951 Change-Id: If3b9337712bd16655de4a42ccf829bbcd9e01b6e
* add histogram intrinsicJason Sams2013-06-171-1/+2
| | | | Change-Id: I42c297bfe116ea29cf015680fcc2143ff4cc95d2
* Add support for DEBUG context type.Stephen Hines2013-04-171-0/+3
| | | | | | | | | | 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
* USAGE_IO notifications for new buffers.Jason Sams2013-04-111-1/+2
| | | | | | bug 8566866 Change-Id: I49767ee902400f09b9b1c174e0fecac5b41e5611
* Add support for debug and profile context.Jason Sams2013-02-221-0/+6
| | | | Change-Id: If67bc23b457d50ced7bfa5ac21a63d14de8193b9
* Merge "Support typed YUV allocations"Jason Sams2013-02-161-1/+2
|\
| * Support typed YUV allocationsJason Sams2013-02-151-1/+2
| | | | | | | | Change-Id: I844051ee1be1462e497d238f5460f301be1aaa1d
* | Add MIRRORED_REPEAT.Tim Murray2013-02-151-0/+1
|/ | | | Change-Id: I08c73f684b5b4c2ac350bc3da7a505ce89d16035
* Functional 3D LUT intrinsic.Jason Sams2013-01-041-1/+2
| | | | | | 1600x1000 takes ~23ms on manta. Change-Id: I142d6dedded66df05aa5f49e3da409a34c6e1b6e
* Add USAGE_SHARED to driver.Tim Murray2012-12-181-0/+1
| | | | Change-Id: Ie04f8ee2d6080729660dbe82b3a09af5cd40e239
* Fix use of rs_script_call_t.Stephen Hines2012-10-171-0/+10
| | | | | | | | | | 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
* Implementations of various blend intrinsics.Tim Murray2012-09-261-1/+2
| | | | | | Bug: 7190126 Change-Id: I84cd8b861b63489313b9c2827f43aa7391a62607
* Implement YUV intrinsic.Jason Sams2012-09-181-1/+2
| | | | | | bug 7190126 Change-Id: I8526e8ec5a9b48702e4d118ad3b26125239563d8
* Add backed for script groups.Jason Sams2012-09-171-1/+9
| | | | Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186
* Implement intrinsics.Jason Sams2012-09-111-1/+4
| | | | | | LUT, Blur, Convolve 5x5 Change-Id: I076dc260079f4475648a7f1a0b3e6d47655bf0b4
* Clean up useless code, logging, and a typo.Stephen Hines2012-08-211-1/+1
| | | | Change-Id: I8c2296e7f60037907a969bcaf1746644e32868c3
* IntrinisicsJason Sams2012-08-141-0/+6
| | | | Change-Id: I1ce02ecd853382a2c92823b021750b93f1786ccf
* Add in missing FONT support.Stephen Hines2012-04-121-0/+1
| | | | Change-Id: I30854d5466b14a2349893f339dd4d48c29932d94
* Implement USAGE_IO_INPUTJason Sams2012-03-231-4/+3
| | | | Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b