summaryrefslogtreecommitdiffstats
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge "update dispatch table for IntrinsicBLAS" into mnc-devMiao Wang2015-05-292-0/+7
|\
| * update dispatch table for IntrinsicBLASMiao Wang2015-05-282-0/+7
| | | | | | | | | | | | bug: 21028875 Change-Id: I6d4aa8973de523aef7ced48105737eb5ee471e5d
* | Added in wait for attach context flag.Stephen McGroarty2015-05-192-2/+4
|/ | | | | | | | | | | 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> (cherry picked from commit d5164d537c84867880694327727b5f22b0a3ccbd)
* Add USAGE_OEMJason Sams2015-05-131-0/+1
| | | | | | | | | Allow OEMs to pass data from other HW blocks via internal extension. bug 20894664 Change-Id: I78c19f5eec462aff7d8a5408f2f16cfc9b78c036
* set mYuvFormat to RS_YUV_NONE in Type constructor.Miao Wang2015-04-161-0/+2
| | | | Change-Id: I49415d85c3ec4ddb42c587b20c30df4d5fe25842
* Merge "Enable YUV support in rs C++ API."Miao Wang2015-04-162-2/+15
|\
| * Enable YUV support in rs C++ API.Miao Wang2015-04-152-2/+15
| | | | | | | | Change-Id: I5326c2b6551953e19da50aff1848557231b908e5
* | Merge "remove STL from rs C++ public interface. Nuke stlport."Miao Wang2015-04-165-67/+163
|\|
| * remove STL from rs C++ public interface. Nuke stlport.Miao Wang2015-04-135-67/+163
| | | | | | | | Change-Id: Ida273c1cfa21c4db51ae41a4c42746d9d828f292
* | Added a name to ScriptGroup2Yang Ni2015-04-131-1/+1
|/ | | | | | | Implemented in the runtime and CPU driver the new script group name. Code caching is not implemented yet, and to be added in another CL. Change-Id: I46e351c8412740512f56b7915b14f36183c6eeaf
* Add setSurface() and getSurface() to RScpp.Miao Wang2015-04-073-21/+80
| | | | Change-Id: I53ac88ce3f482e01bd70df57a1aaf0b71b1f49af
* Fix the ordering of CREATE_SAMPLER macro in C++ API, according to correspondingMiao Wang2015-04-031-9/+9
| | | | | | | | | | Java API. - min/mag, wrapS/wrapT was incorrectly swapped - When creating MIP_LINEAR related sampler, mag should be set to LINEAR and min to LINEAR_MIP_LINEAR Change-Id: Iaa354281d6dba73fca452e04452c88bfe5af0469
* Update Dispatch table following ScriptGroup2 API change.Miao Wang2015-03-311-3/+2
| | | | Change-Id: Iacc3cdaa6d58c8f7739ac173fb5ac5de14482133
* Merge "Update RenderScript C++ API"Miao Wang2015-03-315-31/+254
|\
| * Update RenderScript C++ APIMiao Wang2015-03-305-31/+254
| | | | | | | | | | | | | | | | - Add Copy3DRangeTo API - Add AutoPadding & unPadding for CopyTo and CopyFrom APIs - Add IntrinsicResize Change-Id: I1138225f8a7b738929a09636bf2669f5d68b0c7d
* | Update Dispatch table entry for ScriptGroup2.Miao Wang2015-03-312-1/+9
|/ | | | Change-Id: Ice2523e7803cc50822840e47d13df3b2e059a5ca
* Ensure ScriptIntrinsicHistogram is given a valid Element in constructor when ↵Jon Parr2015-03-132-5/+8
| | | | | | | | | used via C++ bindings. Correct checks for compatible elements within ScriptIntrinsicHistogram. Add missing setVar within variable setters. Change-Id: I404058d231676d9c7403d4327053421a624f5ae9
* am ff523842: Merge "Make dispatchTable load AllocationGetPointer only when ↵Miao Wang2015-03-101-5/+7
|\ | | | | | | | | | | | | device api >= L" * commit 'ff523842e4b001886b39ad4b79dddb762433e492': Make dispatchTable load AllocationGetPointer only when device api >= L
| * Make dispatchTable load AllocationGetPointer only when device api >= LMiao Wang2015-03-061-5/+7
| | | | | | | | Change-Id: Idfc739e8f810f55108d5b7b598f71948dfeb40bf
* | am ceb8d321: Merge "Fix the bug for AllocationRead() that cannot handle 3d ↵Miao Wang2015-02-242-0/+21
|\| | | | | | | | | | | | | Allocation correctly. Add the following functions to make it symmetric for read and write." * commit 'ceb8d321879ba542b708910f9c835bc94eb6c4c8': Fix the bug for AllocationRead() that cannot handle 3d Allocation correctly. Add the following functions to make it symmetric for read and write.
| * Fix the bug for AllocationRead() that cannot handle 3d AllocationMiao Wang2015-02-232-0/+21
| | | | | | | | | | | | | | | | | | | | | | correctly. Add the following functions to make it symmetric for read and write. - AllocationElementData - AllocationElementRead - Allocation3DRead Change-Id: I8c89b5e3474c4c3c70e9795843a76e61f1f90f6a
* | am 73211368: Merge "Add API check for loadSymbols(), so that functions being ↵Miao Wang2015-02-132-7/+33
|\| | | | | | | | | | | | | dlsymed will depend on the device API level. (default: only load functions in API <= 21);" * commit '7321136880c7dc427c77af07d16f9f6a97c4808f': Add API check for loadSymbols(), so that functions being dlsymed will depend on the device API level. (default: only load functions in API <= 21);
| * Add API check for loadSymbols(), so that functions being dlsymedMiao Wang2015-02-092-7/+33
| | | | | | | | | | | | | | will depend on the device API level. (default: only load functions in API <= 21); Change-Id: I4b65df7f228a23d713b69983ddb81ce67075d9cc
* | am 5efcbfc7: Merge "Not return false when dispatch InvokeID, to make compat ↵Miao Wang2015-02-101-1/+1
|\| | | | | | | | | | | | | lib able to load libRS.so on older devices." * commit '5efcbfc764767113bc8ca8546e134a9f01b0d23d': Not return false when dispatch InvokeID, to make compat lib able to load libRS.so on older devices.
| * Not return false when dispatch InvokeID, to make compat lib able toMiao Wang2015-02-061-1/+1
| | | | | | | | | | | | load libRS.so on older devices. Change-Id: I1669a8a99ca08f91a03fdafa3b5f1ca778e41267
* | am 841ba73b: Merge "Runtime support for invocables in ScriptGroups"Yang Ni2015-02-052-0/+7
|\| | | | | | | | | * commit '841ba73b843babb8ca0117e9801b6db6ba6cd394': Runtime support for invocables in ScriptGroups
| * Runtime support for invocables in ScriptGroupsYang Ni2015-02-042-0/+7
| | | | | | | | | | | | This also includes support for InvokeID Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
* | am caa8bd8b: Merge "Add the missing \'stridelen\' field for ↵Miao Wang2015-02-052-2/+2
|\| | | | | | | | | | | | | AllocationGetPointer." * commit 'caa8bd8b8a43d4cecbc391651fc90b3a2147957e': Add the missing 'stridelen' field for AllocationGetPointer.
| * Merge "Add the missing 'stridelen' field for AllocationGetPointer."Miao Wang2015-02-052-2/+2
| |\
| | * Add the missing 'stridelen' field for AllocationGetPointer.Miao Wang2015-02-022-2/+2
| | | | | | | | | | | | Change-Id: I387a1e07eb2b1debf60b517d898d3828ff53600c
* | | am fe4f02f8: Merge "Make rsContext be able to have info about the path of ↵Miao Wang2015-02-052-1/+11
|\| | | | | | | | | | | | | | | | | | | | native libs for 64bit Renderscript compat lib." * commit 'fe4f02f81d7c461835be97eebbde744885846e99': Make rsContext be able to have info about the path of native libs for 64bit Renderscript compat lib.
| * | Make rsContext be able to have info about the path of native libsMiao Wang2015-02-032-1/+11
| |/ | | | | | | | | | | | | | | | | for 64bit Renderscript compat lib. - Native lib path stored in Java and queried from JNI. - Then set to Context during context creation. Change-Id: I3c997cf849efb7b9a0b0ac35d5b62289d70e7434
* | am 015ba466: Merge "New Script Group API: runtime and cpu driver support."Yang Ni2015-01-071-1/+8
|\| | | | | | | | | * commit '015ba466dff2c05653b21afded83d311d35cfa7c': New Script Group API: runtime and cpu driver support.
| * Merge "New Script Group API: runtime and cpu driver support."Yang Ni2015-01-071-1/+8
| |\
| | * New Script Group API: runtime and cpu driver support.Yang Ni2015-01-071-1/+8
| | | | | | | | | | | | Change-Id: I9c612cf8874aabaf0ca7d1640567464c71ed3070
* | | am 46a0f01c: Merge "Adding USAGE_IO_OUTPUT support for RS Compat lib."Miao Wang2015-01-072-0/+19
|\| | | | | | | | | | | | | | * commit '46a0f01cf05b8943d72c3d960a7da61c0bdab85c': Adding USAGE_IO_OUTPUT support for RS Compat lib.
| * | Adding USAGE_IO_OUTPUT support for RS Compat lib.Miao Wang2014-12-182-0/+19
| |/ | | | | | | | | | | | | | | | | | | - In allocation driver header, added window buffer struct for compat lib. - dlopen IO related functions in driver layer. - Add function to load symbols in rsDispatch. bug 12924018 Change-Id: I9156a28e458a72db077fe000bd324a369767fc4d
* | am 4f8b67b0: Merge "Clean up RS C++ library."Stephen Hines2014-11-212-2/+1
|\| | | | | | | | | * commit '4f8b67b0a32f0118d1a09826008cf8b65a80840b': Clean up RS C++ library.
| * Clean up RS C++ library.Stephen Hines2014-11-202-2/+1
| | | | | | | | | | | | | | Switch on the actual flags we should be using for C++11 (including -Wall and -Werror). This change also removes an unused private field. Change-Id: Id33c0b55ccf26780f6a6b7599f9eba554e1f873a
* | am f9fe049f: Merge "Create a separate static lib that provides a dispatch ↵Miao Wang2014-11-174-342/+385
|\| | | | | | | | | | | | | table to both fw/support/v8/renderscript/jni and libRScpp to reduce code duplication." * commit 'f9fe049f16c70f3ecaa0be1ce91b244b825fed67': Create a separate static lib that provides a dispatch table to both fw/support/v8/renderscript/jni and libRScpp to reduce code duplication.
| * Merge "Create a separate static lib that provides a dispatch table to both ↵Miao Wang2014-11-174-342/+385
| |\ | | | | | | | | | fw/support/v8/renderscript/jni and libRScpp to reduce code duplication."
| | * Create a separate static lib that provides a dispatch table to bothMiao Wang2014-11-114-342/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 9692a01f: Merge "Move libRScpp.so to libc++."Dan Albert2014-11-121-1/+0
|\| | | | | | | | | | | | | | * commit '9692a01f00c6d958e54377fc5d0f8c96c2f9d590': Move libRScpp.so to libc++.
| * | Move libRScpp.so to libc++.Dan Albert2014-11-121-1/+0
| |/ | | | | | | | | Bug: 15193147 Bug: 18341995 Change-Id: I257e11cc76a1a15c1962f30315f20a6c5b1d416b
* | am 8dfd7a77: Merge "Cleanup includes for rs/cpp to not expose internal details."Jason Sams2014-11-126-4/+12
|\| | | | | | | | | * commit '8dfd7a77b68ca41ac6502ca596f3a21e06865e24': Cleanup includes for rs/cpp to not expose internal details.
| * Cleanup includes for rs/cpp to not expose internal details.Jason Sams2014-11-116-4/+12
| | | | | | | | Change-Id: Ib23f591f8418d3318f61ab1d3f6f2b684bf95692
| * am 7e57aa7d: Enable 64-bit building for libRScpp_static.Tim Murray2014-10-071-0/+4
| |\ | | | | | | | | | | | | * commit '7e57aa7d6555128150219fa99e79a2ef051db40f': Enable 64-bit building for libRScpp_static.
| * \ resolved conflicts for merge of 79a9dacb to lmp-dev-plus-aospJason Sams2014-09-302-172/+0
| |\ \ | | | | | | | | | | | | Change-Id: Id4a5aafcd67afa6962bd9c042ce81fb6170c8c12
* | \ \ am 7e57aa7d: Enable 64-bit building for libRScpp_static.Tim Murray2014-10-081-0/+4
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | * commit '7e57aa7d6555128150219fa99e79a2ef051db40f': Enable 64-bit building for libRScpp_static.
| * | | Enable 64-bit building for libRScpp_static.Tim Murray2014-10-061-0/+4
| | |/ | |/| | | | | | | | | | | | | bug 17666041 Change-Id: I964ef9ee11826fb748fc0419d66eb5a9a670580e