summaryrefslogtreecommitdiff
path: root/cpp/Element.cpp
AgeCommit message (Collapse)Author
2017-02-07frameworks/rs: fix clang-analyzer-unix.MallocSizeof warnings.Rahul Chaudhry
frameworks/rs/cpp/Element.cpp:189:52: warning: Result of 'calloc' is converted to a pointer of type 'android::RSC::sp<const Element>', which is incompatible with sizeof operand type 'android::RSC::sp<Element>' frameworks/rs/cpp/Element.cpp:414:52: warning: Result of 'calloc' is converted to a pointer of type 'android::RSC::sp<const Element>', which is incompatible with sizeof operand type 'android::RSC::sp<Element>' frameworks/rs/cpp/Element.cpp:455:92: warning: Result of 'calloc' is converted to a pointer of type 'android::RSC::sp<const Element>', which is incompatible with sizeof operand type 'android::RSC::sp<Element>' Bug: 26936282 Test: WITH_TIDY=1 WITH_STATIC_ANALYZER=1 mm Change-Id: I9a8af303fcf2eb8effa42eb538381cd2c24f2001
2016-11-04Fix google-build-using-namespace warnings.Chih-Hung Hsieh
Replace "using namespace ..." with "using namespace::identifier" for every imported identifiers. Bug: 32670901 Test: make with WITH_TIDY=1 Change-Id: Iae11a95b386c7e783e3bc50312a8fd4209e4ced7
2016-08-17Fix clang-tidy performance warnings.Chih-Hung Hsieh
* Use const reference type for read-only parameters. Bug: 30407689 Test: build with WITH_TIDY=1 Change-Id: I7c19a10f0ae0b4784851bedbcaf1c4565c6616d1
2016-02-17Add float16 elements to C++ APIPirama Arumuga Nainar
Bug: 25972767 Add float16 elements to C++ API and test the ability to create float16 allocations. Caveats: - Element::F16 and such are accessible to the host-side code irrespective of the target API level. This is because right now, target API level seems to be set at runtime instead of compile time. - We added float16 to RenderScript starting API level 23. Since we cannot compile RS CPP apps targeting this level, Scripts cannot manipulate float16 data yet. Change-Id: I2bfba13fcad1c3aa984e97b44765fd2a57a054ac
2015-09-15Comments clean up for C++ APIMiao Wang
Change-Id: I7ced3653a32fa8eaa62cd218002d22f5551c404a
2015-09-15Fix updateFromNative in C++ API.Miao Wang
Change-Id: I2b1cce8ab964e9ddd6b039fd8d7b8f8bf5f0eed1
2015-04-15Enable YUV support in rs C++ API.Miao Wang
Change-Id: I5326c2b6551953e19da50aff1848557231b908e5
2015-04-13remove STL from rs C++ public interface. Nuke stlport.Miao Wang
Change-Id: Ida273c1cfa21c4db51ae41a4c42746d9d828f292
2014-08-20Replace NULL macros with nullptr literals.Chris Wailes
Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
2013-12-12Fix memory leak due to smart pointer misuse.Tim Murray
bug 11965932 Change-Id: I982b974b3554b0f4dc7a558107703ff605f580e6
2013-12-11Add RGBA_5551.Tim Murray
Change-Id: Ie9e465300bcb2985df79cf884ce7209ff41570c9
2013-10-04Add docs to C++ API.Tim Murray
bug 10427951 Change-Id: I51805b6fb43781c57dfbbdc5b3e77f200af19ed8
2013-09-09Fix build/dependency issue.Tim Murray
bug 10427951 Change-Id: I798a0014f299b22c26bea3205823fcbb64f7ec70
2013-08-28Fix element handling. Add YUV support.Tim Murray
bug 10427951 Change-Id: I2c9cd4faca881e3fa05eb65ab5edaab9f1c6c140
2013-08-21Make error handling kill context activity. Add parameter validation.Tim Murray
bug 10427951 Change-Id: I4abba969e34903265b84ee88d6a90bc9b9df5481
2013-08-19Add error handling, move to create methods for intrinsics.Tim Murray
Change-Id: I81a0d481fef8b9396c648fdf18aee716a2056612
2013-08-14remove string8, replace with std::string from stlportTim Murray
also remove unnecessary ALOGEs from header Change-Id: I52953f5edc47fece953fbc3f91c732fcbbfe2d04 (cherry picked from commit f9b6346e62848565a4b45fd1123d41df7634bfd5)
2013-08-01Add basic support for intrinsics. Move sp<> into RScpp.Tim Murray
Change-Id: I74cdee7069a624ded5091d53db3a4b8ce9894033
2013-07-23Add Sampler support to C++ API.Tim Murray
Change-Id: I9a6ada9cf16b5e9f92bcecc12e87d66585df1d33
2013-07-23Move C++ API over to function tables rather than linking libRS directly.Tim Murray
Change-Id: I7841df768d5bd10fa941b3655673fd73496a8137
2013-03-19Add x86 server support.Tim Murray
Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
2013-02-13Move rs.h includes to source files.Tim Murray
Change-Id: Ic49e3fa5580c67f35a21f95872794ea03dd114b6
2012-11-16Change namespace from renderscriptCpp to RSCTim Murray
Change-Id: I6c40a91d3afad8411d0ad49088a8e52c251b7038
2012-11-05Move to smart pointers for refcounting RS contextsTim Murray
Change-Id: I0dc6adc4e02c7427a4234c549d3555a501fe5f90
2012-04-02Make all references use smart pointers.Jason Sams
BUG=5972398 Change-Id: I7b8c2930ccf7d64623270cd3d0550aa6a852f2e5
2012-04-02Split cpp frontend to its own lib.Jason Sams
Change-Id: I6ff1c620ec28ca1b96bce569ad5a09b41130ee88