diff options
author | 2016-12-22 15:11:49 +0900 | |
---|---|---|
committer | 2016-12-23 04:14:32 +0900 | |
commit | a136e38ca1a7c85523b039e59fb9692f4932df2e (patch) | |
tree | 1e501df2505ce150a4af0d3a1fa403cb92c1c991 /WindowManager/src/windowmanager.hpp | |
parent | b8ffc0efc87107a9532cb46583cf56c26f85a829 (diff) |
Reworking layer/surface management
To support cluster demo of CES2017, Window Manager can ignore
surfaces from applications which are not from HomeScreen launcher.
This is hack for CES2017, need refactoring in the future.
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'WindowManager/src/windowmanager.hpp')
-rw-r--r-- | WindowManager/src/windowmanager.hpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/WindowManager/src/windowmanager.hpp b/WindowManager/src/windowmanager.hpp index d2c9c9b..70ae31a 100644 --- a/WindowManager/src/windowmanager.hpp +++ b/WindowManager/src/windowmanager.hpp @@ -23,7 +23,6 @@ #include "windowmanager_adaptor.h" - #ifdef HAVE_IVI_LAYERMANAGEMENT_API #include <ilm/ilm_control.h> #endif @@ -51,6 +50,7 @@ private: #ifdef HAVE_IVI_LAYERMANAGEMENT_API t_ilm_layer* m_showLayers; + QMap<pid_t, t_ilm_surface> m_appSurfaces; QMap<pid_t, t_ilm_layer> m_appLayers; int getLayerRenderOrder(t_ilm_layer* id_array); @@ -60,8 +60,12 @@ private: pid_t m_pending_to_show; - void addSurfaceToAppLayer(const int surfaceID); + void addSurface(const t_ilm_surface surfaceId); + t_ilm_layer addSurfaceToAppLayer(pid_t pid, const int surfaceId); void addSurfaceToLayer(const int surfaceId, const int layerId); + + void configureHomeScreenMainSurface(const t_ilm_surface surface, const t_ilm_int width, const t_ilm_int height); + void configureAppSurface(const pid_t pid, const t_ilm_surface surface, const t_ilm_int width, const t_ilm_int height); #endif void updateScreen(); @@ -119,5 +123,4 @@ Q_SIGNALS: // SIGNALS void surfaceVisibilityChanged(int surfaceId, bool visible); }; - #endif // WINDOWMANAGER_HPP |