Commit Graph

9 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
Linux Build Service Account
f0b7c337ec Merge "gralloc1: Rename property to disable ubwc for graphics" 2017-05-04 03:31:57 -07:00
Ramkumar Radhakrishnan
45aace4b04 gralloc1: Rename property to disable ubwc for graphics
Rename property debug.gralloc.gfx_ubwc_disable_ to
debug.gralloc.gfx_ubwc_disable to disable allocating ubwc buffers
for graphics client.

Change-Id: Ie0e5cf1eabb6970377ffdf6cc1a00728f48e1ae7
CRs-Fixed: 2042258
2017-05-03 18:04:55 -07:00
Prabhanjan Kandula
7783d96d45 gralloc1: Call new adreno utils API for buffer alignments
- Adreno utils added new API to query buffer alignments by
additionally specifying format, number of samples and plane id.
- Call this new API if exist else fallback to existing.

Change-Id: Ida6b1ba2cbb284660ca022139e61af7a7c5ec4cf
CRs-fixed: 2037377
2017-05-03 17:59:16 -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
Rohit Kulkarni
7943ec969d display-hal: Add support for P010 ubwc format
This patch adds support for handling P010 ubwc format in display-hal
libs.

Change-Id: I1c7489be859a608566240c3b6722c84bb9a468ca
CRs-fixed: 2018756
2017-03-27 14:37:21 -07:00
Saurabh Shah
c5b2b70479 gralloc/qdutils: Remove unused gralloc code, add driver type check
Remove unused code related to macro tiling from galloc and qdutils.
Add API to check for driver type and query caps based on driver.

Change-Id: I36cfa5529395c69deb886080be1c904ff5c9ad15
CRs-fixed: 1109207
2017-01-28 07:23:10 -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