History log of /frameworks/rs/rsAllocation.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
61656a7c6fc13421679d0a1cdf8b5b861e286892 04-Sep-2013 Jason Sams <jsams@google.com> Cleanup type offsets which cannot be calculated for flexible YUV.

Support flexible YUV

bug 10567550

Change-Id: I4f6e5a8d86eeee635605460f1751208f3320969b
(cherry picked from commit a75372759e288be3fb8835735a830b1f7d1a4c42)
/frameworks/rs/rsAllocation.cpp
ddceab9a001f07a3395226c5e06e3b420720af0f 07-Aug-2013 Jason Sams <jsams@google.com> Refactor hal to remove cpuConsumer from drivers

This CL should minimize build breaks due to
BufferQueue changes in the future.

Change-Id: I565a6eae5cc25603741fef32f2cfcb31a32eb757
/frameworks/rs/rsAllocation.cpp
f51f8c741dda633f525a3eeb7552bff5819a75f0 23-Jul-2013 Tim Murray <timmurray@google.com> Merge "Move rs.h functions over to extern "C"."
c2ce707a3d1a8eae79bcf1c749afc6d6e7969ad9 18-Jul-2013 Tim Murray <timmurray@google.com> Move rs.h functions over to extern "C".

Change-Id: I0503a64d93dda558455dfebca90a0c820c80d7b1
/frameworks/rs/rsAllocation.cpp
48ecf6a5e85a9a832f41393ed2802385bb8b5db8 10-Jul-2013 Jason Sams <jsams@google.com> Remove more String8

Change-Id: I2b43c3c104eab7cb3b6573bea4858f6c2d0a76ca
/frameworks/rs/rsAllocation.cpp
b0934b67b95cc27e2358c2aa4db5f7c1067c8f9b 04-Jul-2013 Stephen Hines <srhines@google.com> Remove libutils and fix rsDebug for RS support library.

Bug: 9664050

Our bitcode runtime library translates vector rsDebug() calls into passing
their parameters via pointers. The previous version of libRSSupport.so was
being created with non-pointer versions of these routines accidentally.
This change also fixes a missing permission issue for ImageProcessing2, so
that the compatibility library can be verified.

This change also removes the use of libutils by switching the implementation of
String8/Vector in the compatibility library to internal types backed by
libstlport_static.

Change-Id: I20da75e8c19a82a42dc2bceaba1937d21372db84
/frameworks/rs/rsAllocation.cpp
3bbc0fd40264ddae1592706d9023865b7b3e3195 09-Apr-2013 Jason Sams <jsams@google.com> Add 3D allocation copies.

Remove resize2d.

bug 8567058

Change-Id: Ib143b7a417c7db88aa8da8714a63e0ee6091269a
/frameworks/rs/rsAllocation.cpp
099bc262f862cdeb547cf8a78fe9e0e92560f437 21-Mar-2013 Tim Murray <timmurray@google.com> Start making RS 64-bit clean.

Change-Id: Ie40ad9a1d2b59094c86eb7e40b358e60120ce213
/frameworks/rs/rsAllocation.cpp
0b575de8ed0b628d84d256f5846500b0385979bd 15-Mar-2013 Tim Murray <timmurray@google.com> Add x86 server support.

Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
/frameworks/rs/rsAllocation.cpp
34689388556747b52c3c2f1c894929fb44580898 11-Mar-2013 Tim Murray <timmurray@google.com> Add custom allocator support for Allocation objects.

Change-Id: Iab546455354c2ee72797658fdcd49c90a5893527
/frameworks/rs/rsAllocation.cpp
3a25fdd3786c1a08b783d8a83ef94b756347ff5c 23-Feb-2013 Tim Murray <timmurray@google.com> Cleanup lots of things related to IO_OUTPUT and error checking.

Change-Id: Ic6802dd0ba9d3edc8c53f99002cdd905214a515c
/frameworks/rs/rsAllocation.cpp
733396b67724162844ea2785c7495115dc5ee8d8 22-Feb-2013 Jason Sams <jsams@google.com> Implement usage IO INPUT

Change-Id: I4dedd697ecd7719ba307ac393aca5abd67128e0c
/frameworks/rs/rsAllocation.cpp
bc0ca6ba4e31239bf77060578d0bdf1a10e04168 16-Feb-2013 Jason Sams <jsams@google.com> Support typed YUV allocations

Change-Id: I844051ee1be1462e497d238f5460f301be1aaa1d
/frameworks/rs/rsAllocation.cpp
60c2796d821d9296003d4e5db025f8734d971a71 08-Feb-2013 Tim Murray <timmurray@google.com> Remove unstrided 2D copies.

Change-Id: I31744f1d5a92fe267aab5275950c9701d417bc36
/frameworks/rs/rsAllocation.cpp
a572aca4eb4ddb32c10baa1f529431cfefd756b8 09-Jan-2013 Jason Sams <jsams@google.com> Add support for YUV allocations.

Change-Id: I21a47c745a2f8435af4f37ec0ad624002f3db555
/frameworks/rs/rsAllocation.cpp
93eacc7ce0aad4314b4cb41a281f59ce54bb3286 18-Dec-2012 Jason Sams <jsams@google.com> Cleanup diff with compat.

Change-Id: Ieedcdec03ccb05cac68cbebbd398e07cb885f4d3
/frameworks/rs/rsAllocation.cpp
58fd6a5f10480551786739280d56dfa620c80b39 18-Dec-2012 Andy McFadden <fadden@android.com> Rename ISurfaceTexture and SurfaceTexture

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
/frameworks/rs/rsAllocation.cpp
2e1a94df812f0caa42ff24eaefeba8f90fbdf1ac 29-Nov-2012 Tim Murray <timmurray@google.com> Add support for user-allocated buffers from the C++ API.

Bug: 7256604
Change-Id: Ia5d458ebadfd893e41130f90a1650258280a41cd
/frameworks/rs/rsAllocation.cpp
358747a3118301c5faeee73c98dd5f839bbfb54a 26-Nov-2012 Tim Murray <timmurray@google.com> Add support for 2D strided copies to/from an allocation with the C++ API.

Change-Id: I55cd7512f683f8d36d2b75f894931fd0657521bc
/frameworks/rs/rsAllocation.cpp
7b3e3093f745134345dadf89498ad16e1f9c0e71 16-Nov-2012 Tim Murray <timmurray@google.com> Add support for 2D copies to arbitrary data pointers.

Change-Id: Id92eb508efa9bc85d812b3f41faf98dd74c0c503
/frameworks/rs/rsAllocation.cpp
709a0978ae141198018ca9769f8d96292a8928e6 16-Nov-2012 Jason Sams <jsams@google.com> Separate CPU driver impl from reference driver.

Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
/frameworks/rs/rsAllocation.cpp
509ea5c832a865bc9083d53f1f058377a689bab3 13-Nov-2012 Tim Murray <timmurray@google.com> Add copy1DRangeToUnchecked.

Change-Id: Iac550920b8e274819e43aca867dedc66eff47dcf
/frameworks/rs/rsAllocation.cpp
6146238d58f914547c89b3a8cda9cccaa34f84a0 29-Aug-2012 Jason Sams <jsams@google.com> Cache element type in allocation hal.

Change-Id: I7351eab942dd8d46b8a4aac1f501f33d4d2e463b
/frameworks/rs/rsAllocation.cpp
61a4bb734b91ced09fbfee4214c6f253cb66e5f0 26-Jul-2012 Jason Sams <jsams@google.com> Cleanup pointer access in adapter and font.

Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
/frameworks/rs/rsAllocation.cpp
807fdc4b6f3fb893015ee136565d6151bb2332d3 26-Jul-2012 Jason Sams <jsams@google.com> Move memory layout to driver.

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
/frameworks/rs/rsAllocation.cpp
e3150cfb3edb028407669e4a65e087eae77e718c 25-Jul-2012 Jason Sams <jsams@google.com> Plumb context through for serialization.

Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
/frameworks/rs/rsAllocation.cpp
2275e9cf534ff601fe42a72ff50580b230c04fe2 17-Apr-2012 Jason Sams <jsams@google.com> Fix duplicate malloc pointers.

Change-Id: I6525877cb93fe0f750339a8d7a747c7f5ce9a2f7
/frameworks/rs/rsAllocation.cpp
9f70a4e63825afe9f786483722e1669b3625f5e9 03-Apr-2012 Stephen Hines <srhines@google.com> Move incRefs()/decRefs() logic from Allocation -> Type.

BUG=6009244

This refactoring will make it easier to implement proper type tracking (for
updating reference counts using FieldPacker).

Change-Id: If42b23193e81bc36ca5508a3d6987e73824107a1
/frameworks/rs/rsAllocation.cpp
3522f40418fdf877f5a136475dbf75e57a3b7c77 23-Mar-2012 Jason Sams <jsams@google.com> Implement USAGE_IO_INPUT



Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
/frameworks/rs/rsAllocation.cpp
4edf030cbb7c6ac08dc563335c2af73c20f6e2e5 09-Mar-2012 Alex Sakhartchouk <alexst@google.com> More header untangling.

Change-Id: I090943775cbda8d9515cdb484957f6b05d5b1799
/frameworks/rs/rsAllocation.cpp
7ac2a4dda4d20ca1f1b714e129a3a08f63178c18 15-Feb-2012 Jason Sams <rjsams@android.com> Beging IO stream out from allocation to surface texture.

Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
/frameworks/rs/rsAllocation.cpp
6f9fb0f8de25366969de08cbe665e4b41a032d4f 02-Feb-2012 Alex Sakhartchouk <alexst@google.com> am 7042613c: Merge "Fix an incorrect assert that doesn\'t account for element array size."

* commit '7042613c653fd0de253f2f659901318902fa4584':
Fix an incorrect assert that doesn't account for element array size.
769463262d655087ed39d9b823673e776a8af946 02-Feb-2012 Alex Sakhartchouk <alexst@google.com> Fix an incorrect assert that doesn't account for element array size.

Change-Id: Ibcb5c55d91967603391a1721137d010a85025990
/frameworks/rs/rsAllocation.cpp
d10470361e880021ba5249709d8f38b982f11158 30-Jan-2012 Stephen Hines <srhines@google.com> am 855eadf9: Merge "Fix potential bug with reordered size/offset arguments."

* commit '855eadf942c8ff5c2665d7dc3b6d4b5ba630419a':
Fix potential bug with reordered size/offset arguments.
6ae039baf797915d46f3b3901d1b7f5cc83feace 19-Jan-2012 Stephen Hines <srhines@google.com> Fix potential bug with reordered size/offset arguments.

This change also cleans up a few uint32_t/size_t issues.

Change-Id: Iae0fc085c12149129b91fce0ebbc28c8cf358eaf
/frameworks/rs/rsAllocation.cpp
41e373d91a60043afa0f9abd026218b49cbc1201 13-Jan-2012 Jason Sams <jsams@google.com> Start implementing SurfaceTexture streaming into RS allocations.

Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
/frameworks/rs/rsAllocation.cpp
03f1910431433f3a35f1445aa0bba2b00417f0cc 10-Jan-2012 Steve Block <steveblock@google.com> resolved conflicts for merge of 08289f55 to graphics-dev

Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
af12ac6a08651464f8d823add667c706f993b587 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/rs/rsAllocation.cpp
179e9a457095fea4c9e6d366c269754b882d05dd 24-Nov-2011 Jason Sams <jsams@google.com> Private API to support MFF transition.

Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
/frameworks/rs/rsAllocation.cpp
2d1220c27ae91f0b307f283fe66cb767b63dfe38 16-Nov-2011 Alex Sakhartchouk <alexst@google.com> Expand RS vector3 types to vector4.

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
/frameworks/rs/rsAllocation.cpp
6598201f1c4f409defac9a5af789fb53a7cc00f8 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/rs/rsAllocation.cpp
064aa7ed76db9564b041afcd4b75da5b3d12faba 18-Oct-2011 Alex Sakhartchouk <alexst@google.com> Remove ObjBaseRef from the hal struct

Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
/frameworks/rs/rsAllocation.cpp
c7cec1e3577cc77a5a73d5bd5a82733b1b9936a1 19-Aug-2011 Jason Sams <rjsams@android.com> Fix issue with freeing allocation with circular references.

Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
/frameworks/rs/rsAllocation.cpp
c700e649ca44d0dcff8b271e42d949ea72fe3c63 16-Aug-2011 Alex Sakhartchouk <alexst@google.com> Fixing asynchronous performance issues.

Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
/frameworks/rs/rsAllocation.cpp
5c4369a3a1b19eaeabb044af2cdeef05474f9069 12-Aug-2011 Alex Sakhartchouk <alexst@google.com> Fix to the memory leak problem.

Change-Id: I18dfa76ecae62ed5165415531adf3a13ad992b54
/frameworks/rs/rsAllocation.cpp
74a827988567a9d65954bb0d825a3ba4a97e2947 14-Jun-2011 Alex Sakhartchouk <alexst@google.com> Allocation copy functions.

Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
/frameworks/rs/rsAllocation.cpp
b81a0eb8180791e4eaab1253b59fa8bd562b046b 03-Jun-2011 Alex Sakhartchouk <alexst@google.com> More work to make libRS buildable on the host.

Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
/frameworks/rs/rsAllocation.cpp
eb4fe18dd88634330f9566cbb9e785d8c7ec5813 27-May-2011 Jason Sams <rjsams@android.com> Start splitting allocation into hal and core.

Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
/frameworks/rs/rsAllocation.cpp
c19ff0177a7a0dadfc01b1990f822354fdc95991 06-May-2011 Alex Sakhartchouk <alexst@google.com> rsLib cleanup

Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
/frameworks/rs/rsAllocation.cpp
c975cf4a71b63ccbd20f1f3b3341c5f2e6025b45 29-Apr-2011 Jason Sams <rjsams@android.com> Pipe rsa function though the RS api table.

Change-Id: Ic8a3bef5d337be1d8fc5ca961eec6be4761701c5
/frameworks/rs/rsAllocation.cpp
186e59154a0fb86e05e283e9c083b69878c06720 26-Apr-2011 Jason Sams <rjsams@android.com> Cleanup rs.spec file and code generator.

Change-Id: I369e36b222ff962fc6835bc550435c2940e2b5fd
/frameworks/rs/rsAllocation.cpp
70b83c111beceaf8fbb700580833e7fec99272cf 06-Apr-2011 Alex Sakhartchouk <alexst@google.com> Modifying libRS internal communication to handle network rendering.

Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
/frameworks/rs/rsAllocation.cpp
7d9c5ffccb7a5e682860f752403e5a03aed587be 01-Apr-2011 Alex Sakhartchouk <alexst@google.com> First draft of fbo in renderscript.
Updating samples and benchmark

Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
/frameworks/rs/rsAllocation.cpp
bad807405b2b9764372af1ad24bcfd4fb1f33d8e 17-Mar-2011 Jason Sams <rjsams@android.com> Start seperating out RS compute implementation. Create hal
layer to seperate from runtime.

Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
/frameworks/rs/rsAllocation.cpp
6a121811e5d2e56e94747b36d15c7613ab2aedd4 02-Mar-2011 Stephen Hines <srhines@google.com> Almost all warnings are now errors in RS build.

Change-Id: Ie22eccdafbc95d1f903c73007dd3fb0ad10af7cc
/frameworks/rs/rsAllocation.cpp
77d9f4bd05b2d2a161f30c12a2248f9c97eaac42 31-Jan-2011 Alex Sakhartchouk <alexst@google.com> Cleaning up the serialization change.
Renaming the define to be more in line with what it does and removing the host stub header file.

Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
/frameworks/rs/rsAllocation.cpp
099d7d33e55afeb3399f6e8cf8d665223ca94939 28-Jan-2011 Alex Sakhartchouk <alexst@google.com> Making sure we can build libRS on the host for serialization.

Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
/frameworks/rs/rsAllocation.cpp
09aeb8ac1b0b976c2de40dd00da0c6841e4e882a 29-Jan-2011 Jason Sams <rjsams@android.com> Clean up RS samples for SDK, bug 2943369
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
/frameworks/rs/rsAllocation.cpp
185b8b01f417488e2fbf6e6c00dfbd3d1d43d98a 16-Jan-2011 Jason Sams <rjsams@android.com> Add some error checking.

Change-Id: I007b1429a64b39ffd5cdef200c295d5a31f95048
/frameworks/rs/rsAllocation.cpp
bcac9340126b4b9fabf2015a2f6a984414d87c21 14-Jan-2011 Jason Sams <rjsams@android.com> Implement sub updates for mipmap levels and cubmaps.

Change-Id: I7c41263a0c1e583574d0c1fcb64b1a0440b5b555
/frameworks/rs/rsAllocation.cpp
236385b73f21ae65e756b9cb5738f1514d95ea3e 12-Jan-2011 Jason Sams <rjsams@android.com> Implement more of copy2DRange*

Change-Id: Id6be481c4abc968df27e5bba1ed044262ec0f293
/frameworks/rs/rsAllocation.cpp
a23715148f7bda74e904fc553b70c9a49fd52a6e 12-Jan-2011 Jason Sams <rjsams@android.com> Cleanup bitmap uploads
Implement standalone mipmap generation.

Change-Id: Ie3a9781bbe50e2f58adca6f184d84fea50e40263
/frameworks/rs/rsAllocation.cpp
f8aafcfad92fcf37d4b55c749601de22441ac9bf 11-Jan-2011 Alex Sakhartchouk <alexst@google.com> Adding ability to load cubemaps from individual faces.

Change-Id: Ic8b6693f625c181e031d4393ba8fac40049da88b
/frameworks/rs/rsAllocation.cpp
9f8bc4fb7e9e48088dc6b0496afb35b34fc4c5af 11-Jan-2011 Alex Sakhartchouk <alexst@google.com> Updating cubemap loading code.

Change-Id: I93bb00e5fd1ccc622d17eba70a510664c2093723
/frameworks/rs/rsAllocation.cpp
4b45b8998e0d7038efaea80c70d23c086640b4e3 29-Dec-2010 Jason Sams <rjsams@android.com> Move adapter2D to a derived class from Allocation.

Change-Id: I7e9d8b0028ba95956476f253da38dbe64564d0da
/frameworks/rs/rsAllocation.cpp
741aac95b777b2e6cb90f484a05e489a79a6ef05 24-Dec-2010 Jason Sams <rjsams@android.com> Fix teardown bug found in books.

Change-Id: I9ac449b644108148b331e0c552f289bf80a07f7e
/frameworks/rs/rsAllocation.cpp
a2aab8be7a980791fc9d4e6c4d050d703b20bcf6 15-Dec-2010 Alex Sakhartchouk <alexst@google.com> Cleanup and refactoring of an earlier cl.

Change-Id: I5e356ed88375a1620846e0c500659e3b7ead5030
/frameworks/rs/rsAllocation.cpp
b7e83bda41e66c966b98935b44140692bfe0c4ca 15-Dec-2010 Jason Sams <rjsams@android.com> Fix mipmap bug introduced with Allocation cleanup.
Add syncAll to rsg headers.

Change-Id: I02c953f3fddab3c6f4e98570cdad45a59711bbde
/frameworks/rs/rsAllocation.cpp
b89b0b7dd8199967502c92fe5c8f57c3bc255e1c 14-Dec-2010 Jason Sams <rjsams@android.com> Add support for non-malloc backed textures.

Change-Id: Iee8e987591caa17b4c8186f8173089925140a568
/frameworks/rs/rsAllocation.cpp
ebc5019400a129b1f1e57bd1fe8200a21f8da00b 14-Dec-2010 Jason Sams <rjsams@android.com> More API updates.

Change-Id: I754dc645ac08fa25019eed8fd8b7b3c47f178ff2
/frameworks/rs/rsAllocation.cpp
837e388700a48084489ba59d1d8cc5ece68b1535 11-Dec-2010 Jason Sams <rjsams@android.com> Remove CreateFromBitmapRef and add
CopyTo(bitmap) replacement.

Change-Id: Ib73fb9f4bfe5f468eaf0f8f1bf68a93759eef00d
/frameworks/rs/rsAllocation.cpp
366c9c85196675437a8dd74c1cf6b63ddbde3d6a 09-Dec-2010 Jason Sams <rjsams@android.com> Allocation API update.

Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
/frameworks/rs/rsAllocation.cpp
25413ecdb9359410652da7b8ef5ec0ce0fe0a640 07-Dec-2010 Jason Sams <rjsams@android.com> API review cleanup.

Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
/frameworks/rs/rsAllocation.cpp
84e4027f83b20af59f5b1fc52be6e45f159d3970 19-Nov-2010 Alex Sakhartchouk <alexst@google.com> Support for cubemaps.

Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
/frameworks/rs/rsAllocation.cpp
afb743aca56c18beb7ab924e75cb6e070ef3e55a 10-Nov-2010 Alex Sakhartchouk <alexst@google.com> Code cleanup to make formatting consistent
across all the renderscript files.

Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
/frameworks/rs/rsAllocation.cpp
b60d757354880b6a711840eb35cc381cf7172246 10-Nov-2010 Jason Sams <rjsams@android.com> Continue error check improvements and write some docs.

Change-Id: I345b08490da21d9ee715ff1ddc80c1a816b579f4
/frameworks/rs/rsAllocation.cpp
dc763f345db3e796efc28dc4b4d8edffda5a803e 27-Oct-2010 Alex Sakhartchouk <alexst@google.com> Adding nvidia extension for limited npot support.
Updating a3d loading to be async.

Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
/frameworks/rs/rsAllocation.cpp
f0c1df480304a72ce41e7d4b088319cbd7f0938a 26-Oct-2010 Jason Sams <rjsams@android.com> Begin adding async allocation creation.

Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8

Implement async bitmap upload and clean up types.

Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
/frameworks/rs/rsAllocation.cpp
225afd317e101a7be5fe02c0a86361146ea89f05 21-Oct-2010 Jason Sams <rjsams@android.com> Fix refcounting bugs where the sys refcount
could be corrupted during async type creation.

Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2

Fix stack object deletion bug.

Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
/frameworks/rs/rsAllocation.cpp
64cd98e83d33011950b88f229d013e06c62b36e9 19-Oct-2010 Alex Sakhartchouk <alexst@google.com> Some cleanup

Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
/frameworks/rs/rsAllocation.cpp
2353ae303868d04e3a26002b2f2dc456c15e8170 15-Oct-2010 Jason Sams <rjsams@android.com> Async type creation.

Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
/frameworks/rs/rsAllocation.cpp
39f2ef6fed00a99c5c389e12c4597884027d4858 11-Oct-2010 Alex Sakhartchouk <alexst@google.com> Update allocation from bitmap.
GL attribute cleanup in type.

Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6
/frameworks/rs/rsAllocation.cpp
96abf819e50b59ba8cf886c13f894633eb0a24ba 05-Oct-2010 Jason Sams <rjsams@android.com> Implement allocation resizing.

Change-Id: Ie38d42419d595cec730a8721cc1321c5edb6b4d6
/frameworks/rs/rsAllocation.cpp
1103d8eade6af4f373ba143752cab2344893babf 30-Sep-2010 Alex Sakhartchouk <alexst@google.com> Adding anisotropic filtering and related samples.

Change-Id: Idb173274417feb5e25bfd64c5e9fa2492a23a17e
/frameworks/rs/rsAllocation.cpp
900f1616bf33c7ba13cf2a737832a95bcd176388 17-Sep-2010 Jason Sams <rjsams@android.com> Cleanup GL setup code and remove legacy 1.1 paths.
Reset pointers to NULL when allocations are unbound.

Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
/frameworks/rs/rsAllocation.cpp
5f0c84cf464dda719cef65fdc9b4d0980e86b98f 31-Aug-2010 Jason Sams <rjsams@android.com> SubElementData data upload functions.

Change-Id: I5f8c738b5457ae7f6085fc4cd331cf3d13ad75cf
/frameworks/rs/rsAllocation.cpp
10e5e570bab66a6cd543c857b26c576795eb240f 12-Aug-2010 Jason Sams <rjsams@android.com> Fix field packer bug for U32 data.
Fix initial refcounts in allocations.
Support null references in allocations.

Change-Id: Ifba6406ba750e69737bd77fa7df5d7fb8e27a5b4
/frameworks/rs/rsAllocation.cpp
e6d9fbc31bef01219cc812e819c505ff01673c6f 11-Aug-2010 Alex Sakhartchouk <alexst@google.com> Adding allocation reference counting to the a3d models.

Change-Id: I225b431d09bfebbebf49df75b7df5e4d5961a564
/frameworks/rs/rsAllocation.cpp
e3929c9bc6f3897e132304faf1b40c3cf1f47474 10-Aug-2010 Jason Sams <rjsams@android.com> Refcounting in allocations.

Change-Id: Ida2dfb404b2cd832e622d981d73a938d5bc5b821
/frameworks/rs/rsAllocation.cpp
d18c744a37441311c9b65254a35db456835adad3 13-Jul-2010 Alex Sakhartchouk <alexst@google.com> Work on synchronizing a3d created files and java layer.
Adding culling to ProgramRaster

Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
/frameworks/rs/rsAllocation.cpp
44b289491a7e7e279b5c2134ea7a29f758df3621 23-Jun-2010 Jason Sams <rjsams@android.com> Fix 32&24 ->16 bit bitmap uploads.

Change-Id: If8c52dd8ff34393c2908516e702a2d5daeb7bbb3
/frameworks/rs/rsAllocation.cpp
b825f67adb5d1e1751fe108e6dbf9c6f2555c283 04-Jun-2010 Alex Sakhartchouk <alexst@google.com> Creating the jni and java layer to integrate a3d

Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
/frameworks/rs/rsAllocation.cpp
fb6b614bcea88a587a7ea4530be45ff0ffa0210e 21-May-2010 Alex Sakhartchouk <alexst@google.com> Removed unnecessary change based on comments.
Now using android utils lib.
collada_to_a3d seems to work with android util libs.
Integrating old changelist
Changing assert to rsAssrt in VertexArray
making context compile.
Change-Id: I33890defa777f09253bfab630d97782359ec49d7

Added serialization code to rsLib
Integrated old changelist
Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311

Added serialization code to rsLib

Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311
/frameworks/rs/rsAllocation.cpp
c1ed589021e280cda59a0521cb96b3e9eb629e1b 11-Mar-2010 Jason Sams <rjsams@android.com> checkpoint animations

Change-Id: I14ef05bf56470565e4b0cb706f9fb358cdcb42ff
/frameworks/rs/rsAllocation.cpp
fa84da2cbc271f855b3b1ec75bb688abdf1d1d01 02-Mar-2010 Jason Sams <rjsams@android.com> Add support for linking to a skia bitmap rather than always copying the data from the bitmap.
/frameworks/rs/rsAllocation.cpp
7fabe1a3bf8de37d86021bb7f744c791db81aed3 24-Feb-2010 Jason Sams <rjsams@android.com> Support defered generation of mipmaps. With this change we support mipmap generation when the texture is uploaded to GL without requiring RS to retain the full chain.
/frameworks/rs/rsAllocation.cpp
2f6d8617769b5fd6287404a31d4e10140ebdcf7e 20-Jan-2010 Jason Sams <rjsams@android.com> Fix RS mipmap generation for 8 bit alpha textures.
/frameworks/rs/rsAllocation.cpp
fdcf7db8edf388d2efe8747ff5979e1fb73b8bd4 07-Jan-2010 Jason Sams <rjsams@android.com> Support npot on es 2.0 HW.
/frameworks/rs/rsAllocation.cpp
d01d970cf5973aa5186cc02c80fb2c143a69b0b1 23-Dec-2009 Jason Sams <rjsams@android.com> Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.

This will break some apps, checkings for other projects will follow to unbreak them.
/frameworks/rs/rsAllocation.cpp
cf4c7c9b2f513be77a5b9853319ca82ac2b128ed 14-Dec-2009 Jason Sams <rjsams@android.com> Implement RS tracked defered texture and buffer object uploads.
/frameworks/rs/rsAllocation.cpp
e6c6078f301a197f310b0ae0c12031188e7c1b6b 24-Nov-2009 Jason Sams <rjsams@android.com> am e4df64bd: am 66358e24: am 9dab667e: Force a crash under conditions where white square bug in all apps is likely to occur.

Merge commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2'

* commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2':
Force a crash under conditions where white square bug in all apps is likely to occur.
13e2634a71a30d289ed8d821aef61c7d1687460e 24-Nov-2009 Jason Sams <rjsams@android.com> Force a crash under conditions where white square bug in all apps is likely to occur.
/frameworks/rs/rsAllocation.cpp
b9db990dfa4ef16cfd2574311683e785ecb90fbd 24-Nov-2009 Jason Sams <rjsams@android.com> am 9f96a37a: am 6a2500a3: am 39dbb099: Merge change I36176536 into eclair

Merge commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0'

* commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0':
Fix ref counting bug that could cause memory leak in allApps.
43999e7b320883dbb6eb306bbe22902ebd2fceba 24-Nov-2009 Jason Sams <rjsams@android.com> Fix ref counting bug that could cause memory leak in allApps.
/frameworks/rs/rsAllocation.cpp
3dd429cc32388ca0c3d7a9368ed2e348b8fdaab1 18-Nov-2009 Jason Sams <rjsams@android.com> resolved conflicts for merge of f6309041 to master
c21cf40f6ae69091bf24f87b5eeabc95e73dd271 18-Nov-2009 Jason Sams <rjsams@android.com> Add support for dumping RS objects to aid in debugging of white blocks bug.
/frameworks/rs/rsAllocation.cpp
49372c4c85037ba14ef1fcac7c30029044a9355f 06-Nov-2009 Jason Sams <rjsams@android.com> am 4909b554: am a8f2c2b4: am 902051df: Merge change I0e27b5ca into eclair

Merge commit '4909b554782c1970bce11fb421b0a06664a25718'

* commit '4909b554782c1970bce11fb421b0a06664a25718':
Fix texture upload bug for narrow texture of less than 32bpp.
5f0b4e19811e7e0ba59888939a3d0761297099fb 05-Nov-2009 Jason Sams <rjsams@android.com> Fix texture upload bug for narrow texture of less than 32bpp.
/frameworks/rs/rsAllocation.cpp
168eecfcdc0b681e2251d443b41f11eb8a6142b8 04-Nov-2009 Jason Sams <rjsams@android.com> am 03fa848a: am ebca5eec: am 83665194: Merge change I9d5e03db into eclair

Merge commit '03fa848afd16ee678e2d04ec824794893f199804'

* commit '03fa848afd16ee678e2d04ec824794893f199804':
Fix RS bugs. We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
e402ed33486730f1d06f080cdfc48132bf612b3a 03-Nov-2009 Jason Sams <rjsams@android.com> Fix RS bugs. We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
/frameworks/rs/rsAllocation.cpp
230c94aa69e78ac4df2045a183f9a3f8c9eb9f60 03-Nov-2009 Jason Sams <rjsams@android.com> am 766df995: am d31b0e44: am 3bbb5e9a: Merge change Ib7a6c434 into eclair

Merge commit '766df995e30caa054cc25068e55f160c765590eb'

* commit '766df995e30caa054cc25068e55f160c765590eb':
Fix some leaks. This fixes the major malloc memory leak in allApps. Still tracking some much more minor issues.
bf3c14ebf456c745c084605dddeda08afdfc7987 02-Nov-2009 Jason Sams <rjsams@android.com> Fix some leaks. This fixes the major malloc memory leak in allApps. Still tracking some much more minor issues.
/frameworks/rs/rsAllocation.cpp
37bf79153942f9cb0ce1ad1a69c4a345fa3c8806 29-Oct-2009 Marco Nelissen <marcone@google.com> am 923f2cf0: am a89a059e: am 04104665: Merge change I911458a0 into eclair

Merge commit '923f2cf0dc15ac2bafa8013b31a722b85a64176b'

* commit '923f2cf0dc15ac2bafa8013b31a722b85a64176b':
Fix x offset for boxed textures
6cd833d831a797ba943dd4b4a2edf04b80a3928a 28-Oct-2009 Marco Nelissen <marcone@google.com> Fix x offset for boxed textures
/frameworks/rs/rsAllocation.cpp
5c3e3bc8af6de6be5e6bd68e1d5168496f99e6cf 26-Oct-2009 Jason Sams <rjsams@android.com> Fix dirty state tracking of allocation attached to ProgramVertex objects when being updated while not attached.
/frameworks/rs/rsAllocation.cpp
e12c1c591b4219e80f29c6c0e0c62c9578b75450 28-Sep-2009 Jason Sams <rjsams@android.com> Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
/frameworks/rs/rsAllocation.cpp
f2649a961db2995e9e24a6c98f8a419f1496c1b7 26-Sep-2009 Jason Sams <rjsams@android.com> Improved object lifecycle tracking and fix leaks.
/frameworks/rs/rsAllocation.cpp
e514b45de8561fbc6ef6770845102ca10b0a69d7 25-Sep-2009 Jason Sams <rjsams@android.com> Improve renderscript context teardown. Track object in the system and then force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
/frameworks/rs/rsAllocation.cpp
8287c0c89bb346a9f251505ac5d5ceb8f449bbaf 24-Sep-2009 Jason Sams <rjsams@android.com> Removed last bits of predefined element types from native code. Predefined types are now constructed at the java layer from standard building blocks.
/frameworks/rs/rsAllocation.cpp
a57c0a72c3b3babc2757d081ff8146ebaa2caf4c 04-Sep-2009 Jason Sams <rjsams@android.com> Remove "predefined" elements from Java layer. Static elements continue to exist but are no longer treated as a special version of element.
/frameworks/rs/rsAllocation.cpp
9397e30ce5fe3f6af9212a93b490836b04fdfffa 28-Aug-2009 Jason Sams <rjsams@android.com> Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
/frameworks/rs/rsAllocation.cpp
707aaf341a4b068e6ccadf923af85acdd85fd775 18-Aug-2009 Jason Sams <rjsams@android.com> Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
/frameworks/rs/rsAllocation.cpp
e579df42e85d9e00f53c42ef1b78dbd209dba989 10-Aug-2009 Jason Sams <rjsams@android.com> Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
/frameworks/rs/rsAllocation.cpp
e5ffb879ae535a899a486285a23bea05e912480f 10-Aug-2009 Jason Sams <rjsams@android.com> Begin implementing SimpleMesh and fix some bugs with refcounting and java object destruction tracking.
/frameworks/rs/rsAllocation.cpp
cfb1d11ce6826fce7241d316d8b7dcab661f63a6 05-Aug-2009 Jason Sams <rjsams@android.com> Remove useless slot from ProgramVertex. Optimize GL state setup.
/frameworks/rs/rsAllocation.cpp
50253dba3d6d1a9ace9df956ddedee7c8b33e951 30-Jul-2009 Jason Sams <rjsams@android.com> Filmstrip work and boxed bitmap load bugfixes.
/frameworks/rs/rsAllocation.cpp
e9f5c53929c6c46872c4e9ba7cc3d0e528f5ad01 29-Jul-2009 Jason Sams <rjsams@android.com> Add new icons and implement text. Fix bug with uploading 8888 bitmaps of non-square size.
/frameworks/rs/rsAllocation.cpp
c9d43db4d216b01b13aebfdb31d5615909591b33 28-Jul-2009 Jason Sams <rjsams@android.com> Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
/frameworks/rs/rsAllocation.cpp
334fd9aeacd4221fc8cd1333b2a34fb3b26b3a0d 03-Jul-2009 Jason Sams <rjsams@android.com> Add support for multitexture and fix allocation ref counting bug in RS. Add plaque to rollo and leave it disabled due to ugly appearance.
/frameworks/rs/rsAllocation.cpp
992a0b70d8fd7a14f0c57bc3c7e16c1f269a6609 23-Jun-2009 Jason Sams <rjsams@android.com> Cleanup logging and fix a startup race condition that manifested on Firestone.
/frameworks/rs/rsAllocation.cpp
1aa5a4eb81b8b88aeb5d2b6f4c47356fd0a62923 23-Jun-2009 Jason Sams <rjsams@android.com> Cleanup includes so Log.h can use the tag. rsUtils.h is the file that should be included everywhere and contain rs global defines.
/frameworks/rs/rsAllocation.cpp
565ac36ee479f9d7b83e2030ac9646a09cb886a1 04-Jun-2009 Jason Sams <rjsams@android.com> Generalize bitmap support and add remaining GL formats.
Fix bug in command fifo looping case.
/frameworks/rs/rsAllocation.cpp
6678e9b2568ad041429a2477177133fe4932159f 27-May-2009 Jason Sams <rjsams@android.com> Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object.
/frameworks/rs/rsAllocation.cpp
326e0ddf89e8df2837752fbfd7a014814b32082c 22-May-2009 Jason Sams <jsams@google.com> Add the Renderscript library. (Not in the build by default yet.)

This library can be used to create animated 3D User Interfaces.

This library is currently under heavy development, so it's not part of
the build by default.

In order to build this library, you must define

BUILD_RENDERSCRIPT=true

in your build environment.

You will also have to manually edit

build/core/prelink-linux-arm.map

And add libRS and libRS_jni at the end like this (exact address may change.)

libRS.so 0x9A100000
libRS_jni.so 0x9A000000
/frameworks/rs/rsAllocation.cpp