History log of /frameworks/rs/driver/rsdAllocation.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9dae48ed019a7bc4e1bd31471540cefcc667fab4 24-Sep-2013 Jason Sams <jsams@google.com> Fix hang in levels.

A call to connect was missing from the binding of a
surfaceTexture to an allocation.

bug 10752757

Change-Id: I2fee9bbfebe8ddc932421f907da3f68749098921
/frameworks/rs/driver/rsdAllocation.cpp
0052f8dcb5ebb5c9205a1d25445629fb5a772380 20-Sep-2013 Jason Sams <jsams@google.com> Fix for YUV bugs

Two issues, YUV intrinsic would repeat u&v for the edge padding
During the support for flexible YUV, u&v got swapped in the accessor.

bug 10826418

Change-Id: I1cf6e27c2114807d6aece4f9dd44257d4f4aa477
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.cpp
2d7d0b276ed4b3cedf72342a4d2ab287d4653ce0 16-Aug-2013 Stephen Hines <srhines@google.com> am 470a2f85: am 10f31703: Fix up dependencies further for RS compatibility library.

* commit '470a2f85d26034771c82de18509f072596d53531':
Fix up dependencies further for RS compatibility library.
10f317038dd53543dc8c7f5afe26a6360adfb5f3 16-Aug-2013 Stephen Hines <srhines@google.com> Fix up dependencies further for RS compatibility library.

Removed cutils dependency from rsdCore.cpp.
Removed system/grapics.h dependency by bringing in the only enum we use.

Change-Id: I0de6c0c2e049c78cc20516cfa2035291da2a0f04
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.cpp
126adc5dee94b157b0040ab3c543af02d4277990 02-Aug-2013 Mathias Agopian <mathias@google.com> separate BufferQueue's producer and consumer sides

Bug: 9265647
Change-Id: I37edf2d973a091c13563a5d019da0122d2000c18
/frameworks/rs/driver/rsdAllocation.cpp
8b9b3aa8e0b92e677c0100ee402a7328fc3ce1c4 03-Aug-2013 Stephen Hines <srhines@google.com> Clean up sloppy switch/case code.

Change-Id: Ic1dcbde50d998005f3e3e623c1b7c30fecdd9a70
/frameworks/rs/driver/rsdAllocation.cpp
3cec9065841eeecb38aa412b8aeef6bca58c5a07 27-Jul-2013 Mathias Agopian <mathias@google.com> remove some old pixel formats

Change-Id: I314d3c49e78f6054e0ca88a614813e46567fda78
/frameworks/rs/driver/rsdAllocation.cpp
d23255813297fea614f17f4b0ecbd4f99430c67c 13-Jul-2013 Mathias Agopian <mathias@google.com> always pass the BufferQueue explicitely to consumers

Change-Id: I422e1a9d29e375cc09490097ad118ac66c401504
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.cpp
c88bcef407e94afe33f5d26a0644a7116926b5ee 14-May-2013 Sakshi Agrawal <sakshia@codeaurora.org> Don't call free on MallocPtr not from Malloc

Change-Id: I9af8b3cd4cc98e4238c08bf5e20be615c9c72ff0
/frameworks/rs/driver/rsdAllocation.cpp
aafa7a84e3158042ca456b1f3329c2890c72d53f 09-May-2013 Tim Murray <timmurray@google.com> Fix IO_OUTPUT teardown issue.

bug 8891075

Change-Id: I6ec8d9a7db6def3db4111923d366f00f329cdacf
/frameworks/rs/driver/rsdAllocation.cpp
4a17f289f611cb86e2f140a94cafdafea3f54d4b 29-Apr-2013 Jason Sams <jsams@google.com> Remove unnecessary set_buffer_count

bug 8669032

The extra set generates errors when the producer node changes
the number of buffers needed by the system.

Change-Id: Ied0f918a09f08386d16ec4266454af6af120fac4
/frameworks/rs/driver/rsdAllocation.cpp
4961cceab2b71bf0ab59e1b66a7559f67ed28781 12-Apr-2013 Jason Sams <jsams@google.com> USAGE_IO notifications for new buffers.

bug 8566866

Change-Id: I49767ee902400f09b9b1c174e0fecac5b41e5611
/frameworks/rs/driver/rsdAllocation.cpp
2df036b89596698b66ebddfead0eeb08360df5f8 10-Apr-2013 Jason Sams <jsams@google.com> Merge "Add texturing support for USAGE_SHARED." into jb-mr2-dev
ba24d08b4228fd1e35cd79319f15fddc11f24a49 10-Apr-2013 Tim Murray <timmurray@google.com> Add texturing support for USAGE_SHARED.

bug 8567006

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

Remove resize2d.

bug 8567058

Change-Id: Ib143b7a417c7db88aa8da8714a63e0ee6091269a
/frameworks/rs/driver/rsdAllocation.cpp
0d44f12aaeb34f7ed6d2a9acafac459646773e47 04-Apr-2013 Eino-Ville Talvala <etalvala@google.com> Use async CpuConsumer for IO_RECEIVE, and rework buffer acquire.

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

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

Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
/frameworks/rs/driver/rsdAllocation.cpp
9d8e5af146326250ebc1e9b3c93402bd0e7669bb 28-Feb-2013 Jason Sams <jsams@google.com> Fix bug introduced with IO_INPUT.

YUV allocations were calculating the wrong allocation size.

Change-Id: Iecca4f1d300aca93a34b744d8589e53105109480
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.cpp
733396b67724162844ea2785c7495115dc5ee8d8 22-Feb-2013 Jason Sams <jsams@google.com> Implement usage IO INPUT

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

Change-Id: I844051ee1be1462e497d238f5460f301be1aaa1d
/frameworks/rs/driver/rsdAllocation.cpp
c2cfe6abfc74befbaa4d2ca09024a27fbfb1f515 15-Feb-2013 Tim Murray <timmurray@google.com> Add alignment requirements with USAGE_SHARED.

Change-Id: I844e37ad29a893b6e35834588a5d80e52d8bf61b
/frameworks/rs/driver/rsdAllocation.cpp
94999c3c7e3dcb6b6c0a9fe5785a0d3216357b0e 06-Feb-2013 Stephen Hines <srhines@google.com> Fix stride 16-byte alignment issues in RS.

Change-Id: I549d3acd4ebd921c36be3de6d2734bb89ec8a50e
/frameworks/rs/driver/rsdAllocation.cpp
10c9dd709f8b52213c6792961afa9c5de807db5c 01-Feb-2013 Jason Sams <jsams@google.com> Release the surface texture object on allocation destruction.

Change-Id: I0eff42377a36d29cc64a1c23b8263e6f46b43523
/frameworks/rs/driver/rsdAllocation.cpp
c0baffe7c9020f32b948dd46789590cf5dc3b988 15-Jan-2013 Stephen Hines <srhines@google.com> Merge "Align all allocations to a 16-byte boundary."
2913f381a554c28abb44f49eddd1ee4c68a72578 15-Jan-2013 Stephen Hines <srhines@google.com> Align all allocations to a 16-byte boundary.

This change also fixes an issue in the Blur intrinsic, where we mis-cast a
float array to float4 (and thus encountered some new alignment errors with
the updated LLVM).

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

Change-Id: I21a47c745a2f8435af4f37ec0ad624002f3db555
/frameworks/rs/driver/rsdAllocation.cpp
e7d4df3dd02ec7505a2d83348af16e327d1fce3a 28-Dec-2012 Jason Sams <jsams@google.com> Merge "Fix 3d Allocation support"
f2b611e26db1c83ad5e0e0cdebcfa639b03fba75 28-Dec-2012 Jason Sams <jsams@google.com> Fix 3d Allocation support

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

Change-Id: Ieedcdec03ccb05cac68cbebbd398e07cb885f4d3
/frameworks/rs/driver/rsdAllocation.cpp
38ac5d4092f32b08451c73ecabcf2ab21aef15d5 19-Dec-2012 Tim Murray <timmurray@google.com> Merge "Add USAGE_SHARED to driver."
9e2bda58db9e6427a1640ea302d4df079ffa0252 18-Dec-2012 Tim Murray <timmurray@google.com> Add USAGE_SHARED to driver.

Change-Id: Ie04f8ee2d6080729660dbe82b3a09af5cd40e239
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.cpp
f79af7e3dfd48b8fda6e4f342809a4a74cb187a5 17-Dec-2012 Stephen Hines <srhines@google.com> am b53dc856: am 02437a5c: Merge "Remove dangling ptr in rsdAllocationInit"

* commit 'b53dc856325cfb12401abef33cc7b3b439c3152b':
Remove dangling ptr in rsdAllocationInit
ed419f37009ff5375293c198268c381460efa0f2 16-Dec-2012 You Kim <you.kim72@gmail.com> Remove dangling ptr in rsdAllocationInit

Possible dangling ptr in exceptional case.

Change-Id: I4f5353b7709b215d4d79748c60668fdfadaf048f
/frameworks/rs/driver/rsdAllocation.cpp
20c535f54fb41348a96af98079ad377d7a310c8a 07-Dec-2012 Stephen Hines <srhines@google.com> Skip the memcpy if src/dst are the same.

This is an optimization to go with our shared Bitmap storage.

Bug: 7256604
Change-Id: I7e3a40ba434c1af92f3c87f61537fc4d9d87c28c
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.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/driver/rsdAllocation.cpp
709a0978ae141198018ca9769f8d96292a8928e6 16-Nov-2012 Jason Sams <jsams@google.com> Separate CPU driver impl from reference driver.

Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
/frameworks/rs/driver/rsdAllocation.cpp
dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48 17-Sep-2012 Jason Sams <jsams@google.com> Add backed for script groups.

Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186
/frameworks/rs/driver/rsdAllocation.cpp
463bfced38d97605dd8403a5e9435d9ad3394e35 21-Aug-2012 Jason Sams <jsams@google.com> Fix stale realloc pointers.

bug 6886608

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

Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.cpp
cd919a177f2b25af1b304dd4d79f0a768fed342f 14-Jun-2012 Jamie Gennis <jgennis@google.com> Update ANativeWindow clients for sync

This change updates the uses of ANativeWindow to use the new ANW functions that
accept and return Sync HAL fence file descriptors.

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

Change-Id: I6525877cb93fe0f750339a8d7a747c7f5ce9a2f7
/frameworks/rs/driver/rsdAllocation.cpp
0dc66936c02f285a242b6a68166d6f03618a0f07 11-Apr-2012 Jason Sams <jsams@google.com> IO_OUTPUT + Rendertarget implemetation.

Change-Id: Ia402828d1847675304ce9ed049af3a35951f734f
/frameworks/rs/driver/rsdAllocation.cpp
f22c8ace148b69847aaf5ad1829e9ec95a44df6c 04-Apr-2012 Jason Sams <jsams@google.com> Add support for stride != width.

BUG=6111812

Change-Id: I419dbf90f94ca54b4189fa6e62a2449efd893676
/frameworks/rs/driver/rsdAllocation.cpp
b322033c13487a174bb9c26466e9684d1ff4de8d 02-Apr-2012 Jason Sams <jsams@google.com> Implement IO_OUTPUT + SurfaceTexture

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



Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
/frameworks/rs/driver/rsdAllocation.cpp
254305944bf430eae672507546df368e97d50759 16-Feb-2012 Alex Sakhartchouk <alexst@google.com> Merge "Fixing uint32 size_t mismatches."
7ac2a4dda4d20ca1f1b714e129a3a08f63178c18 15-Feb-2012 Jason Sams <rjsams@android.com> Beging IO stream out from allocation to surface texture.

Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
/frameworks/rs/driver/rsdAllocation.cpp
c794cd56e46408e08862c42a022090e323684197 13-Feb-2012 Alex Sakhartchouk <alexst@google.com> Fixing uint32 size_t mismatches.

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

Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.cpp
179e9a457095fea4c9e6d366c269754b882d05dd 24-Nov-2011 Jason Sams <jsams@google.com> Private API to support MFF transition.

Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
/frameworks/rs/driver/rsdAllocation.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/driver/rsdAllocation.cpp
2382aba4a55c6ae74789c478eead8fbd96593321 14-Sep-2011 Jason Sams <rjsams@android.com> Add RS watchdog.

Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6
/frameworks/rs/driver/rsdAllocation.cpp
0a44ab45c739f00f457874418e7384492e4df979 24-Jun-2011 Stephen Hines <srhines@google.com> Remove verbose logging, update test app and docs.

Change-Id: I6659c5e51a747011239128dc2682a5d78aecfa26
/frameworks/rs/driver/rsdAllocation.cpp
a94952436aeb251f587c1bccdf94c7f75285dfe2 16-Jun-2011 Alex Sakhartchouk <alexst@google.com> Adding ability to read back fbo data to renderscript

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

Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
/frameworks/rs/driver/rsdAllocation.cpp
a614ae175bbf97201b5e18984d814a1d3e86faa8 27-May-2011 Jason Sams <rjsams@android.com> Cleaup of rsComponent to remove GL types.

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

Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
/frameworks/rs/driver/rsdAllocation.cpp