Commit Graph

5 Commits

Author SHA1 Message Date
Camus Wong
5c5e6fb394 sdm: Add support for new pixel formats in gralloc1
Add support for BGR_888 and CBYCRY_422_I in gralloc1.  The
new formats will be used by camera application.

CRs-Fixed: 1116491
Change-Id: Iafa240294a1e2956b96f7aa9606326bb5635a2bd
2017-05-25 20:52:44 -07:00
Saurabh Shah
14c8e5ba8a hwc2/gralloc1: Create libgrallocutils
--For gralloc1, create a libgrallocutils that provides helpers to
calculate various buffer related info
--Make hwc2/gralloc1 structures independent of libdrmutils
and fb_id / gemhandles
--Implement GetBufferLayout API from BufferAllocator that can be called
by DAL before creating fb_id

Change-Id: I0aede7d1ea87302ecda593047728d381383484b9
CRs-fixed: 1114808
2017-04-14 10:16:22 -07:00
Arun Kumar K.R
b97ca30f61 gralloc1.0: Add 10bit RGB formats
Add support for 10bit RGBA formats which were missed at some
places.

Change-Id: I812f8266c8525b181f61d647dfc62fba9df12147
Crs-fixed: 2030340
2017-04-06 18:30:07 -07:00
Naseer Ahmed
1c473d8172 gralloc: Add support for new system defined RGBA formats
* Add support for HAL_PIXEL_FORMAT_RGBA_FP16
* Use system defined HAL_PIXEL_FORMAT_RGBA_1010102

CRs-Fixed: 2012253
Change-Id: I2e4dfe1d06080120acc15c6b8181f8a424248bf7
2017-02-27 10:55:39 -08:00
Prabhanjan Kandula
96e9234520 gralloc1 : initial implementation
Initial implementation of the gralloc1 APIs

Change-Id: I3b01595b0f9b30d9a08d02101fe42281556bd6a2
2016-05-11 00:49:41 +05:30