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
Add an interface to query the current frame rate from SmoMo, which is
based on its internal state.
CRs-Fixed: 2667026
Change-Id: Ia0b7305124c72e548dc7c935ab5b717945fbc7c2
There were some concerns raised in the intern code review process. Since
Qualcomm has merged their Gralloc4.0 changes into their codebase, the
patch created another standlane change to address the concerns within
the code review.
Bug: 141596968
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I33905f5f1198089a1e3fe16e1fd46a8f614e8679
(cherry picked from commit 3dfff2a5af39b14422ede072e3e9d95596e5fc3f)
This change initializes the local "ColorMetaData color"
to prevent uninitialized values being read.
CRs-Fixed: 2660086
Change-Id: I67284a57d4e12a0289824288b36804e3bd76fd02
The standard metadata types for width and height return the
values requested by the client, rather than the width and height
of the allocated buffer. This change adds internal metadata types
so clients can query the allocated values.
CRs-Fixed: 2638621
Change-Id: I7c69cff65512c30e27eb86ef33f67079c979eeb6
- The field minPicAverageLightLevel is actually maxPicAverageLightLevel
from the H.265 spec, mention it will be deprecated.
- Add new member maxPicAverageLightLevel which clients must use, this
is same as maxFrameAverageLightLevel from CTA-861.G
- The unit for maxPicAverageLightLevel is 1 cd/m^2.
Change-Id: Ida73949d4e4595bc4505e7451c40c6e6976bd092
CRs-fixed: 2607978
This change adds libgralloc.qti to support Gralloc4 and the transition to
standardized metadata.
CRs-Fixed: 2619182
Change-Id: Ia43de9b1dc9da52affc508783c046b82cde1775e
This change removes metadata types which are not set. The color
space is also set through ColorMetadata, with helpers to convert
to/from the legacy type ColorSpace_t.
CRs-Fixed: 2606686
Change-Id: I2dd67c0082a31ca6900fe845c13d0519a2289060