summaryrefslogtreecommitdiff
path: root/rsAllocation.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add custom allocator support for Allocation objects.Tim Murray2013-03-111-1/+16
| | | | Change-Id: Iab546455354c2ee72797658fdcd49c90a5893527
* Cleanup lots of things related to IO_OUTPUT and error checking.Tim Murray2013-02-251-21/+0
| | | | Change-Id: Ic6802dd0ba9d3edc8c53f99002cdd905214a515c
* Implement usage IO INPUTJason Sams2013-02-221-12/+6
| | | | Change-Id: I4dedd697ecd7719ba307ac393aca5abd67128e0c
* Support typed YUV allocationsJason Sams2013-02-151-1/+1
| | | | Change-Id: I844051ee1be1462e497d238f5460f301be1aaa1d
* Remove unstrided 2D copies.Tim Murray2013-02-071-22/+2
| | | | Change-Id: I31744f1d5a92fe267aab5275950c9701d417bc36
* Add support for YUV allocations.Jason Sams2013-01-091-8/+5
| | | | Change-Id: I21a47c745a2f8435af4f37ec0ad624002f3db555
* Cleanup diff with compat.Jason Sams2012-12-191-0/+2
| | | | Change-Id: Ieedcdec03ccb05cac68cbebbd398e07cb885f4d3
* Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-181-3/+3
| | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I268f78847fcb7094fdfd17484c7f20e128b950e1
* Add support for user-allocated buffers from the C++ API.Tim Murray2012-12-041-0/+1
| | | | | Bug: 7256604 Change-Id: Ia5d458ebadfd893e41130f90a1650258280a41cd
* Add support for 2D strided copies to/from an allocation with the C++ API.Tim Murray2012-11-271-11/+31
| | | | Change-Id: I55cd7512f683f8d36d2b75f894931fd0657521bc
* Add support for 2D copies to arbitrary data pointers.Tim Murray2012-11-261-0/+7
| | | | Change-Id: Id92eb508efa9bc85d812b3f41faf98dd74c0c503
* Separate CPU driver impl from reference driver.Jason Sams2012-11-191-1/+1
| | | | Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
* Add copy1DRangeToUnchecked.Tim Murray2012-11-131-0/+12
| | | | Change-Id: Iac550920b8e274819e43aca867dedc66eff47dcf
* Cache element type in allocation hal.Jason Sams2012-08-291-0/+1
| | | | Change-Id: I7351eab942dd8d46b8a4aac1f501f33d4d2e463b
* Cleanup pointer access in adapter and font.Jason Sams2012-07-271-97/+16
| | | | Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
* Move memory layout to driver.Jason Sams2012-07-251-24/+53
| | | | | | | | This change moves all allocation data copies to the hal. Also removes stride from the runtime. Follow on changes will remove the malloc pointer from the runtime. Change-Id: I30967c739800cd4b97186e9fc8b69f26a3f2787d
* Plumb context through for serialization.Jason Sams2012-07-241-9/+9
| | | | Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
* Fix duplicate malloc pointers.Jason Sams2012-04-161-1/+0
| | | | Change-Id: I6525877cb93fe0f750339a8d7a747c7f5ce9a2f7
* Move incRefs()/decRefs() logic from Allocation -> Type.Stephen Hines2012-04-021-20/+2
| | | | | | | | | BUG=6009244 This refactoring will make it easier to implement proper type tracking (for updating reference counts using FieldPacker). Change-Id: If42b23193e81bc36ca5508a3d6987e73824107a1
* Implement USAGE_IO_INPUTJason Sams2012-03-231-0/+19
| | | | Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
* More header untangling.Alex Sakhartchouk2012-03-091-0/+2
| | | | Change-Id: I090943775cbda8d9515cdb484957f6b05d5b1799
* Beging IO stream out from allocation to surface texture.Jason Sams2012-02-151-0/+39
| | | | Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
* am 7042613c: Merge "Fix an incorrect assert that doesn\'t account for ↵Alex Sakhartchouk2012-02-021-3/+4
|\ | | | | | | | | | | | | element array size." * commit '7042613c653fd0de253f2f659901318902fa4584': Fix an incorrect assert that doesn't account for element array size.
| * Fix an incorrect assert that doesn't account for element array size.Alex Sakhartchouk2012-02-021-3/+4
| | | | | | | | Change-Id: Ibcb5c55d91967603391a1721137d010a85025990
* | am 855eadf9: Merge "Fix potential bug with reordered size/offset arguments."Stephen Hines2012-01-301-18/+18
|\| | | | | | | | | * commit '855eadf942c8ff5c2665d7dc3b6d4b5ba630419a': Fix potential bug with reordered size/offset arguments.
| * Fix potential bug with reordered size/offset arguments.Stephen Hines2012-01-201-18/+18
| | | | | | | | | | | | This change also cleans up a few uint32_t/size_t issues. Change-Id: Iae0fc085c12149129b91fce0ebbc28c8cf358eaf
* | Start implementing SurfaceTexture streaming into RS allocations.Jason Sams2012-01-131-0/+11
| | | | | | | | Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
* | resolved conflicts for merge of 08289f55 to graphics-devSteve Block2012-01-091-15/+15
|\| | | | | | | Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
| * Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-15/+15
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* | Private API to support MFF transition.Jason Sams2011-11-231-7/+8
|/ | | | Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
* Expand RS vector3 types to vector4.Alex Sakhartchouk2011-11-151-10/+100
| | | | | | | | | | | | | | | | BUG=5609007 The underlying LLVM implementation for vector3 types does this implicitly. If RS does not adjust its implementation, we will always be misaligned for any subsequent data after a vector3 type. We previously inserted padding into the reflected layers from llvm-rs-cc (hence the skip padding part of this change). We can safely ignore the padding now that the Java/native code is updated to use the expanded size. The compiler will also need modification to ensure that we don't mistakenly skip over any end-of-struct padding. Fixing the 3 component vector padding problem. Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
* 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
* Remove ObjBaseRef from the hal structAlex Sakhartchouk2011-10-181-4/+4
| | | | Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
* Fix issue with freeing allocation with circular references.Jason Sams2011-08-181-13/+14
| | | | Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
* Fixing asynchronous performance issues.Alex Sakhartchouk2011-08-161-3/+4
| | | | Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
* Fix to the memory leak problem.Alex Sakhartchouk2011-08-121-0/+16
| | | | Change-Id: I18dfa76ecae62ed5165415531adf3a13ad992b54
* Allocation copy functions.Alex Sakhartchouk2011-06-141-0/+17
| | | | Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
* More work to make libRS buildable on the host.Alex Sakhartchouk2011-06-031-14/+4
| | | | Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
* Start splitting allocation into hal and core.Jason Sams2011-05-261-390/+48
| | | | Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
* rsLib cleanupAlex Sakhartchouk2011-05-061-2/+2
| | | | Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
* Pipe rsa function though the RS api table.Jason Sams2011-04-281-29/+27
| | | | Change-Id: Ic8a3bef5d337be1d8fc5ca961eec6be4761701c5
* Cleanup rs.spec file and code generator.Jason Sams2011-04-261-2/+2
| | | | Change-Id: I369e36b222ff962fc6835bc550435c2940e2b5fd
* Modifying libRS internal communication to handle network rendering.Alex Sakhartchouk2011-04-251-1/+1
| | | | Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
* First draft of fbo in renderscript.Alex Sakhartchouk2011-04-011-18/+56
| | | | | | Updating samples and benchmark Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
* Start seperating out RS compute implementation. Create halJason Sams2011-03-171-83/+93
| | | | | | layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
* Almost all warnings are now errors in RS build.Stephen Hines2011-03-011-2/+2
| | | | Change-Id: Ie22eccdafbc95d1f903c73007dd3fb0ad10af7cc
* Cleaning up the serialization change.Alex Sakhartchouk2011-01-311-27/+25
| | | | | | 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-17/+26
| | | | Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
* Clean up RS samples for SDK, bug 2943369Jason Sams2011-01-281-0/+1
| | | | | | | | | | | | | Fix bug 3403965 rsgSyncAll would not mark constants as changed found by inspection. Only rsAllocation.cpp affects on device bits. Change-Id: I6b7ec0df87e42687b24384aaf54dc04976cb84f7 doc update Change-Id: Id5841f08868557e086f185024470924ef202d19f
* Add some error checking.Jason Sams2011-01-161-0/+1
| | | | Change-Id: I007b1429a64b39ffd5cdef200c295d5a31f95048