Commit Graph

5 Commits

Author SHA1 Message Date
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
Ramkumar Radhakrishnan
db89d1f64e libgralloc: Add support for 10 bit RGB/YUV formats.
Add 10 bit RGB/YUV HAL Pixel formats in gralloc library.

CRs-Fixed: 882953
Change-Id: I5c99bbd61d899408d6ff182b11ffb537bbde13c6
2016-03-17 19:09:50 -07:00
Sushil Chauhan
8516eccba7 gralloc: Query GPU for UBWC use cases only
1. Query GPU only if the client uses UBWC specific HAL pixel format
or sets UBWC gralloc flag in the usage flags.
2. Add an adreno pixel format in the utils.

Change-Id: I84a4701b40deae349f49440f0508972974c4b12a
2015-04-13 15:32:32 -07:00
Sushil Chauhan
a9d47001c9 gralloc: Change private usage flags from enums to defines
1. It helps in checking gralloc private usage flags at compile time.
2. Define GRALLOC_MODULE_PERFORM_GET_UBWC_FLAG to enable client to
   query the value of "PRIV_FLAGS_UBWC_ALIGNED" flag at run time.
3. Add ADRENO_PIXELFORMAT_NV12_EXT in defined Adreno Pixel formats
   to fix NV12_UBWC HAL pixel format conversion to Adreno format.

Change-Id: I78ccac98f1bd1bfbd2aa596ceb7a293f3d2e5f6e
2015-02-23 13:12:22 -08:00
Sushil Chauhan
082acd66c4 gralloc: Add adreno_utils header
Add adreno_utils header to define Adreno pixel formats, which are
needed by gralloc to map HAL format to corresponding Adreno format.

Change-Id: I6d38f34583955e3990393801f1dca0dd9aa2013b
2015-01-16 16:10:14 -08:00