aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Hu <bohu@google.com>2023-11-02 18:20:49 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-11-02 18:20:49 +0000
commitd6dd292cf020b28031feb7e764d8a4046e43e6ac (patch)
treec7e6d84d72b88aab14a10f514d9a66c7e5b2f160
parent8bc35621cfe488353f7d5686e21cdead7fad8ae9 (diff)
parent4c0d904fee0f2714f546e6d094ae8a06b0dc4e78 (diff)
downloadaemu-d6dd292cf020b28031feb7e764d8a4046e43e6ac.tar.gz
multidisplay-pipe: add a way to send set_display command to guest am: 4c0d904fee
Original change: https://android-review.googlesource.com/c/platform/hardware/google/aemu/+/2812810 Change-Id: Ia08430b49bb5b3608722e9e9082cf61d74cae446 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--host-common/include/host-common/MultiDisplayPipe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/host-common/include/host-common/MultiDisplayPipe.h b/host-common/include/host-common/MultiDisplayPipe.h
index e0f754c..8ce9643 100644
--- a/host-common/include/host-common/MultiDisplayPipe.h
+++ b/host-common/include/host-common/MultiDisplayPipe.h
@@ -35,6 +35,8 @@ public:
void onMessage(const std::vector<uint8_t>& data) override;
void fillData(std::vector<uint8_t>& data, uint32_t id, uint32_t w, uint32_t h,
uint32_t dpi, uint32_t flag, bool add);
+ void fillData(std::vector<uint8_t>& data, uint32_t id, uint32_t w, uint32_t h,
+ uint32_t dpi, uint32_t flag, int mode);
virtual void onSave(base::Stream* stream) override;
virtual void onLoad(base::Stream* stream) override;
@@ -43,6 +45,7 @@ public:
const static uint8_t DEL;
const static uint8_t QUERY;
const static uint8_t BIND;
+ const static uint8_t SET_DISPLAY;
const static uint8_t MAX_DISPLAYS;
private: