summaryrefslogtreecommitdiff
path: root/rsType.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Separate libRS.so into public and internal libsYang Ni2016-03-211-15/+0
| | | | | | | | | | | | | | Bug: 26546579 libRS_internal.so is not going to be whitelisted by the NDK linker, therefore loadable only by the internal implementation, but not any application code. libRS is going to contain only publicly exported functions, i.e. the functions declared in frameworks/rs/rs.h, including those in rsApiFuncDecl.h (generated from rs.spec). Change-Id: Iac58695316edc9aff87ade2bac3b4a44d1a68b23
* Revert "Added a flag to APIs for rsObj creation"Yang Ni2016-03-081-7/+5
| | | | | | This reverts commit 04dcca95461a2ffab4ce5209a453b752ab5c606b. Change-Id: I0016bbff79626b033201a88f466cbb2d60f86717
* Added a flag to APIs for rsObj creationYang Ni2016-03-031-5/+7
| | | | | | | | | | | Bug: 25570907 This flag will distinguish calls from Java/JNI vs. Single-Source RS. For the latter, the user ref count should remain zero to avoid memory leaks. Change-Id: Id3604f93b166089e3aca896d1c6c509b3ea19bcf (cherry picked from commit a7725cbfcdfe2eaf868571c77f004a4d7208e8ef)
* Revert "Replaced android::Vector with std::vector."Yang Ni2015-02-151-9/+5
| | | | | | | | | | b/19148482 This reverts commit 93d6bc872b7d9fba63abfa7513d56b38d9c3d371. I also made some changes to Make it work with HEAD. Change-Id: I5e516976ec1d85ffe1cf388c01795348a9441982
* Fix 64bit build.Jason Sams2015-01-121-1/+1
| | | | Change-Id: I713a4333dcad88aeef03e8bf4400b951d41042c5
* Array type and allocation supportJason Sams2015-01-121-25/+72
| | | | Change-Id: Ic09188a8ceb212634b4369eb1ffe42c6f249e3ed
* resolved conflicts for merge of 81cfa2c5 to lmp-dev-plus-aospStephen Hines2014-08-211-4/+4
|\ | | | | | | Change-Id: Ia3a7f084693825d4e46a4864788332a7d039d38f
| * Replace NULL macros with nullptr literals.Chris Wailes2014-08-201-4/+4
| | | | | | | | Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
* | am 3fa79f84: Merge changes I4c6abd96,I9bcf36d0Stephen Hines2014-08-201-5/+9
|\| | | | | | | | | | | * commit '3fa79f84fcce0b5f59498980a2bb8e355cf53cd4': Replaced android::Vector with std::vector. Adjust to handle the change to std::vector in libbcc.
| * Replaced android::Vector with std::vector.Chris Wailes2014-08-181-5/+9
| | | | | | | | Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
* | Fix YUV allocation table.Jason Sams2014-08-011-9/+16
|/ | | | Change-Id: Ia6265c7eb2fa60f6789eb43b3e03fdfe8327dd7e
* Add missing delete operators to Type and Element.Tim Murray2014-07-101-0/+7
| | | | | | bug 15861251 Change-Id: I6cbf64f6cb24d2fb3f8ee048c08a982efd4a683e
* Add 64bit large object supportJason Sams2014-07-081-0/+7
| | | | | | | | | | | | Add HAL hooks for filling in LO fields. Change-Id: Ib9bdee714a062de519d2a9708c1016404a1b11a4 Conflicts: driver/rsdBcc.cpp driver/rsdCore.cpp rsAllocation.h rs_hal.h
* Move element and type allocations to the HAL allocator.Tim Murray2014-07-081-1/+7
| | | | Change-Id: Ibbd7ac14008ad02da13655d7793eaa9e37254057
* Update structs and defines for 64-bit.Tim Murray2014-06-101-0/+6
| | | | | | Also adds RS_FIND_OFFSETS, which prints address info for various types that allow us to easily update __pad. Change-Id: I4d57248e155d113c83ff69f4f8f64160aa24fb9b
* Replace "mips" with "mipmaps" since the MIPS gcc compiler defines mips to 1.Stephen Hines2013-12-201-2/+2
| | | | Change-Id: Ia48ffa714ff9e3a2e3b64ea1edd11ad0f6bf354a
* Cleanup type offsets which cannot be calculated for flexible YUV.Jason Sams2013-09-031-59/+14
| | | | | | | | | Support flexible YUV bug 10567550 Change-Id: I4f6e5a8d86eeee635605460f1751208f3320969b (cherry picked from commit a75372759e288be3fb8835735a830b1f7d1a4c42)
* am 470a2f85: am 10f31703: Fix up dependencies further for RS compatibility ↵Stephen Hines2013-08-161-1/+5
|\ | | | | | | | | | | | | library. * commit '470a2f85d26034771c82de18509f072596d53531': Fix up dependencies further for RS compatibility library.
| * Fix up dependencies further for RS compatibility library.Stephen Hines2013-08-151-1/+5
| | | | | | | | | | | | | | Removed cutils dependency from rsdCore.cpp. Removed system/grapics.h dependency by bringing in the only enum we use. Change-Id: I0de6c0c2e049c78cc20516cfa2035291da2a0f04
* | Merge "Move rs.h functions over to extern "C"."Tim Murray2013-07-221-1/+1
|\ \
| * | Move rs.h functions over to extern "C".Tim Murray2013-07-221-1/+1
| |/ | | | | | | Change-Id: I0503a64d93dda558455dfebca90a0c820c80d7b1
* / Remove more String8Jason Sams2013-07-171-5/+4
|/ | | | Change-Id: I2b43c3c104eab7cb3b6573bea4858f6c2d0a76ca
* Start making RS 64-bit clean.Tim Murray2013-03-201-2/+2
| | | | Change-Id: Ie40ad9a1d2b59094c86eb7e40b358e60120ce213
* Add x86 server support.Tim Murray2013-03-191-2/+4
| | | | Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
* Support typed YUV allocationsJason Sams2013-02-151-1/+29
| | | | Change-Id: I844051ee1be1462e497d238f5460f301be1aaa1d
* Add support for YUV allocations.Jason Sams2013-01-091-6/+8
| | | | Change-Id: I21a47c745a2f8435af4f37ec0ad624002f3db555
* Revert "Remove offset functions from Type"Stephen Hines2012-10-191-5/+46
| | | | | | | This reverts commit b99ed44dcffcc268958e86a7bdba2c683d729cf6. Bug: 7378621 Change-Id: I60c23e02ae45e1141b7447232b2c7d7c5cb1ac38
* Remove offset functions from TypeJason Sams2012-10-161-46/+5
| | | | | | | | | These were moved into the hal to allow driver specific padding. bug 6866193 Change-Id: Ie834cb4e00a9fc48ddd456e62b5a0c89574b1e31
* Plumb context through for serialization.Jason Sams2012-07-241-2/+2
| | | | Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
* Move incRefs()/decRefs() logic from Allocation -> Type.Stephen Hines2012-04-021-0/+31
| | | | | | | | | BUG=6009244 This refactoring will make it easier to implement proper type tracking (for updating reference counts using FieldPacker). Change-Id: If42b23193e81bc36ca5508a3d6987e73824107a1
* Fix argument passing with dimLOD.Stephen Hines2012-03-121-2/+2
| | | | | | BUG=6152130 Change-Id: I5c857b692af8ec45e4cbef8140c44d72aec6600e
* Moving lod's into hal struct.Alex Sakhartchouk2012-03-081-38/+44
| | | | Change-Id: Iaec34fea7c002d7948d91df6b7a1af7f832f74ea
* resolved conflicts for merge of 08289f55 to graphics-devSteve Block2012-01-091-1/+1
|\ | | | | | | Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
| * Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-1/+1
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* | Adding simple hal struct to type.Alex Sakhartchouk2011-12-201-30/+33
|/ | | | | | Fixing off by 1 error in the element. Change-Id: I0b142942c760cb861007af7099d35d0363f4e13b
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-1/+1
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* Fixing asynchronous performance issues.Alex Sakhartchouk2011-08-161-29/+19
| | | | Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
* Pipe rsa function though the RS api table.Jason Sams2011-04-281-5/+4
| | | | Change-Id: Ic8a3bef5d337be1d8fc5ca961eec6be4761701c5
* Cleaning up the serialization change.Alex Sakhartchouk2011-01-311-4/+0
| | | | | | Renaming the define to be more in line with what it does and removing the host stub header file. Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
* Making sure we can build libRS on the host for serialization.Alex Sakhartchouk2011-01-311-3/+1
| | | | Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
* Implement sub updates for mipmap levels and cubmaps.Jason Sams2011-01-131-0/+11
| | | | Change-Id: I7c41263a0c1e583574d0c1fcb64b1a0440b5b555
* API review cleanup.Jason Sams2010-12-061-24/+3
| | | | Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
* More error checksJason Sams2010-11-221-1/+1
| | | | Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-45/+27
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Moving attrib creation to Mesh. Adding arrays as shader inputs.Alex Sakhartchouk2010-11-081-89/+0
| | | | | | Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
* Adding nvidia extension for limited npot support.Alex Sakhartchouk2010-10-271-17/+15
| | | | | | Updating a3d loading to be async. Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
* Begin adding async allocation creation.Jason Sams2010-10-261-77/+40
| | | | | | | | Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8 Implement async bitmap upload and clean up types. Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
* Fix refcounting bugs where the sys refcountJason Sams2010-10-211-10/+12
| | | | | | | | | | could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
* Async type creation.Jason Sams2010-10-141-80/+56
| | | | Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
* Update allocation from bitmap.Alex Sakhartchouk2010-10-111-6/+30
| | | | | | GL attribute cleanup in type. Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6