Commit Graph
853 Commits
Author SHA1 Message Date
Vincent Wei 1c3e2bee7a implement GAL_CreateSharedRGBSurface, GAL_FreeSharedSurfaceData, GAL_AttachSharedRGBSurface, and GAL_DettachSharedRGBSurfaceData functions 2020-01-08 12:22:46 +08:00
Vincent Wei 4f49a2a559 implement __mg_create_anonymous_file 2020-01-08 12:21:57 +08:00
Vincent Wei 3f4001e395 make compositing schema disabled by default 2020-01-08 12:17:12 +08:00
Vincent Wei 2c9f7abb7c cleanup 2020-01-07 17:52:40 +08:00
Vincent Wei 650987c048 call terminate functions 2020-01-07 17:42:41 +08:00
Vincent Wei b06bf73980 cleanup 2020-01-07 17:26:28 +08:00
Vincent Wei b43b817c35 add a new field to indicate whether a video engine is ready for compositing schema 2020-01-07 17:26:07 +08:00
Vincent Wei 828b948e6f add an argument for GAL_GetVideo to indicate whether the video is ready for compositing schema 2020-01-07 17:25:28 +08:00
Vincent Wei 483d067b6e call mg_InitSemManger and mg_TerminateSemManager; cleanup 2020-01-07 17:23:26 +08:00
Vincent Wei 1a5ae775b9 add sem-manager.c 2020-01-07 17:22:32 +08:00
Vincent Wei 312dd032d1 _NR_SEM -> _NR_SYS_SEM 2020-01-07 17:22:14 +08:00
Vincent Wei c3d8e37d04 Declare struct _SharedSurfaceHeader 2020-01-07 17:21:45 +08:00
Vincent Wei 0b63e2c764 declare functions for semaphore manager 2020-01-07 17:20:54 +08:00
Vincent Wei 1c28701ebf add more constants for compositing schema 2020-01-07 17:20:22 +08:00
Vincent Wei d63f655df6 add section for compositing schema 2020-01-07 17:18:54 +08:00
Vincent Wei 2814697b1f add mg_InitSemManger, mg_TerminateSemManager, __mg_alloc_sem_for_compos, and __mg_free_sem_for_compos 2020-01-07 17:11:38 +08:00
Vincent Wei e4260b79eb Enhance mg_InitGAL to use GAL engine info from shared resource for MiniGUI-Processes 2020-01-07 09:35:51 +08:00
Vincent Wei 797b4aa83f tune for compilation errors 2020-01-06 18:37:43 +08:00
Vincent Wei 992397679a add engine information in the shared resource to avoid getting the info from bad runtime configure 2020-01-06 18:32:05 +08:00
Vincent Wei c8e35931cf pass a buffer to return the NEWGAL engine name: mg_InitGAL 2020-01-06 18:31:07 +08:00
Vincent Wei 29a51d2cf2 move some common constants to constants.h 2020-01-06 17:19:06 +08:00
Vincent Wei 447235b36a Remove unused local variable: newfd 2020-01-06 16:55:50 +08:00
Vincent Wei ca2e35df32 Use #ifdef _MGRM_PROCESSES instead of #ifndef _MGRM_THREADS 2020-01-06 16:55:32 +08:00
Vincent Wei fdb2ef360a cleanup: comment out unused fields in G_RES 2020-01-06 16:54:56 +08:00
Vincent Wei 6363f34c7f use_shm_open -> use_shmopen 2020-01-06 16:54:11 +08:00
Vincent Wei 24c786aa8a cleanup: change copyright year 2020-01-06 16:09:11 +08:00
Vincent Wei e9d0b3fab8 cleanup 2020-01-06 15:24:19 +08:00
Vincent Wei c088a580ca Implement ServerSendReplyEx, RegisterRequestHandlerV1, GetRequestHandlerV1, and GetRequestHandlerEx.
Use sock_recvmsg to handle request.
2020-01-06 15:03:57 +08:00
Vincent Wei f8af8b7295 Implement sock_sendmsg_t and sock_recvmsg_t. 2020-01-06 15:02:48 +08:00
Vincent Wei 103470b92d Remove global variable mgIsServer. 2020-01-06 15:02:01 +08:00
Vincent Wei 3926220212 Use a static global variable _is_server to implement IsServer. 2020-01-06 15:00:23 +08:00
Vincent Wei dc4c793b30 Declare new internal APIs: sock_sendmsg_t/sock_sendmsg, sock_recvmsg_t/sock_recvmsg. 2020-01-06 14:59:22 +08:00
Vincent Wei fadec4db94 Implement ClientRequestEx2;
Cleanup
2020-01-06 14:56:24 +08:00
Vincent Wei 2c2cb2c691 Introduce a new API IsServer and make mgIsServer to be a macro calling IsServer;
Introduce a new API ClientRequestEx2 and make ClientRequestEx to be a macro calling ClientRequestEx2;
Introduce a new API ServerSendReplyEx and make ServerSendReply to be a macro calling ServerSendReplyEx;
Introduce a new API RegisterRequestHandlerV1 to register an extended request handler;
Introduce a new API GetRequestHandlerV1 to get the exteneded request handler;
Introduce a new API GetRequestHandlerEx to get the request handler and the version of the handler;
Tune the prototypes of sock_write_t and sock_read_t to use size_t, ssize_t, and DWORD for count, return value, and timeout value repectively.
2020-01-06 14:50:00 +08:00
Vincent Wei 6aba2ed89b add -lrt to DEP_LIBS if use shm_open 2020-01-05 16:50:31 +08:00
Vincent Wei 6e744641d1 add --enable-shmopen option 2020-01-05 16:47:17 +08:00
Vincent Wei 5192a93a07 cleanup 2020-01-05 16:39:15 +08:00
Vincent Wei 4cdc911a0f more words for compositing schema 2020-01-05 14:44:37 +08:00
Vincent Wei c3b65b82bb tuning: add sharedfb_schema and MGUSE_SHAREDFB macro 2020-01-05 14:44:20 +08:00
Vincent Wei 0a955d6682 cleanup: remove redundant checking of _MGRM_STANDALONE 2020-01-05 14:43:14 +08:00
Vincent Wei 56c701e8d9 introduction words for compositing schema; change --enable-compositor to --enable-compositing 2020-01-03 18:15:42 +08:00
Vincent Wei 04b3713de9 BUGFIXING: bad initialization of a BITMAP structure (the saved bitmap under cursor); CLEANUP 2020-01-02 18:27:36 +08:00
Vincent Wei 74e60ed204 cleanup 2020-01-02 11:28:29 +08:00
Vincent Wei c107fcbc48 DRI -> DRM; new option: --enable-compositor 2020-01-02 10:43:39 +08:00
Vincent Wei dec68ac181 cleanup: remove _LITE_VERSION and _STAND_ALONE macros 2019-12-31 11:17:00 +08:00
Vincent Wei 9a6b208a85 FIXBUG: bad handling of repeated keydowns 2019-12-30 11:47:30 +08:00
Vincent Wei 28e49dd768 Version -> Version.md ver-4-0-4 2019-12-24 11:49:56 +08:00
Vincent Wei d5200eec58 add ignored subdirectories 2019-12-24 10:44:59 +08:00
Vincent Wei d35bde9a4c fix some misspells 2019-12-24 10:02:49 +08:00
Vincent Wei daab1ae19b Merge branch 'gpu-integration' 2019-12-24 10:00:19 +08:00