Age | Commit message (Collapse) | Author | Files | Lines |
|
rename WindowManager APIs as follows:
- activateSurface -> activateWindow
- deactivateSurface -> deactivateWindow
The "surface" means information of display material frame buffer
anaged by Graphics Subsystem (Weston).
And the "window" means the right to draw on display.
The "surface" is physical information and used inside WindowManager.
So we think it is not good for "surface" to be included in API name.
These APIs provide the function
which is to activate/deactivate the right to draw for the applications.
So we change to "activateWindow/deactivateWindow".
We plan to delete the old API by GG.
Therefore the applications can use old APIs until GG,
but the warning "-Wdeprecated-declarations" is occured when compile.
After GG, old APIs can not be used.
If use it, the error is occured when compile.
Bug-AGL: SPEC-1565
Change-Id: I8a4aa5b8b43e1d90fe28964a41257b1947ab5174
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
Add events
screen_updated
* emitted when the displayed application changed.
error
* emitted when a error happens after request is accepted.
Related commit:
https://gerrit.automotivelinux.org/gerrit/#/c/14761/
Change-Id: I3c91c053668490fe68e45121a34e1fae5cd403fc
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
getDisplayInfo() can get the display information as follows:
- width[pixel]
- height[pixel]
- width[mm]
- height[mm]
NOTE:
It uses wl_output::geometry() for getting physical width[mm] and height[mm] of the display,
but the value is different with measured value.
value from wl_output::geometry(): width:320 height:520
measured value : width:193 height:343
getAreaInfo() can get the information of area drawn by the application as follows:
- x-coordinate
- y-coordinate
- width
- height
The details are described in doc/ApplicationGuide.md in project apps/agl-service-windowmanager-2017.
Bug-AGL: SPEC-1087
Change-Id: Icee00af4ab210b056cc67c2868ef2c594da1dbe1
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
To run XDG application on AGL HomeScreen/WindowManager,
a new binding API of WindowManager is added.
This api is used only by AGL XDG-Launcher and
all xdg applications should be packed as wgt compatible
to AGL Application framework.
Bug-AGL: SPEC-1096
Change-Id: Iea43c65ce03a352773c47e125490990f32dc9695
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
'constexpr' causes the warning [-Wwrite-strings].
So replace 'constexpr' with 'const char*'.
Change-Id: I03e2c7b53e4db6cb5b804c66cb88ae15e2387eb8
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
The windowmanager server treats the event list as a vector,
thus it numbers the events starting from 0.
Likewise we need to change the eventlist to start from 0 in this library.
Related commit : https://gerrit.automotivelinux.org/gerrit/#/c/11481/
Bug-AGL: SPEC-987
Change-Id: I72a36033191b0a43fc8ab6923e2897715d02bcbd
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
For future extensibility, change the argument parameter to json_object
Bug-AGL: SPEC-990
Conflicts:
src/libwindowmanager.cpp
Change-Id: I7015fe26d22489f250b67907870d2863d1e8158b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Related commit : https://gerrit.automotivelinux.org/gerrit/#/c/11451/
[Patch Sets 2]
- Remove doc/* because these documents are integtrated
to agl-service-windowmanager-2017.
https://gerrit.automotivelinux.org/gerrit/#/c/11507/1
- Modify the function comments to doxygen format.
Bug-AGL : SPEC-993
Change-Id: Id82ee513e06f0c12eba044b8d42d8dde68063168
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|