Gralloc4 header is defined in Android framework and can't be
used by non-Android build. Add compile option to disable Gralloc4
for non-Android build.
Change-Id: I9f42f451c0105fd96776211d07724939665358da
Add Display Extension api to enable or disable Early Wake-up on a
given display.
CRs-Fixed: 2765806
Change-Id: Iee3a73bb2ff18044772519cecc406aa59f2aa542
Add support to pass new video timestamp info metadata
in gralloc buffer. Add support in both qdmetadata
and Gralloc4 interface.
CRs-Fixed: 2713472
Change-Id: Ica7776c6594ec3224f631f2eb23a1988f075313f
This change checks if the registered client has a valid callback and
hwc session.
Change-Id: I9758d6d59c7087e67e89318746cb48054255ab72
CRs-Fixed: 2749805
Add HIDL API to query supported refresh rates from Display HAL.
The API would return a vector of supported fps in the current
config group.
Change-Id: I27640114963a97c96738387fe502b802a48837ba
CRs-Fixed: 2749264
* Move from fixed array reserved region to variable reserved
region size
* Add bool arrays to indicate whether metadata has been set using
Gralloc4 indices
* Replace metadata->operation with bool arrays for
gralloc4/qdMetaData compatibility
CRs-Fixed: 2730848
Change-Id: Id52aac70c23ee4b39db185861f951bb909831afb
- Split the IDisplayConfigCallback implementation to a
separate class.
- Notify the device when a client is getting destroyed
and perform cleanup on device side.
Change-Id: I020a3a9cac7f31195e0072540e2145cdd3da274c
When enforce product I/F for Native modules, system_ext module
cannot link to product module and vice versa.
When PRODUCT_PRODUCT_VNDK_VERSION := current, all native modules
in product partition are in the product variant. Adding system_ext_specific
and vendor_available will create system_ext variant and vendor variant.
Change-Id: Id8953a6c65b346a4762c9d9d89f7c6c26d80fdfa
- In gralloc3, first member 'size' in GraphicsMetadata struct was
never unused in call to GetGraphicsMetadata. Get() call always
returned 'data' member in GraphicsMetadata structure.
- Gralloc4 implementation introduced new encode/decode functions for
GraphicsMetadata which are simultaneously used during set/get
calls to encode/decode metadata for caller and during storing/
retrieving it from Metadata_t struct. Get() call returned
GraphicsMetadata struct pointing to its first member 'size'
instead of second member 'data'.
- Implement function to encode/decode GraphicsMetadataRaw to translate
the metadata before calling mapper set/get.
- Update encodeGraphicsMetadata/decodeGraphicsMetadata functions to
store/retrieve only 'data' member in GraphicsMetadata structure.
CRs-fixed: 2682060
Change-Id: I60c3dd2029ba21aa481dad35f9b4738b2d78957a
When enforce compile time product I/F, system_ext module
cannot link to product module and vice versa.
When PRODUCT_PRODUCT_VNDK_VERSION := current, all native modules
in product partition are in the product variant. Adding system_ext_specific
and vendor_available will create system_ext variant and vendor variant.
This will fix the following dependency compile 2 errors:
-Error: MMCapability.cpp:33:10: fatal error: 'qd_utils.h' file not found
libwfdsinksm.so [MMCapability.cpp], installed in SYSTEM_EXT partition
and depends on libqdMetaData [qd_utils.h], accessable in product partition.
Replacing product_specific with system_ext_specific, while enforcing product I/F
will install libqdMetaData in system_ext and variant in product partition
-Error: dependency "libgralloc.qti" of "libqdMetaData" missing variant
libqdMetaData now moved to system_ext. Need to install libgralloc.qti
in system_ext.
Change-Id: Ic4eb768173f2125cee2bb1fa69665b50e8708ea5