From b8d91476053d0e8b17f6338839a452d58413b8ef Mon Sep 17 00:00:00 2001 From: Rajavenu Kyatham Date: Tue, 2 Apr 2019 17:59:28 +0530 Subject: [PATCH] IComposer: Add composer 2.0 version - composer 2.0 is extend from 'graphics composer 2.3' and implemented. - composer 1.0 version is added in P time which extends 'graphics composer 2.2' and it is deprecated now. CRs-Fixed: 2465579 Change-Id: I9643303c0168c6392eb8917698aa629a09e685e2 --- display/composer/2.0/IQtiComposer.hal | 37 +++++++++++++++++++++ display/composer/2.0/IQtiComposerClient.hal | 37 +++++++++++++++++++++ display/composer/2.0/hidl_gen_version | 1 + 3 files changed, 75 insertions(+) create mode 100644 display/composer/2.0/IQtiComposer.hal create mode 100644 display/composer/2.0/IQtiComposerClient.hal create mode 100644 display/composer/2.0/hidl_gen_version diff --git a/display/composer/2.0/IQtiComposer.hal b/display/composer/2.0/IQtiComposer.hal new file mode 100644 index 0000000..9def2d4 --- /dev/null +++ b/display/composer/2.0/IQtiComposer.hal @@ -0,0 +1,37 @@ +/* +* Copyright (c) 2019 The Linux Foundation. All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are +* met: +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of The Linux Foundation. nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT +* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +package vendor.qti.hardware.display.composer@2.0; + +import android.hardware.graphics.composer@2.3::IComposer; + +interface IQtiComposer extends IComposer { + +}; + diff --git a/display/composer/2.0/IQtiComposerClient.hal b/display/composer/2.0/IQtiComposerClient.hal new file mode 100644 index 0000000..48eadaa --- /dev/null +++ b/display/composer/2.0/IQtiComposerClient.hal @@ -0,0 +1,37 @@ +/* +* Copyright (c) 2019 The Linux Foundation. All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are +* met: +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of The Linux Foundation. nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT +* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +package vendor.qti.hardware.display.composer@2.0; + +import android.hardware.graphics.composer@2.3::IComposerClient; + +interface IQtiComposerClient extends IComposerClient { + +}; + diff --git a/display/composer/2.0/hidl_gen_version b/display/composer/2.0/hidl_gen_version new file mode 100644 index 0000000..badc32f --- /dev/null +++ b/display/composer/2.0/hidl_gen_version @@ -0,0 +1 @@ +version=2