aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland.cpp
AgeCommit message (Collapse)AuthorFilesLines
2018-01-24Change the protocol from ivi-controller to ivi-wmYuta Doi1-734/+0
This patch is for master branch only. For using wayland-ivi-extension version 2.x, the wayland protocol in WindowManager is changed from ivi-controller to ivi-wm. NOTE: If using this patch, the modification for AGL/meta-agl which described in SPEC-1244 is necessary. Bug-AGL: SPEC-1244 Change-Id: I5489db202dfeec8f4626aee53bd1f86c145b95d9 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-12-11Revert "Add APIs which can get information of display and area"Tadao Tanikawa1-3/+0
This reverts commit 6aaba1066fe89f324d4bae67497f4035fe997d5f. To fix double posts to Gerrit Review and repository directly. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-12-11Add APIs which can get information of display and areaYuta Doi1-0/+3
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-10Remove and replace the commentsYuta Doi1-58/+27
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-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-01Fix copyright to TOYOTAeel_4.99.2eel/4.99.24.99.2Kazumasa Mitsunari1-1/+1
Change-Id: I8ac0463a8efa215477593a96a45f08e38dc46e36 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-01Change namespace name to generic nameKazumasa Mitsunari1-33/+29
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-01Modify the waiting loop of the ivi configuration listenerYuta Doi1-0/+1
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-01Add debug message macros controlled by environment variableYuta Doi1-38/+39
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-10-09Add agl-service-windowmanager-2017zheng_wenlong1-0/+765
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>