Commit Graph

832 Commits

Author SHA1 Message Date
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
Vincent Wei
3e8e8a5984 4.1.0 -> 4.0.4; release notes 2019-12-24 09:59:48 +08:00
Vincent Wei
3f80c9f3c0 check surface for GetVideoHandle 2019-12-12 15:01:44 +08:00
Vincent Wei
548117ac06 call drmModeAddFB2 for scanout buffer 2019-12-02 17:27:48 +08:00
VincentWei
6339a7417b __dri_ex_driver_get to __drm_ex_driver_get 2019-12-02 14:31:48 +08:00
Vincent Wei
a2e4b55966 cleanup 2019-12-02 11:09:12 +08:00
Vincent Wei
fb90d5e164 debug 2019-12-01 14:01:11 +08:00
Vincent Wei
68a29d0e53 check whether the driver is initialized 2019-12-01 12:46:10 +08:00
Vincent Wei
117b79e51c change default DRM driver name 2019-12-01 12:45:46 +08:00
Vincent Wei
3df060c5da add argument name to InitGUI 2019-11-28 12:30:09 +08:00
Vincent Wei
cd558b1739 add prime_fd and name fields for DrmSurface object and info 2019-11-25 17:12:17 +08:00
Vincent Wei
873e88313b dri -> drm 2019-11-21 10:57:33 +08:00
Vincent Wei
f0975518b1 change since 4.0.4 to since 4.1.0 2019-11-21 10:25:59 +08:00
Vincent Wei
14075969bd user DRM/drm instead of DRI/dri for DRM engine and APIs 2019-11-21 10:25:03 +08:00
Vincent Wei
47ec0374c5 change version to 4.1.0 2019-11-20 13:52:32 +08:00
Vincent Wei
6af2f7a67b change version to 4.1.0 and fix bad libdrm includ path 2019-11-20 11:28:54 +08:00
Vincent Wei
db0956431d add exdrv_handle for the handle of the shared library for the external DRM driver 2019-11-20 10:35:04 +08:00
Vincent Wei
de64d2ac96 use dlopen to load external DRM driver 2019-11-20 10:34:21 +08:00
Vincent Wei
38234739e5 add a new argument to __dri_ex_driver_get: device_fd 2019-11-20 10:33:40 +08:00
Vincent Wei
c6a4943aae add new key for dri section: exdriver 2019-11-20 10:32:59 +08:00
Vincent Wei
7a7dd5b6e5 implement IsScreenDC and IsWindowDC 2019-11-19 15:59:40 +08:00
Vincent Wei
7123f08da6 add IsScreenDC and IsWindowDC 2019-11-19 15:59:10 +08:00