aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-12-11Add APIs which can get information of display and areaYuta Doi8-16/+217
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. Change-Id: I41eec6251527862ef25d1b84cd37d736d3f9c8aa Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-25Fix the flipped screen problemeel_4.99.3eel/4.99.34.99.3Kazumasa Mitsunari1-2/+4
If transform=flipped-270 is set within weston.ini, the video output is incorrect. Fix the problem. Bug-AGL: SPEC-1115 Change-Id: Idc7117b4b8011e17e888d2237665b485b6ae5621 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-13Update the debug message macrosYuta Doi1-9/+29
Update the debug message macros to the latest version according to https://gerrit.automotivelinux.org/gerrit/#/c/11767/. Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-10Remove and replace the commentsYuta Doi12-151/+74
Remove the unnecessary comments and replace ascii-art comments with doxygen format. Change-Id: Id1abf56db58070a83f403a1f8280bc9888e7de09 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-10Add the fail-safe process for the configuration fileYuta Doi2-3/+50
If the configuration file "layers.json" can not be opened, windowmanager uses a default layer configuration. Change-Id: I1b20f385c5e748a90be5e930a1775a6b3a4f39a5 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-09Fix the error log on windowmanager initializationYuta Doi1-1/+1
Fix the bug which is that windowmanager outputs the error log on the initialization. Bug-AGL: SPEC-925 Change-Id: I87b20cc7840ef7241ca56ecab440f52333b1753c Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-09Update the application guideYuta Doi1-34/+31
- Change according to: - https://gerrit.automotivelinux.org/gerrit/#/c/11523/ - https://gerrit.automotivelinux.org/gerrit/#/c/11747/ - Update to the latest information. - Fix typo. Change-Id: I6ca0afa91de330219c6fba1c70d20a39282701a2 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-07Merge "Add an another example for layout configuration"Jan-Simon Moeller1-0/+41
2017-11-06Add an another example for layout configurationKazumasa Mitsunari1-0/+41
Add split version configuration. This sample configuration file enables split layout. This sample configuration means "When Navigation app(main_match) is displayed, then HVAC or MediaPlayer app requests activateSurface, Window Manager requests to be half size to HVAC|Mediaplayer and Navigation app". Change-Id: I685d7165fd43c6f4d964dedb9bf9b5f5a38807f8 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-06Update application guideYuta Doi1-46/+99
Because agl-doc converter doesn't work on current document, some HTML tags was changed. Change-Id: Ie04449e9c7c892cda155c180169b75ea02317741 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-01Fix copyright to TOYOTAeel_4.99.2eel/4.99.24.99.2Kazumasa Mitsunari20-20/+20
Change-Id: I8ac0463a8efa215477593a96a45f08e38dc46e36 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-01Change namespace name to generic nameKazumasa Mitsunari8-53/+46
The name of namespace "genivi" was used. This is not generic, so changed it to "compositor". Conflicts: src/app.cpp Change-Id: Ie088e5d404e1981f7bc149abbc20e900bea8ec2d Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-01Add LICENSE.MITKazumasa Mitsunari1-0/+20
Window Manager uses json.hpp licensed with MIT, so we need to add LICENSE file. Change-Id: Id78d482bd2edc20cbbc420d7795d4e7341305c92 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-01Update README.mdKazumasa Mitsunari1-1/+1
Link to http://docs.automotivelinux.org/docs/apis_services/en/dev/ Related change : https://gerrit.automotivelinux.org/gerrit/#/c/11507 Bug-AGL : SPEC-994 Change-Id: Iefaf4d742dc03cb37eb1bbac8514d3fe9e748ea2 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-01Layer configuration file is included in widgetYuta Doi3-6/+11
Layer configuration file (layers.json) is placed in target when installation of windowmanager. Bug-AGL: SPEC-991 Change-Id: Ia614ec400c185ec7db4379c66321363a68e5e0da Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-01Modify the waiting loop of the ivi configuration listenerYuta Doi5-11/+79
When layout is NOT normal, wait for the listener. Change-Id: Iedbb5de7a997c82613a0e1947d91ee2527f28436 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-01Update the application guideYuta Doi1-138/+325
Update the document table of contents and the api reference as the libwindowmanager is merged into the application guide. Bug-AGL: SPEC-994 Change-Id: Ic98f5ac48282878a92074f72961a4531e1b9a0a8 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-01Add debug message macros controlled by environment variableYuta Doi8-93/+150
Add a HMI_DEBUG macro to print debug messages. It is controlled by the USE_HMI_DEBUG environment variable. Change-Id: I3bc5bf2f3b0e9f5ee06f340053f29ad36e7d9dbb Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-01Modify event notification from broadcast to subscribe modelKazumasa Mitsunari4-32/+82
The event notification was implemented using a broadcast model, change it to a subscription model. Bug-AGL: SPEC-987 Change-Id: I344a3a73320eb81c3f670736b032f07400bb8f64 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-01Removed redraw_fixer.cppKazumasa Mitsunari1-128/+0
This is not needed anymore This was used for testing Change-Id: I0e1621db8a81d5eef3b91af126f748dacfc93ea7 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-01Merge "Move scripts to test directory"Jan-Simon Moeller3-7/+1
2017-11-01Move scripts to test directoryKazumasa Mitsunari3-7/+1
This scripts are not needed anymore They were used for testing [Pach Sets 2] Add tests directory After discussing, it became better to leave the test script. Then, rename the directory name from "scripts" to "tests". Move the test script to "tests" directory. Change-Id: I072b1087ef4804ae6877bb2c864a94da799141f1 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-01Merge "Add drawing_area parameter to API"Jan-Simon Moeller5-55/+76
2017-11-01Merge "Provide a json configuration file for the full screen layout"Jan-Simon Moeller1-59/+2
2017-11-01Add drawing_area parameter to APIKazumasa Mitsunari5-55/+76
Add drawing_area parameter in activateSurface API and syncDraw event. This is needed for the following feature - To request writting area - To inform application of writting area I assume that "normal.full" is a full size area in application area, and "split.[main|sub]" is an upper/lower half size area in application area. For example, when Navigation app receives syncDraw event which the label is Navigation, and the area name is "normal.full", it means Navigation will be displayed as a full size(in application area). When Navigation app receives syncDraw event which the label is same, and the area name is "split.main", it means Navigation will be displayed as an upper half size(in application area). Application must return endDraw after changing its design according to the size, when the application receives syncDraw event. Layout is defined in layers.json file. Current layout is set to full screen. Bug-AGL: SPEC-987 Change-Id: I5efed3dda88275e18dc1d951b98bdfcfc79ee46b Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-01Provide a json configuration file for the full screen layoutKazumasa Mitsunari1-59/+2
This configuration file is a sample for a full screen layout. Bug-AGL : SPEC-997 Change-Id: Ib5d5de93ee134c0bdf3ede65b41efee6c5f68413 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-10-31Merge "Change the sequence how signals are emitted"Jan-Simon Moeller1-1/+1
2017-10-26Change the sequence how signals are emittedKazumasa Mitsunari1-1/+1
According to https://wiki.automotivelinux.org/_media/agl-hmi-fw_windowmanager_spec_v0.1.0.pdf, the visible event is emitted first Bug-AGL : SPEC-987 Change-Id: I5b5fa669b31b9a5283ccc91702064207a85d838c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-10-26Remove the library from this service binderKazumasa Mitsunari9-1158/+0
The library is split to another repository, so remove it from this repository Bug-AGL: SPEC-993 Change-Id: Ifa5368077fc77fc9a964409f78d88afb0de2e8d6 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-10-23Removed library from this service binderKazumasa Mitsunari9-1158/+0
The library should be splitted to other repository, so removed it from this repository Change-Id: Ifa5368077fc77fc9a964409f78d88afb0de2e8d6 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-10-13Add gitreview file for mastereel_4.99.1eel/4.99.14.99.1Jan-Simon Möller1-0/+5
Change-Id: I686e11f2826364a6999b80636e5319755af85a54 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-09Add agl-service-windowmanager-2017zheng_wenlong54-0/+20309
Add a new binding agl-service-windowmanager-2017. A image about this see JIRA SPEC-915. [PatchSet2] Use aglwgt make package. [PatchSet3] Modify to wait until wayland compositor starts up. Bug-AGL: SPEC-925 Change-Id: I8729bb71b5e91d5b009a5bab77232d92605c43ea Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-09-28Initial empty repositoryJan-Simon Moeller0-0/+0