summaryrefslogtreecommitdiff
path: root/rsGrallocConsumer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add YV12 YUV format support to GrallocConsumer.Miao Wang2016-02-181-9/+66
| | | | | | Bug: 26219828 Change-Id: I92532b08e54920efbf04278c5a52650833f8d5b1 (cherry picked from commit 1aaf4fae02c1a75e19ffdc5a146475e42ba07c23)
* resolve merge conflicts of ecc59b9501 to master.Miao Wang2016-01-271-36/+91
|\ | | | | | | Change-Id: I6911981f7be8c72280339c2573dc2c9a3cc6d257
| * Add multi-frame support to RenderScript:Miao Wang2016-01-261-36/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | RS: Rename mBuf to mSlotPablo Ceballos2015-08-041-9/+9
|/ | | | | Bug: 19769719 Change-Id: If22c0093ee57a88e901516dc60ae87c22c2f9ab8
* Replace assert() with project-specific version.David Gross2015-05-291-6/+5
| | | | | | | | | | | 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
* Delete dead codeJason Sams2015-05-191-1/+0
| | | | Change-Id: I2830eaed57213f9fc00cac5b9a689b6c7b93341f
* DO NOT MERGE rs: Stop using IGBC::BufferItemDan Stoza2015-04-011-1/+2
| | | | | | | | | | 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
* Fix issue when USAGE_IO_INPUT receives unexpected YUV formatJason Sams2015-02-241-1/+1
| | | | | | Sometimes we can get a fixed format when the flexible format was expected. Change-Id: If67a8fb586ca5d4ddeb3204d14c416e3d05b4a32
* Add gralloc flags to support HW driverJason Sams2014-11-101-2/+7
| | | | | | | | | | | | 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
* Replace NULL macros with nullptr literals.Chris Wailes2014-08-201-2/+2
| | | | Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
* Fix reversal of channels with flexible yuv.Jason Sams2014-06-231-2/+2
| | | | Change-Id: Ib680995e06a157569dbb8dfe0456bbe5ac0714cc
* Fix for YUV bugsJason Sams2013-09-191-2/+2
| | | | | | | | | 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
* Cleanup type offsets which cannot be calculated for flexible YUV.Jason Sams2013-09-031-1/+6
| | | | | | | | | Support flexible YUV bug 10567550 Change-Id: I4f6e5a8d86eeee635605460f1751208f3320969b (cherry picked from commit a75372759e288be3fb8835735a830b1f7d1a4c42)
* Refactor hal to remove cpuConsumer from driversJason Sams2013-08-071-0/+187
This CL should minimize build breaks due to BufferQueue changes in the future. Change-Id: I565a6eae5cc25603741fef32f2cfcb31a32eb757