summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Avoid destroying Device separatelyYang Ni2016-04-041-8/+3
| | | | | | | | | Bug: 27983025 Device should be destroyed inside the destructor of the associated Context. Change-Id: I921a89974e1174f837349a89aef9b03efa4882f5
* 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>
* | Add back RS::init(const char*, uint32_t)Miao Wang2016-01-121-0/+4
| | | | | | | | | | Bug: 26202632 Change-Id: Ia6610623fe8444abfbe95f8d3170b9ed9677d526
* | Allow developers to specify a target RS API level for C++Miao Wang2015-10-121-5/+6
| | | | | | | | | | Bug: 23165318 Change-Id: I557e63f5abf3628df7545db3bdec4a6de59d3083
* | Comments clean up for C++ APIMiao Wang2015-09-151-10/+12
| | | | | | | | Change-Id: I7ced3653a32fa8eaa62cd218002d22f5551c404a
* | C++ API call RS::finish() before destroy rsContextMiao Wang2015-09-111-0/+1
|/ | | | Change-Id: I54e78db8bc36d5c7432b8233ebace0d66f83c549
* Lose HAVE_ANDROID_OS in frameworks/rs.Elliott Hughes2015-08-121-2/+2
| | | | Change-Id: Iba57869192ba9b1fde995ff0e48b7a28b2cb122f
* 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>
* Added in wait for attach context flag.Stephen McGroarty2015-05-191-1/+1
| | | | | | | | | | 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>
* remove STL from rs C++ public interface. Nuke stlport.Miao Wang2015-04-131-3/+10
| | | | Change-Id: Ida273c1cfa21c4db51ae41a4c42746d9d828f292
* Update RenderScript C++ APIMiao Wang2015-03-301-4/+4
| | | | | | | | - Add Copy3DRangeTo API - Add AutoPadding & unPadding for CopyTo and CopyFrom APIs - Add IntrinsicResize Change-Id: I1138225f8a7b738929a09636bf2669f5d68b0c7d
* Create a separate static lib that provides a dispatch table to bothMiao Wang2014-11-111-338/+1
| | | | | | | | | | | | | fw/support/v8/renderscript/jni and libRScpp to reduce code duplication. - This CL contains the static lib (libDispatch) and related changes to libRScpp. Change-Id: I65a4a74370720869eacf197ab31314c1df8dadcb Merged Conflicts: cpp/Android.mk cpp/RenderScript.cpp
* Cleanup includes for rs/cpp to not expose internal details.Jason Sams2014-11-111-0/+1
| | | | Change-Id: Ib23f591f8418d3318f61ab1d3f6f2b684bf95692
* am cbbac9f5: Disable property_get for 64-bit.Tim Murray2014-09-101-1/+1
|\ | | | | | | | | * commit 'cbbac9f5916b9253d88bc10c3661b1ecaa80afd8': Disable property_get for 64-bit.
| * Disable property_get for 64-bit.Tim Murray2014-09-101-1/+1
| | | | | | | | | | | | bug 17417839 Change-Id: I93ba5dd2d755a174cfd79d65e99bb045bd96df65
* | Replace NULL macros with nullptr literals.Chris Wailes2014-08-201-79/+79
|/ | | | Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
* Add flags for low power context.Jason Sams2014-05-201-1/+2
| | | | Change-Id: I46b4fb7555f088dd90a9f8b7283d5b3aa75ceb1c
* Add error check when init RS thread in sync mode.Xiaofei Wan2014-03-311-7/+11
| | | | | | | | | RS should return false and stop further waiting when it failed to init RS thread, otherwise it will cause RS caller ANR errors. Update destructor function for the exception handling accordingly. Change-Id: I80a946e6be6b23cc93388b5f56d58ad6dc809d8b Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
* Add getPointer for USAGE_SHARED allocations.Jason Sams2014-02-261-0/+5
| | | | Change-Id: I13a2af09bbbeec6cc6131b935979ac21c02820be
* Fix NDK API on old devices.Tim Murray2014-01-151-2/+5
| | | | Change-Id: Ie2b1b57735a79febc0937fcc4b65cddd0eb80c16
* Add user-defined cache path.Tim Murray2013-12-181-3/+10
| | | | Change-Id: I7374d8e84d8dc6e74a6faa526c6e68ae11da6500
* Remove excessive ALOGE.Tim Murray2013-12-121-68/+68
| | | | Change-Id: I66d5c073b08c036aba87182585b123ed88bdabb9
* Add docs to C++ API.Tim Murray2013-10-041-0/+2
| | | | | | bug 10427951 Change-Id: I51805b6fb43781c57dfbbdc5b3e77f200af19ed8
* Add flags word to context initialization.Tim Murray2013-09-091-5/+10
| | | | | | bug 10427951 Change-Id: If3b9337712bd16655de4a42ccf829bbcd9e01b6e
* Fix build/dependency issue.Tim Murray2013-09-091-3/+1
| | | | | | bug 10427951 Change-Id: I798a0014f299b22c26bea3205823fcbb64f7ec70
* Make error handling kill context activity. Add parameter validation.Tim Murray2013-08-211-0/+4
| | | | | | bug 10427951 Change-Id: I4abba969e34903265b84ee88d6a90bc9b9df5481
* Add error handling, move to create methods for intrinsics.Tim Murray2013-08-191-5/+9
| | | | Change-Id: I81a0d481fef8b9396c648fdf18aee716a2056612
* Add basic support for intrinsics. Move sp<> into RScpp.Tim Murray2013-08-011-1/+1
| | | | Change-Id: I74cdee7069a624ded5091d53db3a4b8ce9894033
* Fix initialization problem in rsCPP.Tim Murray2013-07-291-0/+1
| | | | | | bug 10018717 Change-Id: I623435268219b5c4f6aa5183032e833fd56d5099
* Add Sampler support to C++ API.Tim Murray2013-07-231-0/+1
| | | | Change-Id: I9a6ada9cf16b5e9f92bcecc12e87d66585df1d33
* Move to dynamic dispatch. Add support for IoAllocation* in rs.spec.Tim Murray2013-07-231-12/+46
| | | | Change-Id: I013409cbb758ce5aae78347acb39c43d07aeb9bf
* Load from libRS or libRSSupport.Tim Murray2013-07-231-145/+152
| | | | | | | Change-Id: I93678b42f9d56033a8563f09705cb88011c12828 Conflicts: cpp/RenderScript.cpp
* Move C++ API over to function tables rather than linking libRS directly.Tim Murray2013-07-231-17/+387
| | | | Change-Id: I7841df768d5bd10fa941b3655673fd73496a8137
* Fix logging defined in external header.Jason Sams2013-03-201-1/+0
| | | | Change-Id: I40cc2696b99350b52ac1904b05485db2f567b4ef
* Add x86 server support.Tim Murray2013-03-191-3/+1
| | | | Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
* Add support for debug and profile context.Jason Sams2013-02-221-1/+1
| | | | Change-Id: If67bc23b457d50ced7bfa5ac21a63d14de8193b9
* enable synchronous mode (functional)Tim Murray2012-12-041-4/+4
| | | | | Change-Id: I613610013e7e4d1623620ab94d2d25d8a1bd82b3 Bug: 5972398
* Handle NONE/RESIZE message types properly in C++ API.Stephen Hines2012-11-261-1/+4
| | | | Change-Id: Id8d5d6fd922719615706d86cc4997fcd4c0ebba4
* Change namespace from renderscriptCpp to RSCTim Murray2012-11-161-1/+1
| | | | Change-Id: I6c40a91d3afad8411d0ad49088a8e52c251b7038
* Fix uninitialized variable bug, add finish()Tim Murray2012-11-141-0/+4
| | | | Change-Id: I79fb54800ad8657c93c7989a5c21838d41f24050
* Add support for CPU-only execution in C++ API.Tim Murray2012-11-061-4/+4
| | | | Change-Id: Ifa6c211965eb14bfb9408404971e19827e7f5dc8
* Move to smart pointers for refcounting RS contextsTim Murray2012-11-051-24/+19
| | | | Change-Id: I0dc6adc4e02c7427a4234c549d3555a501fe5f90
* Make all references use smart pointers.Jason Sams2012-04-021-1/+4
| | | | | | BUG=5972398 Change-Id: I7b8c2930ccf7d64623270cd3d0550aa6a852f2e5
* Split cpp frontend to its own lib.Jason Sams2012-04-021-0/+165
Change-Id: I6ff1c620ec28ca1b96bce569ad5a09b41130ee88