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/rsGrallocConsumer.cpp
|
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/rsGrallocConsumer.cpp
|
2a61168a777ee434ce2c28945aa74f6a6bcf2820 |
|
28-Feb-2017 |
Miao Wang <miaowang@google.com> |
Remove libcutils dependency. - Implement property_get using __system_property_get, remove dependencies on cutils/properties.h. - remove rsCompatibilityLib.cpp since it only contains propery_get, and it is now in rsCppUtils.cpp. - Disable ATRACE. The systrace is current done in Java level. If we want to do it in the driver, we need to have our own implementation similar to native/utils/trace.cc - Remove CC_LIKELY macro. Bug: 34396220 Test: build Change-Id: I6a6cbcfb2ca15b9d1f09b9ce0579d39fdbe98727
/frameworks/rs/rsGrallocConsumer.cpp
|
b4cb5ff44c3324bc9f7295fc2fd0e6a0ab496b0f |
|
18-Feb-2016 |
Miao Wang <miaowang@google.com> |
RS: Rename mBuf to mSlot Bug: 19769719 Change-Id: Ieff1ea30ead56da8ee5ca63afbb7f8c15f4ed02a
/frameworks/rs/rsGrallocConsumer.cpp
|
1aaf4fae02c1a75e19ffdc5a146475e42ba07c23 |
|
21-Dec-2015 |
Miao Wang <miaowang@google.com> |
Add YV12 YUV format support to GrallocConsumer. Bug: 26219828 Change-Id: I92532b08e54920efbf04278c5a52650833f8d5b1
/frameworks/rs/rsGrallocConsumer.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/rsGrallocConsumer.cpp
|
a5f70350d9ac79c81590d12910cc87c2acb9c356 |
|
29-May-2015 |
David Gross <dgross@google.com> |
Replace assert() with project-specific version. Our convention is to use our own form of assertion (bccAssert, rsAssert, slangAssert) rather than C standard assertion (assert) because the latter is disabled for the Android build process. However, a few instances of assert() somehow made it through. Bug 21444723 Change-Id: I02a212627d4d5e70eadb379f359c4ac9bc88bde7
/frameworks/rs/rsGrallocConsumer.cpp
|
a48d45ea774a17a9cdce320ce569454983c821e1 |
|
19-May-2015 |
Jason Sams <jsams@google.com> |
Delete dead code Change-Id: I2830eaed57213f9fc00cac5b9a689b6c7b93341f
/frameworks/rs/rsGrallocConsumer.cpp
|
8265914da27f43c8be973cd3882ed2d8e772a7c9 |
|
12-Mar-2015 |
Dan Stoza <stoza@google.com> |
DO NOT MERGE rs: Stop using IGBC::BufferItem Switches all uses of IGraphicBufferConsumer::BufferItem (and BufferQueue::BufferItem) to the BufferItem in libgui. Depends on frameworks/native I699ed0a6837076867ca756b28d1ffb2238f7a0d9. Cherry-pick of I187b3a7d05196b6289596afac8fb9a9d4aebff76 Change-Id: I437b437e333e2ded1b96af8c0426996d340b1507
/frameworks/rs/rsGrallocConsumer.cpp
|
7314cca8575544195e475ecc53d995311ac269c0 |
|
25-Feb-2015 |
Jason Sams <jsams@google.com> |
Fix issue when USAGE_IO_INPUT receives unexpected YUV format Sometimes we can get a fixed format when the flexible format was expected. Change-Id: If67a8fb586ca5d4ddeb3204d14c416e3d05b4a32
/frameworks/rs/rsGrallocConsumer.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/rsGrallocConsumer.cpp
|
44bef6fba6244292b751387f3d6c31cca96c28ad |
|
12-Aug-2014 |
Chris Wailes <chriswailes@google.com> |
Replace NULL macros with nullptr literals. Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/rsGrallocConsumer.cpp
|
c765a55556c597bd5e1f75072e8e3ce25cd836ba |
|
24-Jun-2014 |
Jason Sams <jsams@google.com> |
Fix reversal of channels with flexible yuv. Change-Id: Ib680995e06a157569dbb8dfe0456bbe5ac0714cc
/frameworks/rs/rsGrallocConsumer.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/rsGrallocConsumer.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/rsGrallocConsumer.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/rsGrallocConsumer.cpp
|