summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsAllocation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Moving libRSAlex Sakhartchouk2012-03-281-741/+0
| | | | Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
* 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
* Implement sub updates for mipmap levels and cubmaps.Jason Sams2011-01-131-58/+33
| | | | Change-Id: I7c41263a0c1e583574d0c1fcb64b1a0440b5b555
* Implement more of copy2DRange*Jason Sams2011-01-121-3/+15
| | | | Change-Id: Id6be481c4abc968df27e5bba1ed044262ec0f293
* Cleanup bitmap uploadsJason Sams2011-01-121-34/+23
| | | | | | Implement standalone mipmap generation. Change-Id: Ie3a9781bbe50e2f58adca6f184d84fea50e40263
* Adding ability to load cubemaps from individual faces.Alex Sakhartchouk2011-01-111-25/+24
| | | | Change-Id: Ic8b6693f625c181e031d4393ba8fac40049da88b
* Updating cubemap loading code.Alex Sakhartchouk2011-01-101-3/+8
| | | | Change-Id: I93bb00e5fd1ccc622d17eba70a510664c2093723
* Move adapter2D to a derived class from Allocation.Jason Sams2010-12-291-37/+21
| | | | Change-Id: I7e9d8b0028ba95956476f253da38dbe64564d0da
* Fix teardown bug found in books.Jason Sams2010-12-241-1/+0
| | | | Change-Id: I9ac449b644108148b331e0c552f289bf80a07f7e
* Cleanup and refactoring of an earlier cl.Alex Sakhartchouk2010-12-151-2/+5
| | | | Change-Id: I5e356ed88375a1620846e0c500659e3b7ead5030
* Fix mipmap bug introduced with Allocation cleanup.Jason Sams2010-12-151-7/+12
| | | | | | Add syncAll to rsg headers. Change-Id: I02c953f3fddab3c6f4e98570cdad45a59711bbde
* Add support for non-malloc backed textures.Jason Sams2010-12-131-35/+63
| | | | Change-Id: Iee8e987591caa17b4c8186f8173089925140a568
* More API updates.Jason Sams2010-12-131-113/+20
| | | | Change-Id: I754dc645ac08fa25019eed8fd8b7b3c47f178ff2
* Remove CreateFromBitmapRef and addJason Sams2010-12-101-21/+33
| | | | | | CopyTo(bitmap) replacement. Change-Id: Ib73fb9f4bfe5f468eaf0f8f1bf68a93759eef00d
* Allocation API update.Jason Sams2010-12-081-74/+67
| | | | Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
* API review cleanup.Jason Sams2010-12-061-6/+2
| | | | Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
* Support for cubemaps.Alex Sakhartchouk2010-11-181-14/+129
| | | | Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-129/+70
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Continue error check improvements and write some docs.Jason Sams2010-11-091-0/+2
| | | | Change-Id: I345b08490da21d9ee715ff1ddc80c1a816b579f4
* Adding nvidia extension for limited npot support.Alex Sakhartchouk2010-10-271-7/+6
| | | | | | Updating a3d loading to be async. Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c