summaryrefslogtreecommitdiffstats
path: root/sample/simple-egl/src/simple-egl.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-12-08Merge sandbox source code to mastereel_5.1.0eel_5.0.3eel_5.0.2eel_5.0.1eel_5.0.0eel_4.99.5eel/5.1.0eel/5.0.3eel/5.0.2eel/5.0.1eel/5.0.0eel/4.99.55.1.05.0.35.0.25.0.15.0.04.99.5eelzheng_wenlong1-118/+31
Modify libwindowmanager's requestSurface api. Change failed log to HMI_ERROR. Delete global variable gWindow. Delete split window code. Change-Id: I83df68f2ae3d34d7589370df4010f5b297662f69 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> (cherry picked from commit 478ad89b8da9d5bc68755433cab4963b7d0c8b96)
2017-10-31Add debug message macros controlled by environment variablezheng_wenlong1-41/+29
Add a HMI_DEBUG macro to print debug messages. It is controlled by the USE_HMI_DEBUG environment variable. BUG-AGL: SPEC-998 Change-Id: Ic1a3c8267e736def4456204f14bdac38ad105fe8 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-31Use correct windowmanager api calling sequencezheng_wenlong1-26/+47
For an application which doesn't use qt, but wants to use the windowmanager-service, the application needs to call the windowmanager api in the correct sequence. Change this sample application to use the correct sequence. Rule1: Between activeSurface and syncDraw, application should not draw anything. Rule2: An application can change the window size when it received a syncDraw event, it does not need to do it in ivi_surface configuration. [Patch Sets 2] Miss a drawing control flag code, fix it. BUG-AGL: SPEC-988 Change-Id: I913d80653c864b5c1039da9a15b616666bdde6e3 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Modify function argument from char to jsonzheng_wenlong1-18/+47
Change libhomescreen event api from char to json. Also modify samples who use this. BUG-AGL: SPEC-992 Change-Id: Id3986d413f9494019f6b175488dd73de226ba020 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Move sample from agl-service-homescreen-2017zheng_wenlong1-0/+744
This sample is using libhomescren with homescreen sevice, So better move inside of libhomescreen. Related Commit: https://gerrit.automotivelinux.org/gerrit/#/c/11429/ [Patch Sets 2] Rebased to c0e6b4d9496eacabeffc4115fad7c1a288de60c8 [Patch Sets 3] Delete ivi-application-client-protocol.h and some trailing whitespace. [Patch Sets 4] Change temlate/README to README.md [Patch Sets 5] Rebased to 572023336d9573d3d5636d7e61a8dd3ed8878b0d [Patch Sets 6] Add LICENSE.APL-2.0 and LICENSE.MIT to sample. Modify config.xml license to APL 2.0 + MIT. BUG-AGL: SPEC-988 Change-Id: Id9a1a2401a9a0a42442ce84025213036a4fccd78 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>