History log of /frameworks/rs/rsAllocation.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
85d0cb112010781ad07b5979f0824b7f0ae3987e 18-Mar-2016 Yang Ni <yangni@google.com> Separate libRS.so into public and internal libs

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
/frameworks/rs/rsAllocation.cpp
cc1b09fcd329392b0b4998963d2dfa83c6288173 08-Mar-2016 Yang Ni <yangni@google.com> Revert "Added a flag to APIs for rsObj creation"

This reverts commit 04dcca95461a2ffab4ce5209a453b752ab5c606b.

Change-Id: I0016bbff79626b033201a88f466cbb2d60f86717
/frameworks/rs/rsAllocation.cpp
04dcca95461a2ffab4ce5209a453b752ab5c606b 11-Dec-2015 Yang Ni <yangni@google.com> Added a flag to APIs for rsObj creation

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)
/frameworks/rs/rsAllocation.cpp
754746883bd46ec2fbdd23572cb6c90ab589346c 27-Oct-2015 Miao Wang <miaowang@google.com> Add multi-frame support to RenderScript:

Bug: 23535524

- Allow multi-consumer for a single BufferQueue with specifying the
the number of buffers need.
- Allow USAGE_IO_INPUT allocations share the same BufferQueue with
an existing Allocation.
- Individual allocations can still call ioReceive independently
- Add getTimeStamp() for multi-frame processing.

Change-Id: Ia8f48f5fc50d578c68306bb32f0eac9636f5f32a
/frameworks/rs/rsAllocation.cpp
47a5881b8f85d65c74f2471fe6261d4cdb3dce5e 24-Jul-2015 Miao Wang <miaowang@google.com> Add AllocationCreateStrided to support lib CPU driver

- Able to create Allocations with arbitrary alignment requirement,
making Incremental Intrinsic Support able to run with different
native GPU RS runtime.
- Make compat mode CPU driver using an additional rs_compat.spec.
- Add a compat mode only USAGE_INCREMENTAL_SUPPORT.
- Add AllocationCreateStrided() to take an Alignment requirement (power
of 2). Only enbled when detect USAGE_INCREMENTAL_SUPPORT.

Change-Id: I66f913c3a2474f93af5a244c0c84460a7a395e71
/frameworks/rs/rsAllocation.cpp
f5a7fd5b5174909cda5b66b1c66011655b2080c6 20-May-2015 Jason Sams <jsams@google.com> Merge "Notify drivers when user get a pointer to allocation"
a48d45ea774a17a9cdce320ce569454983c821e1 19-May-2015 Jason Sams <jsams@google.com> Delete dead code

Change-Id: I2830eaed57213f9fc00cac5b9a689b6c7b93341f
/frameworks/rs/rsAllocation.cpp
8ce12815675bfaeb2768959b092d6db293ba36c5 19-May-2015 Jason Sams <jsams@google.com> Notify drivers when user get a pointer to allocation

Requested by vendor for driver bring-up.

bug 20894664

Change-Id: I7a1540236e557ef42ffde1c832b5d5ef36b91c96
/frameworks/rs/rsAllocation.cpp
f82b626e0479ce4a23ebff1fc088e073dcabaa30 12-May-2015 Jason Sams <jsams@google.com> Add USAGE_OEM

Allow OEMs to pass data from other HW blocks via internal
extension.

Change-Id: I78c19f5eec462aff7d8a5408f2f16cfc9b78c036
/frameworks/rs/rsAllocation.cpp
43574b617762ee44bc46cb7e4a0d75786b80023f 16-Apr-2015 Jason Sams <jsams@google.com> Cleanup allocation constructor

Change-Id: Id48e6c24cef810705811ba799350c3f88c19018a
/frameworks/rs/rsAllocation.cpp
906e23b27b260c197e3de6daa35d83afa1f72c1a 09-Mar-2015 Jason Sams <jsams@google.com> am 9a1f726c: Merge "Fix AllocationAdapter offseting"

* commit '9a1f726cb7fbdb8ac26e3f43bea88082e8c0c4cb':
Fix AllocationAdapter offseting
9a1f726cb7fbdb8ac26e3f43bea88082e8c0c4cb 09-Mar-2015 Jason Sams <jsams@google.com> Merge "Fix AllocationAdapter offseting"
442b7ff3ca1dffd1555d34e0afc1bdbb6387e8e2 07-Mar-2015 Jason Sams <jsams@google.com> Fix AllocationAdapter offseting

Change-Id: I486d70067a36bf9dbf7ade43475360ac937327e0
/frameworks/rs/rsAllocation.cpp
4e020905e6f2656860733d782a3a74193ed73604 24-Feb-2015 Miao Wang <miaowang@google.com> am ceb8d321: Merge "Fix the bug for AllocationRead() that cannot handle 3d Allocation correctly. Add the following functions to make it symmetric for read and write."

* commit 'ceb8d321879ba542b708910f9c835bc94eb6c4c8':
Fix the bug for AllocationRead() that cannot handle 3d Allocation correctly. Add the following functions to make it symmetric for read and write.
cc8cea7477352898921044483a6c803e25d02665 20-Feb-2015 Miao Wang <miaowang@google.com> Fix the bug for AllocationRead() that cannot handle 3d Allocation
correctly.
Add the following functions to make it symmetric for read and write.

- AllocationElementData
- AllocationElementRead
- Allocation3DRead

Change-Id: I8c89b5e3474c4c3c70e9795843a76e61f1f90f6a
/frameworks/rs/rsAllocation.cpp
5b15e9248ea9740d3651f1aff4bd9eae21cfd2c7 20-Feb-2015 Yang Ni <yangni@google.com> am e9c79f66: Merge "Revert "Replaced android::Vector with std::vector.""

* commit 'e9c79f66478170e4e45e49c71f5e9324842916cf':
Revert "Replaced android::Vector with std::vector."
b8353c5943f4038fd7f08db3d958390ce9418798 15-Feb-2015 Yang Ni <yangni@google.com> Revert "Replaced android::Vector with std::vector."

b/19148482

This reverts commit 93d6bc872b7d9fba63abfa7513d56b38d9c3d371.

I also made some changes to Make it work with HEAD.

Change-Id: I5e516976ec1d85ffe1cf388c01795348a9441982
/frameworks/rs/rsAllocation.cpp
cfea6c13075aa255712e5a09a54eccbc84b0b122 09-Feb-2015 Jason Sams <jsams@google.com> Implement arrays and allocation adapters

WIP: now passing basic tests

(cherry picked from commit bc9dc27b84f4e5c72d4dbe8a8e01af87dd780f79)

Change-Id: I1ddda310152140c7d7225ba42ef48ff93b30266d
/frameworks/rs/rsAllocation.cpp
bc9dc27b84f4e5c72d4dbe8a8e01af87dd780f79 09-Feb-2015 Jason Sams <jsams@google.com> Implement arrays and allocation adapters

WIP: now passing basic tests

Change-Id: I3d8c1ab12975428def225f88a04e24a4158ca69c
/frameworks/rs/rsAllocation.cpp
1c19f05bd67126598ae51f1cf4ef5e906039299f 10-Nov-2014 Jason Sams <jsams@google.com> Add gralloc flags to support HW driver

We were not setting the right gralloc flags with
USAGE_IO_INPUT. This CL allows the driver to add flags
and always sets the RS bit.


Change-Id: I1807bc071da201923b6e0e714d7ab49ff0d2ef51

Conflicts:
rsAllocation.cpp
/frameworks/rs/rsAllocation.cpp
badcc003c26a552e99fc47716b2d27c7281feda1 07-Nov-2014 Dan Stoza <stoza@google.com> am f0d7aa28: Add a BufferItem parameter to onFrameAvailable

* commit 'f0d7aa28bd4620030d9c54d983f607e3b0051df0':
Add a BufferItem parameter to onFrameAvailable
f0d7aa28bd4620030d9c54d983f607e3b0051df0 04-Nov-2014 Dan Stoza <stoza@google.com> Add a BufferItem parameter to onFrameAvailable

Passes the BufferItem for the queued buffer to the onFrameAvailable
callback so the consumer can track the BufferQueue's contents.

Bug: 18111837
Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
/frameworks/rs/rsAllocation.cpp
7641f491172fdc4b19b103c9b101682218d266d8 24-Oct-2014 Jason Sams <jsams@google.com> Merge commit 'e49da13c' into manualmerge

Conflicts:
rsAllocation.cpp

Change-Id: I6ceade380f0415efe41d06435f426743cf410a6d
e49da13c33086cf23fb750568348d114c4a10ff8 24-Oct-2014 Jason Sams <jsams@google.com> Add gralloc flags to support HW driver

We were not setting the right gralloc flags with
USAGE_IO_INPUT. This CL allows the driver to add flags
and always sets the RS bit.

bug 18057326

Change-Id: I1807bc071da201923b6e0e714d7ab49ff0d2ef51
/frameworks/rs/rsAllocation.cpp
25e7f8bfe34f8c3f6c32f2c3825a294a4c8cdc96 12-Sep-2014 Stephen Hines <srhines@google.com> am af7373fe: Return a void* from AllocationGetPointer!

* commit 'af7373fe53edba115746430553e8edfddd03ae9e':
Return a void* from AllocationGetPointer!
af7373fe53edba115746430553e8edfddd03ae9e 11-Sep-2014 Stephen Hines <srhines@google.com> Return a void* from AllocationGetPointer!

Bug: 16846318

We mistakenly used a function that returned void with a function pointer
that expected to return back a void pointer. This leads to undefined
behavior, since it is unknown what value will be present in the space
where the return value would appear. Under the 64-bit C++ tests, this
was returning invalid pointers (due to optimizations moving things around).

Change-Id: Iea75a29212a06bbacc2fc523f9c43b3efe471a31
/frameworks/rs/rsAllocation.cpp
61db21cef81cbc8439b34a8f1d32952339ffc190 22-Aug-2014 Stephen Hines <srhines@google.com> resolved conflicts for merge of 81cfa2c5 to lmp-dev-plus-aosp

Change-Id: Ia3a7f084693825d4e46a4864788332a7d039d38f
44bef6fba6244292b751387f3d6c31cca96c28ad 12-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/rsAllocation.cpp
569b09b34243f71dd6d81ce637a92a0a707adbe4 21-Aug-2014 Stephen Hines <srhines@google.com> am 3fa79f84: Merge changes I4c6abd96,I9bcf36d0

* commit '3fa79f84fcce0b5f59498980a2bb8e355cf53cd4':
Replaced android::Vector with std::vector.
Adjust to handle the change to std::vector in libbcc.
e4ed0873cda11a0442176027f9c599d9e41538e1 19-Aug-2014 Tim Murray <timmurray@google.com> Fix IO_INPUT on 64-bit.

bug 16846318

Change-Id: I775ede4f919cc8ac798ec0a1e6a794b36217e693
/frameworks/rs/rsAllocation.cpp
93d6bc872b7d9fba63abfa7513d56b38d9c3d371 29-Jul-2014 Chris Wailes <chriswailes@google.com> Replaced android::Vector with std::vector.

Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
/frameworks/rs/rsAllocation.cpp
eb09f8b6bc156b7acd0729d877b4414967c55620 09-Jul-2014 Tim Murray <timmurray@google.com> am 6c6f7539: am 8c8eb23d: Merge "Add 64bit large object support"

* commit '6c6f7539377ec779a9ea36bfcc5859ad41f6e677':
Add 64bit large object support
4daa25749173cde4db977da44b43e94354a59b33 09-Jul-2014 Stephen Hines <srhines@google.com> am 09e1490a: am db69bf01: Merge "Adds support for multi-input kernels to Frameworks/RS."

* commit '09e1490af01ecd12cf19ee1b507cea860814470b':
Adds support for multi-input kernels to Frameworks/RS.
4b3c34e6833e39bc89c2128002806b654b8e623d 11-Jun-2014 Chris Wailes <chriswailes@google.com> Adds support for multi-input kernels to Frameworks/RS.

This patch modifies Frameworks/RS in the following ways:
* Adjusted the data-layout of the C/C++ version of RsForEachStubParamStruct to
accommodate a pointer to an array of input allocations and a pointer to an
array of stride sizes for each of these allocatoins.
* Adds a new code path for Java code to pass multiple allocations to a RS
kernel.
* Packs base pointers and step values for multi-input kernels into the new
RsForEachStubParamStruct members.

Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
/frameworks/rs/rsAllocation.cpp
a36c50a6ab87f4c9049318d4c6c8ec7b0a1e6e12 17-Jun-2014 Jason Sams <jsams@google.com> Add 64bit large object support

Add HAL hooks for filling in LO fields.

Change-Id: Ib9bdee714a062de519d2a9708c1016404a1b11a4

Conflicts:
driver/rsdBcc.cpp
driver/rsdCore.cpp
rsAllocation.h
rs_hal.h
/frameworks/rs/rsAllocation.cpp
03c155b6d20e99ee5c7abaae69a10c694106a83e 12-Mar-2014 Dan Stoza <stoza@google.com> Remove deprecated BufferQueue constructor

Bug: 13415624
Change-Id: I0df99d3dd649a3df3326bb4331247341714d596a
/frameworks/rs/rsAllocation.cpp
0e61af91ecd0d1276ddfc1c43bd61f6587e7026b 26-Feb-2014 Tim Murray <timmurray@google.com> Fix build break.

Change-Id: I39a3ef748ef7af3ad4c96ed6da1d0c720d33ea23
/frameworks/rs/rsAllocation.cpp
a47447424853775e6ebc5d20680388eeb37b1f77 26-Feb-2014 Tim Murray <timmurray@google.com> Fix build break.

Change-Id: I39a3ef748ef7af3ad4c96ed6da1d0c720d33ea23
/frameworks/rs/rsAllocation.cpp
b8a94e26c0a5e8f58d5b6ed04e46b411e95b77a4 25-Feb-2014 Jason Sams <jsams@google.com> Add getPointer for USAGE_SHARED allocations.

Change-Id: I13a2af09bbbeec6cc6131b935979ac21c02820be
/frameworks/rs/rsAllocation.cpp
a273793e0958b0bde10f83725fbe778f3b92374f 14-Jan-2014 Jason Sams <jsams@google.com> Return errors to user when copy fails.

Currently error is logged but often lost in the spam.

Change-Id: I6f03ea791b6e6a35b82bdf938b577fbb6dcacb6c
/frameworks/rs/rsAllocation.cpp
8f615d682f9e7e2cd4de2e4478e0e76fc359922c 20-Dec-2013 Stephen Hines <srhines@google.com> Replace "mips" with "mipmaps" since the MIPS gcc compiler defines mips to 1.

Change-Id: Ia48ffa714ff9e3a2e3b64ea1edd11ad0f6bf354a
/frameworks/rs/rsAllocation.cpp
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