summaryrefslogtreecommitdiffstats
path: root/libgrallocusage
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Build both static and shared lib."Doug Horn2018-09-251-1/+1
|\
| * Build both static and shared lib.Doug Horn2018-09-251-1/+1
| | | | | | | | | | | | Bug: 111611872 Test: Compile, verify output. Change-Id: I3a8ce3dbad2738e376a131a8e8613b3a4f6bf033
* | Add libgrallocusage/OWNERSJesse Hall2018-09-251-0/+3
|/ | | | | Test: none Change-Id: Ie1a0384f91f0a13167c5b18416d7da505ab41825
* Use -Werror in system/coreChih-Hung Hsieh2017-11-011-1/+4
| | | | | | | | | * Move -Wall -Werror from cppflags to cflags. * Fix/suppress warning on unused variables. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I1e05e96a1d0bcb2ccef1ce456504b3af57167cc5
* Mark libgrallocusage as vendor_availableJiyong Park2017-05-041-0/+2
| | | | | | | libgrallocusage is used by libui which will be vendor_available: true. Test: BOARD_VNDK_VERSION=current m libgrallocusage is successful Change-Id: I476768d8b103033f3b8e5b09f53f4ac422ae377c
* libgrallocusage: use gralloc1.h usage flagsChia-I Wu2017-04-101-25/+27
| | | | | | | | android/hardware/graphics/allocator/2.0/types.h is gone. Use usage flags from gralloc1.h. Test: make Change-Id: I43bc641edf86229d2df75dba857d7b5706df70e4
* Revert "Include vendor gralloc0 flags in gralloc1 conversion."Yin-Chia Yeh2017-04-041-6/+2
| | | | | | | | This reverts commit 944e5e0c5276e9149180c316a7d30ad7ef44a284. Test: fix b/36876770 Bug: b/36876770 Change-Id: Ibbf1a5e04ff1f61061cf0bb679306324d1f543d3
* Include vendor gralloc0 flags in gralloc1 conversion.Eino-Ville Talvala2017-03-291-2/+6
| | | | | | | | | Map GRALLOC_USAGE_PRIVATE_* fields into bits 28-31 of both producer and consumer usage for gralloc1. Test: Camera output works as normal, CTS not regressed Bug: 35215313 Change-Id: I0736e0f513b193373b822830dbb0efe3f4263770
* Add gralloc usage conversion functionsJesse Hall2017-03-285-0/+331
Converting gralloc1 / ..graphics.allocator@2.0 usage to gralloc0 usage requires more than just ORing bits and truncating: the CPU_READ_OFTEN bits don't match up correctly. Add utility functions for converting back and forth which handle this properly. Test: boot bullhead-eng Change-Id: I1cee972feaea486d5607c60acead2e870c2c9549