diff options
author | Bo Hu <bohu@google.com> | 2023-10-31 19:44:36 -0700 |
---|---|---|
committer | Bo Hu <bohu@google.com> | 2023-11-01 15:56:26 -0700 |
commit | 4c0d904fee0f2714f546e6d094ae8a06b0dc4e78 (patch) | |
tree | c7e6d84d72b88aab14a10f514d9a66c7e5b2f160 /host-common | |
parent | 5c6bb90a64cf76ad34be04196e2f528226c75aa5 (diff) | |
download | aemu-4c0d904fee0f2714f546e6d094ae8a06b0dc4e78.tar.gz |
multidisplay-pipe: add a way to send set_display command to guest
The SET_DISPLAY is different from existing ADD and DEL
Bug: 308443736
Change-Id: Ic36b3bc9176354db27b7ec27ba6cd9cb31af8e52
Diffstat (limited to 'host-common')
-rw-r--r-- | host-common/include/host-common/MultiDisplayPipe.h | 3 |
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: |