summaryrefslogtreecommitdiff
path: root/rsScriptGroup.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Replaced android::Vector with std::vector."Yang Ni2015-02-151-88/+133
| | | | | | | | | | b/19148482 This reverts commit 93d6bc872b7d9fba63abfa7513d56b38d9c3d371. I also made some changes to Make it work with HEAD. Change-Id: I5e516976ec1d85ffe1cf388c01795348a9441982
* Fix the typo of ScriptGroup::executeMiao Wang2015-02-061-1/+1
| | | | Change-Id: Ibc7de2ada0da1c4f15fc84e4a87677162060cf73
* Fix memory leak due to ~ScriptGroup does not clear alloc refsYong Chen2015-01-161-0/+8
| | | | | Change-Id: I6920487d88c8a0c6850d533cdf2f89bb1464bbae Signed-off-by: Yong Chen <yong.a.chen@intel.com>
* New Script Group API: runtime and cpu driver support.Yang Ni2015-01-071-12/+6
| | | | Change-Id: I9c612cf8874aabaf0ca7d1640567464c71ed3070
* Replace NULL macros with nullptr literals.Chris Wailes2014-08-201-11/+11
| | | | Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
* Replaced android::Vector with std::vector.Chris Wailes2014-08-181-131/+91
| | | | Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
* Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-151-2/+9
| | | | | | | | | | | This patch simplifies the RenderScript driver and CPU reference implementation by removing the distinction between sing- and multi-input kernels in many places. The distinction is maintained in some places due to the need to maintain backwards compatibility. This permits the deletion of some functions and struct members that are no longer needed. Several related functions were also cleaned up. Change-Id: Id70a223ea5e3aa2b0b935b2b7f9af933339ae8a4
* Revert "Collapse code paths for single- and multi-input kernels."Stephen Hines2014-08-131-9/+2
| | | | | | This reverts commit 818cfa034e257c7bb48356257f5cb67334e19aa6. Change-Id: I59f39f52e6c8f60bb01cbcb8ccf2215eaf46a57f
* Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-121-2/+9
| | | | | | | | | | | This patch simplifies the RenderScript driver and CPU reference implementation by removing the distinction between sing- and multi-input kernels in many places. The distinction is maintained in some places due to the need to maintain backwards compatibility. This permits the deletion of some functions and struct members that are no longer needed. Several related functions were also cleaned up. Change-Id: I77e4b155cc7ca1581b05bf901c70ae53a9ff0b12
* Validate input/output for a ScriptGroup.Yang Ni2014-07-291-0/+23
| | | | | | | | | If a script group requires input or output allocations, make sure they are set before starting the execution of the script group. If any allocation is missing, skip the execution and set a bad value error with a message. Change-Id: I7ee2da96aca3e6c9820225e6b2c39cb9378cb42f
* Remove libutils and fix rsDebug for RS support library.Stephen Hines2013-07-101-2/+2
| | | | | | | | | | | | | | | | 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
* Add incUserRef() for ScriptGroup/ScriptKernelID/ScriptFieldID.Stephen Hines2013-04-091-0/+1
| | | | | | | | | Bug: 8530206 This change also fixes a small bug in zeroUserRef(), where we mistakenly decrement the zeroed out count. Change-Id: I5097e59faad52291218657c10e99c598a00ad84b
* Add x86 server support.Tim Murray2013-03-191-1/+17
| | | | Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
* Add backed for script groups.Jason Sams2012-09-171-0/+372
Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186