summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Yang <yangxu@codeaurora.org>2019-09-05 10:50:50 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2019-10-19 06:50:05 -0700
commit5de3f0d64d7b0f412b0fff04c0243b8da4753cc3 (patch)
tree93b543cb639d2ceda7f02091e6ce8a550fcbfd70
parentf5d86d2a6771454221d740689b2c4246464974a5 (diff)
downloadandroid_vendor_qcom_opensource_interfaces-5de3f0d64d7b0f412b0fff04c0243b8da4753cc3.tar.gz
android_vendor_qcom_opensource_interfaces-5de3f0d64d7b0f412b0fff04c0243b8da4753cc3.tar.bz2
android_vendor_qcom_opensource_interfaces-5de3f0d64d7b0f412b0fff04c0243b8da4753cc3.zip
display: Add extension SET_LAYER_TYPE in QtiCommand
Support extension QtiCommand in IQtiComposerClient to set layer type. Change supports game layer hint in IQtiComposerClient. Change-Id: I4539d98f5ad5421db6b3b10a72e38ef27efc153d
-rw-r--r--display/composer/2.0/IQtiComposerClient.hal21
-rw-r--r--display/current.txt2
2 files changed, 22 insertions, 1 deletions
diff --git a/display/composer/2.0/IQtiComposerClient.hal b/display/composer/2.0/IQtiComposerClient.hal
index 48eadaa..b856041 100644
--- a/display/composer/2.0/IQtiComposerClient.hal
+++ b/display/composer/2.0/IQtiComposerClient.hal
@@ -33,5 +33,26 @@ import android.hardware.graphics.composer@2.3::IComposerClient;
interface IQtiComposerClient extends IComposerClient {
+ enum LayerType : uint32_t {
+ UNKNOWN = 0,
+ APP = 1,
+ GAME = 2,
+ BROWSER = 3,
+ };
+
+ /**
+ * SET_LAYER_TYPE has this pseudo prototype
+ * setLayerType(uint32_t type);
+ *
+ * param type is the layer type.
+ * 0 - Unknown
+ * 1 - APP
+ * 2 - Game
+ * 3 - Browser
+ */
+ enum Command : @2.3::IComposerClient.Command {
+ SET_LAYER_TYPE = 0x800 << @2.3::IComposerClient.Command:OPCODE_SHIFT,
+ };
+
};
diff --git a/display/current.txt b/display/current.txt
index 590a250..e9d796d 100644
--- a/display/current.txt
+++ b/display/current.txt
@@ -35,7 +35,7 @@ fcc31b8e0d422752cf4f4c69618488ea9cd5a4e0f21404adca087dc4ef23d6df vendor.display.
44a03774c9931f3779affaa88bb0217a3666420c38ca0c98170a7cf40a581419 vendor.qti.hardware.display.allocator@1.0::IQtiAllocator
db19f93c419a59c901c1530a9241480b047a0f026b2eef7fe0c55cf3874c56c0 vendor.qti.hardware.display.mapper@1.0::IQtiMapper
60c78b8bb8728d6826d8a57dd5d8112120541c2be130d7d7cd62345c3e9eaf1a vendor.qti.hardware.display.composer@2.0::IQtiComposer
-e08721820de9c6c2af347aea0ba6e3d27f1d1b4a38ffa9b69b58e94fbbca1804 vendor.qti.hardware.display.composer@2.0::IQtiComposerClient
+c22f5d631432b98b5f40a845a0797b5ed0fe42e9facb517fc8a98811835fb4a2 vendor.qti.hardware.display.composer@2.0::IQtiComposerClient
f955d3cd7704809f64a6e1f5b1e6cf92b3765386af5e7e485ec4563c975467ba vendor.qti.hardware.display.mapper@1.1::IQtiMapper
503415d1b4d8aefe231fd751cc36e374e91d561f3d3dd3459f31f3a67aa6dfe5 vendor.display.config@1.2::IDisplayConfig
e89567ed6383dc0e5fd168babaf046352962b571f47fba26804c2c7690256b1f vendor.display.config@1.3::IDisplayConfig