c3e57650b69a2c57152d70cbf76398cc1b2313df |
|
24-Mar-2017 |
Miao Wang <miaowang@google.com> |
Allow GPU memory access for USAGE_IO Allocations. - USAGE_IO_OUTPUT will use ANativeWindow APIs to deqeue and queue buffers. - USAGE_IO_INPUT will use AImage_getHardwareBuffer to get the handle to hardware buffers. Bug: 34396220 Bug: 36869607 Test: mm, boot sailfish, CTS pass and ImageProcessingJB works fine. Change-Id: I71bdc21ed18102026cd842364145fd94666a0faf
/frameworks/rs/rsAllocation.h
|
59f6142d7657e43b4d21e077a28387431db02edf |
|
14-Mar-2017 |
Miao Wang <miaowang@google.com> |
Remove libgui and libui dependencies for vendor libs. - This CL removes dependencies on libgui, libui and other remaining dependences, if build with RS_VENDOR_LIB defined. - We cannot remove the dependencies for platform RenderScript CPU fallback, because of the legacy graphics APIs. - Vendor drivers will be built without graphics APIs, the reference build file will be posted in another CL. Bug: 34396220 Test: mm, CTS test pass with the vendor libs. Change-Id: If90b600a58d0f81488f56a1e21ca332f1a235162
/frameworks/rs/rsAllocation.h
|
82e135c4bbe18855d8ed02632bb074f8da0b96e0 |
|
28-Feb-2017 |
Miao Wang <miaowang@google.com> |
Remove libutils.so dependency from libRSDriver, libRSCpuRef, and most parts of libRS_internal. NOTE: we're resolving dependencies to provide a model for vendors. For us, all this code is above the HAL, thus the dependencies are acceptable; whereas for vendors, their equivalent of this code is below the HAL, and so the dependencies are not acceptable. This CL resolves the libutils dependency by: - Implement the timings functions in android::renderscript namespace using NDK APIs, instead of using libutils counterparts. - Replace android::Vector and android::String8 by std::vector and std::string. - PROPERTY_VALUE_MAX is replaced as PROP_VALUE_MAX. This CL didn't resolve the libutils dependency of rsFont.cpp and rsDebugger.cpp in libRS_internal: The dependent functionality in rsDebugHelper.h is off by default, and only intended for use during development; and rsFont.cpp is part of graphics API which is not implemented below the HAL and is not used as a model by vendors. Additionally, this CL fixed the bug that mNodes was sorted in a decreasing order. Nodes in ScriptGroup should be executed in ascending order. The bad sort was only for support lib; so there was a previously-unknown bug in support lib implementation of ScriptGroup. Background: libutils contains a collection of things like Vector, String8, CallStack. It served the purpose similar to a STL library, when there was no stable STL implementation available in Android. And most importantly, it is not part of NDK. Support lib used to use our own implementations of android::Vector and android::String8, because it can only depend on NDK, similarly for the timing related functions. As part of the Treble requirements, native RS, including vendor version libRS_internal, libRSDriver, libRSCpuRef could only depend on NDK too. So we need to break the dependency on libutils. And since we now have reasonable support of STLs, we should use that instead. Bug: 34396220 Test: mm, and all CTS tests pass on Bullhead; RsTest and RSTest_CompatLib (both native and compat path) also pass. Change-Id: Ib9a37d16235c1dcd0f5bae3b95c374e394483c91
/frameworks/rs/rsAllocation.h
|
f750c530392a2895cb4b7e5b5e5e5259925b2015 |
|
04-Mar-2017 |
Miao Wang <miaowang@google.com> |
Implement USAGE_IO_INPUT related functions on top of NDK. - Use AImageReader and AImage as the BufferQueue consumer. - Bump RS_HAL_VERSION to 200 to prevent old GPU drivers to load, as the structure of rsAllocation.h is modified. It is no longer safe to allow the legacy drivers to access Allocation objects via out-of-date header. Bug: 34396220 Test: mm, CTS tests pass. Change-Id: I0c9df2990ad4842719a24e23e69e007059e1c776
/frameworks/rs/rsAllocation.h
|
2f0aa81ec84c3cc3acac82f4e57e135f2b8a2414 |
|
28-Feb-2017 |
Miao Wang <miaowang@google.com> |
Remove RS_SERVER macro in rsAllocation.h Bug: 35473587 Test: build and CTS tests pass Change-Id: I26ad891dcf1effcc0e65ad1277074723b6c4f35b
/frameworks/rs/rsAllocation.h
|
62237219e567b9f972c86e7ca4e96f9b3d5ad4de |
|
28-Feb-2017 |
Miao Wang <miaowang@google.com> |
Remove RS_SERVER macros and references to unused headers. - The RS_SERVER macros were intended to have a version of RenderScript running on the desktop. It has not fully worked for a very long time. Bug: 35473587 Test: build and CTS tests pass Change-Id: I0da3fc9d4601951442384d05f9dbecaeddeff8cc
/frameworks/rs/rsAllocation.h
|
7974fc03e11f3a8dd40f794f3b33b4889483090c |
|
09-Feb-2017 |
Rahul Chaudhry <rahulchaudhry@google.com> |
frameworks/rs: fix typos and clang-tidy warnings This change fixes a few typos and clang tidy warnings related to the "llvm-namespace-comment" checks. Bug: 26936282 Test: WITH_TIDY=1 WITH_TIDY_CHECKS="llvm-namespace-comment" mm Change-Id: Ic65182e5b4999fbd48d6a8ad7172e4bfeeb541f4
/frameworks/rs/rsAllocation.h
|
10ab8bb0fa510bdb577adce5e67b6bf35882a9dd |
|
01-Jul-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix google-explicit-constructor warnings in frameworks/rs. * Declare explicit conversion constructors. * Add NOLINT to implicit conversion constructors. Bug: 28341362 Test: build with clang-tidy Change-Id: If5114de668c1c8946b8fca9cee4b2b14f95be5f1
/frameworks/rs/rsAllocation.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
50d707b073cf0c3d73c3dca7e050dcabf295ea84 |
|
21-Jan-2015 |
Jason Sams <jsams@google.com> |
am 365357ac: Merge "Cleanup of ForEachParams in cpu ref" * commit '365357ac91d52c385e5af38ca6fe24d853f0ddb1': Cleanup of ForEachParams in cpu ref
|
c0d68470b978a79ce024fde56f23ea3690603ccd |
|
20-Jan-2015 |
Jason Sams <jsams@google.com> |
Cleanup of ForEachParams in cpu ref Change-Id: I8cc51915b2a605c240d98e3010619b741a13bae2
/frameworks/rs/rsAllocation.h
|
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.h
|
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.h
|
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.h
|
93d6bc872b7d9fba63abfa7513d56b38d9c3d371 |
|
29-Jul-2014 |
Chris Wailes <chriswailes@google.com> |
Replaced android::Vector with std::vector. Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
/frameworks/rs/rsAllocation.h
|
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.h
|
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.h
|
b8a94e26c0a5e8f58d5b6ed04e46b411e95b77a4 |
|
25-Feb-2014 |
Jason Sams <jsams@google.com> |
Add getPointer for USAGE_SHARED allocations. Change-Id: I13a2af09bbbeec6cc6131b935979ac21c02820be
/frameworks/rs/rsAllocation.h
|
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.h
|
16647800aaaf6c8a7f8259e97f2200bec2cc0a43 |
|
16-Aug-2013 |
Stephen Hines <srhines@google.com> |
Fix RS build. ANativeWindowBuffer is not available in the NDK, so make it opaque. This also fixes a broken merge of mine. Change-Id: I6f07776ec2b6b147edd9e70646d71581d01a93a6
/frameworks/rs/rsAllocation.h
|
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.h
|
3bbc0fd40264ddae1592706d9023865b7b3e3195 |
|
09-Apr-2013 |
Jason Sams <jsams@google.com> |
Add 3D allocation copies. Remove resize2d. bug 8567058 Change-Id: Ib143b7a417c7db88aa8da8714a63e0ee6091269a
/frameworks/rs/rsAllocation.h
|
34689388556747b52c3c2f1c894929fb44580898 |
|
11-Mar-2013 |
Tim Murray <timmurray@google.com> |
Add custom allocator support for Allocation objects. Change-Id: Iab546455354c2ee72797658fdcd49c90a5893527
/frameworks/rs/rsAllocation.h
|
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.h
|
733396b67724162844ea2785c7495115dc5ee8d8 |
|
22-Feb-2013 |
Jason Sams <jsams@google.com> |
Implement usage IO INPUT Change-Id: I4dedd697ecd7719ba307ac393aca5abd67128e0c
/frameworks/rs/rsAllocation.h
|
bc0ca6ba4e31239bf77060578d0bdf1a10e04168 |
|
16-Feb-2013 |
Jason Sams <jsams@google.com> |
Support typed YUV allocations Change-Id: I844051ee1be1462e497d238f5460f301be1aaa1d
/frameworks/rs/rsAllocation.h
|
a572aca4eb4ddb32c10baa1f529431cfefd756b8 |
|
09-Jan-2013 |
Jason Sams <jsams@google.com> |
Add support for YUV allocations. Change-Id: I21a47c745a2f8435af4f37ec0ad624002f3db555
/frameworks/rs/rsAllocation.h
|
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.h
|
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.h
|
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.h
|
709a0978ae141198018ca9769f8d96292a8928e6 |
|
16-Nov-2012 |
Jason Sams <jsams@google.com> |
Separate CPU driver impl from reference driver. Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
/frameworks/rs/rsAllocation.h
|
509ea5c832a865bc9083d53f1f058377a689bab3 |
|
13-Nov-2012 |
Tim Murray <timmurray@google.com> |
Add copy1DRangeToUnchecked. Change-Id: Iac550920b8e274819e43aca867dedc66eff47dcf
/frameworks/rs/rsAllocation.h
|
6146238d58f914547c89b3a8cda9cccaa34f84a0 |
|
29-Aug-2012 |
Jason Sams <jsams@google.com> |
Cache element type in allocation hal. Change-Id: I7351eab942dd8d46b8a4aac1f501f33d4d2e463b
/frameworks/rs/rsAllocation.h
|
61a4bb734b91ced09fbfee4214c6f253cb66e5f0 |
|
26-Jul-2012 |
Jason Sams <jsams@google.com> |
Cleanup pointer access in adapter and font. Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
/frameworks/rs/rsAllocation.h
|
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.h
|
e3150cfb3edb028407669e4a65e087eae77e718c |
|
25-Jul-2012 |
Jason Sams <jsams@google.com> |
Plumb context through for serialization. Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
/frameworks/rs/rsAllocation.h
|
2275e9cf534ff601fe42a72ff50580b230c04fe2 |
|
17-Apr-2012 |
Jason Sams <jsams@google.com> |
Fix duplicate malloc pointers. Change-Id: I6525877cb93fe0f750339a8d7a747c7f5ce9a2f7
/frameworks/rs/rsAllocation.h
|
f22c8ace148b69847aaf5ad1829e9ec95a44df6c |
|
04-Apr-2012 |
Jason Sams <jsams@google.com> |
Add support for stride != width. BUG=6111812 Change-Id: I419dbf90f94ca54b4189fa6e62a2449efd893676
/frameworks/rs/rsAllocation.h
|
3522f40418fdf877f5a136475dbf75e57a3b7c77 |
|
23-Mar-2012 |
Jason Sams <jsams@google.com> |
Implement USAGE_IO_INPUT Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
/frameworks/rs/rsAllocation.h
|
7ac2a4dda4d20ca1f1b714e129a3a08f63178c18 |
|
15-Feb-2012 |
Jason Sams <rjsams@android.com> |
Beging IO stream out from allocation to surface texture. Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
/frameworks/rs/rsAllocation.h
|
7c4b1b3981d19b162d17a10045de12c35c089948 |
|
11-Feb-2012 |
Jason Sams <jsams@google.com> |
resolved conflicts for merge of cb66aec0 to graphics-dev Change-Id: Ic8817f702b6993f046c89f2fc598c9fe3bf30fe8
|
cf27eb46f97cff087ebfc5b81fe998eabe0569cf |
|
10-Feb-2012 |
Jason Sams <rjsams@android.com> |
Start implementing SurfaceTexture streaming into RS allocations. Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b Conflicts: libs/rs/rsAllocation.h
/frameworks/rs/rsAllocation.h
|
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.h
|
41e373d91a60043afa0f9abd026218b49cbc1201 |
|
13-Jan-2012 |
Jason Sams <jsams@google.com> |
Start implementing SurfaceTexture streaming into RS allocations. Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
/frameworks/rs/rsAllocation.h
|
179e9a457095fea4c9e6d366c269754b882d05dd |
|
24-Nov-2011 |
Jason Sams <jsams@google.com> |
Private API to support MFF transition. Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
/frameworks/rs/rsAllocation.h
|
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.h
|
064aa7ed76db9564b041afcd4b75da5b3d12faba |
|
18-Oct-2011 |
Alex Sakhartchouk <alexst@google.com> |
Remove ObjBaseRef from the hal struct Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
/frameworks/rs/rsAllocation.h
|
c7cec1e3577cc77a5a73d5bd5a82733b1b9936a1 |
|
19-Aug-2011 |
Jason Sams <rjsams@android.com> |
Fix issue with freeing allocation with circular references. Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
/frameworks/rs/rsAllocation.h
|
1e5149f5cd3e75a010b58b985b1151d955d227d1 |
|
09-Aug-2011 |
Stephen Hines <srhines@google.com> |
Migrate perf-critical functions away from librs. BUG=3497315 Change-Id: Ieaa0d64933767d422aa62740d72b31042dcd4a2f
/frameworks/rs/rsAllocation.h
|
b81a0eb8180791e4eaab1253b59fa8bd562b046b |
|
03-Jun-2011 |
Alex Sakhartchouk <alexst@google.com> |
More work to make libRS buildable on the host. Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
/frameworks/rs/rsAllocation.h
|
eb4fe18dd88634330f9566cbb9e785d8c7ec5813 |
|
27-May-2011 |
Jason Sams <rjsams@android.com> |
Start splitting allocation into hal and core. Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
/frameworks/rs/rsAllocation.h
|
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.h
|
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.h
|
bcac9340126b4b9fabf2015a2f6a984414d87c21 |
|
14-Jan-2011 |
Jason Sams <rjsams@android.com> |
Implement sub updates for mipmap levels and cubmaps. Change-Id: I7c41263a0c1e583574d0c1fcb64b1a0440b5b555
/frameworks/rs/rsAllocation.h
|
236385b73f21ae65e756b9cb5738f1514d95ea3e |
|
12-Jan-2011 |
Jason Sams <rjsams@android.com> |
Implement more of copy2DRange* Change-Id: Id6be481c4abc968df27e5bba1ed044262ec0f293
/frameworks/rs/rsAllocation.h
|
4b45b8998e0d7038efaea80c70d23c086640b4e3 |
|
29-Dec-2010 |
Jason Sams <rjsams@android.com> |
Move adapter2D to a derived class from Allocation. Change-Id: I7e9d8b0028ba95956476f253da38dbe64564d0da
/frameworks/rs/rsAllocation.h
|
a2aab8be7a980791fc9d4e6c4d050d703b20bcf6 |
|
15-Dec-2010 |
Alex Sakhartchouk <alexst@google.com> |
Cleanup and refactoring of an earlier cl. Change-Id: I5e356ed88375a1620846e0c500659e3b7ead5030
/frameworks/rs/rsAllocation.h
|
b89b0b7dd8199967502c92fe5c8f57c3bc255e1c |
|
14-Dec-2010 |
Jason Sams <rjsams@android.com> |
Add support for non-malloc backed textures. Change-Id: Iee8e987591caa17b4c8186f8173089925140a568
/frameworks/rs/rsAllocation.h
|
ebc5019400a129b1f1e57bd1fe8200a21f8da00b |
|
14-Dec-2010 |
Jason Sams <rjsams@android.com> |
More API updates. Change-Id: I754dc645ac08fa25019eed8fd8b7b3c47f178ff2
/frameworks/rs/rsAllocation.h
|
366c9c85196675437a8dd74c1cf6b63ddbde3d6a |
|
09-Dec-2010 |
Jason Sams <rjsams@android.com> |
Allocation API update. Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
/frameworks/rs/rsAllocation.h
|
84e4027f83b20af59f5b1fc52be6e45f159d3970 |
|
19-Nov-2010 |
Alex Sakhartchouk <alexst@google.com> |
Support for cubemaps. Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
/frameworks/rs/rsAllocation.h
|
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.h
|
2353ae303868d04e3a26002b2f2dc456c15e8170 |
|
15-Oct-2010 |
Jason Sams <rjsams@android.com> |
Async type creation. Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
/frameworks/rs/rsAllocation.h
|
96abf819e50b59ba8cf886c13f894633eb0a24ba |
|
05-Oct-2010 |
Jason Sams <rjsams@android.com> |
Implement allocation resizing. Change-Id: Ie38d42419d595cec730a8721cc1321c5edb6b4d6
/frameworks/rs/rsAllocation.h
|
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.h
|
1e5168d113ccdcf9fe1b817dcbf2f7f476d36c74 |
|
02-Sep-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding ability to dirty the allocation and notify shaders using it. Change-Id: Id5ac8dbba5185cb1f43bedcf4098fcef9f477c51
/frameworks/rs/rsAllocation.h
|
5f0c84cf464dda719cef65fdc9b4d0980e86b98f |
|
31-Aug-2010 |
Jason Sams <rjsams@android.com> |
SubElementData data upload functions. Change-Id: I5f8c738b5457ae7f6085fc4cd331cf3d13ad75cf
/frameworks/rs/rsAllocation.h
|
e3929c9bc6f3897e132304faf1b40c3cf1f47474 |
|
10-Aug-2010 |
Jason Sams <rjsams@android.com> |
Refcounting in allocations. Change-Id: Ida2dfb404b2cd832e622d981d73a938d5bc5b821
/frameworks/rs/rsAllocation.h
|
760f1f7335ad0c5aee59ca829a40bbf6e3328a1b |
|
25-Jun-2010 |
Jason Sams <rjsams@android.com> |
Add support for non-VBO drawing in Meshes. Change-Id: Ic4dd88cbe591091ebe740babe30213c15ad60cb3
/frameworks/rs/rsAllocation.h
|
b825f67adb5d1e1751fe108e6dbf9c6f2555c283 |
|
04-Jun-2010 |
Alex Sakhartchouk <alexst@google.com> |
Creating the jni and java layer to integrate a3d Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
/frameworks/rs/rsAllocation.h
|
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.h
|
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.h
|
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.h
|
cf4c7c9b2f513be77a5b9853319ca82ac2b128ed |
|
14-Dec-2009 |
Jason Sams <rjsams@android.com> |
Implement RS tracked defered texture and buffer object uploads.
/frameworks/rs/rsAllocation.h
|
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.h
|
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.h
|
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.h
|
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.h
|
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.h
|
e579df42e85d9e00f53c42ef1b78dbd209dba989 |
|
10-Aug-2009 |
Jason Sams <rjsams@android.com> |
Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
/frameworks/rs/rsAllocation.h
|
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.h
|
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.h
|