Commit Graph

340 Commits

Author SHA1 Message Date
Vincent Wei
14d020cccf cleanup: convert tab to spaces and trim tail spaces 2020-02-02 10:53:31 +08:00
Vincent Wei
1aa5f30f19 change MAX_SYS_REQID to 0x0022 2020-02-01 21:36:46 +08:00
Vincent Wei
025ac76316 ServerGetZNodeHeader -> ServerGetWinZNodeHeader, ServerReleaseZNodeHeader -> ServerReleaseWinZNodeHeader 2020-01-22 16:16:59 +08:00
Vincent Wei
ef0a6b9520 make SyncUpdateDC and SyncUpdateSurface inline for not defined _MGUSE_SYNC_UPDATE and/or not defined _MGSCHEMA_COMPOSITING 2020-01-22 16:16:14 +08:00
Vincent Wei
3ed116b53b add dirty_age, nr_dirty_rcs, and dirty_rcs fields in ZNODEHEADER for compositing schema; lock shared surface in ServerGetZNodeHeader and ServerGetPopupMenuZNodeHeader if specified and return the dirty rects info; declare ServerReleaseZNodeHeader and ServerReleasePopupMenuZNodeHeader; tune compositor operations: on_dirty_ppp, on_dirty_win, and on_dirty_wpp 2020-01-22 11:46:18 +08:00
Vincent Wei
c5b83c9498 declare SyncUpdateSurface 2020-01-21 14:37:33 +08:00
Vincent Wei
371038040f add changes to ZNODEHEADER and init it to zero when allocating a new znode 2020-01-20 18:36:30 +08:00
Vincent Wei
3b1351b128 add changes in ZNODEHEADER and tune the operation names 2020-01-20 18:20:30 +08:00
Vincent Wei
2120020801 tune CompositorOps 2020-01-20 16:50:37 +08:00
Vincent Wei
d3835670ac tune CompositorOps 2020-01-20 11:55:14 +08:00
Vincent Wei
30353afdf8 declare ServerGetPrevZNode, ZNODEHEADER, ServerGetZNodeHeader, ServerGetPopupMenusCount, and ServerGetPopupMenuZNodeHeader 2020-01-19 19:13:33 +08:00
Vincent Wei
c1ad338f12 declare ServerRegisterCompositor, ServerUnregisterCompositor, ServerGetCompositorOps, ServerSelectCompositor, __ex_compositor_get, and struct _CompositorOps 2020-01-19 16:18:46 +08:00
Vincent Wei
b6b9abdf33 cleanup 2020-01-17 18:55:12 +08:00
Vincent Wei
a5134fec40 cleanup 2020-01-17 15:50:23 +08:00
Vincent Wei
5ba5476441 tune constants for znode 2020-01-17 11:59:28 +08:00
Vincent Wei
a4355c6b9d use field ct instead of znode flag 2020-01-17 08:54:11 +08:00
Vincent Wei
26d0cec9a9 add MSG_UPDATECLIWIN 2020-01-16 18:07:27 +08:00
Vincent Wei
0c697163ba cleanup; declare ServerMoveClientToLayer and MoveToLayer 2020-01-16 18:06:46 +08:00
Vincent Wei
85480871fb tune and cleanup 2020-01-16 14:59:31 +08:00
Vincent Wei
46621017c8 enhance to support compositing type and argument for CreateMainWindowEx2 2020-01-16 12:15:34 +08:00
Vincent Wei
4f6a0aebf5 implement SetMainWindowAlwaysTop and SetMainWindowCompositing 2020-01-16 11:45:19 +08:00
Vincent Wei
8ea2493132 tune flags for znode; add new types for popupmenu, screenlock, docker, and launcher; add new flags for maximized and minimized for future use 2020-01-16 09:37:14 +08:00
Vincent Wei
38287abb1c declare CreateMainWindowEx2, WS_ALWAYSTOP, WS_EX_WINTYPE_MASK, WS_EX_WINTYPE_SCREENLOCK, WS_EX_WINTYPE_DOCKER, WS_EX_WINTYPE_LAUNCHER, SetMainWindowAlwaysTop, SetMainWindowCompositing 2020-01-15 18:36:32 +08:00
Vincent Wei
7fad5d2752 cleanup 2020-01-15 18:34:34 +08:00
Vincent Wei
cd5c13bf3e restore shared znode info and add mem_dc field for compositing schema 2020-01-14 11:59:44 +08:00
Vincent Wei
76d99caff7 zorder_shmid only for _MGSCHEMA_SHAREDFB; _MGUSE_COMPOSITING -> _MGSCHEMA_COMPOSITING 2020-01-13 17:58:28 +08:00
Vincent Wei
9547020633 New API: GetScreenRect and define g_rcScr as a macro calling GetScreenRect 2020-01-12 14:26:51 +08:00
Vincent Wei
e9db07e428 description of HDC_SCREEN, HDC_SCREEN_SYS under compositing schema 2020-01-10 19:04:36 +08:00
Vincent Wei
e75144e069 cleanup and eliminate compilation errors 2020-01-10 16:25:52 +08:00
Vincent Wei
74f6510971 new API: LoadCursorFromPNGFile, LoadCursorFromPNGMem 2020-01-09 12:13:03 +08:00
Vincent Wei
582ed130a7 new API: LoadBitmapEx2 2020-01-09 12:12:18 +08:00
Vincent Wei
24c786aa8a cleanup: change copyright year 2020-01-06 16:09:11 +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
dec68ac181 cleanup: remove _LITE_VERSION and _STAND_ALONE macros 2019-12-31 11:17:00 +08:00
Vincent Wei
28e49dd768 Version -> Version.md 2019-12-24 11:49:56 +08:00
Vincent Wei
3e8e8a5984 4.1.0 -> 4.0.4; release notes 2019-12-24 09:59:48 +08:00
VincentWei
6339a7417b __dri_ex_driver_get to __drm_ex_driver_get 2019-12-02 14:31:48 +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
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
38234739e5 add a new argument to __dri_ex_driver_get: device_fd 2019-11-20 10:33:40 +08:00
Vincent Wei
7123f08da6 add IsScreenDC and IsWindowDC 2019-11-19 15:59:10 +08:00
Vincent Wei
064ceade0f tune _WRN_PRINTF and _DBG_PRINTF 2019-11-19 09:41:47 +08:00
Vincent Wei
8832f051a8 add create_buffer_from_prime_fd operation 2019-11-19 09:41:13 +08:00
Vincent Wei
def8833037 add driCreateDCFromPrimeFd 2019-11-19 09:40:06 +08:00
Vincent Wei
5b340d82dc GetSurfaceHandle -> GetVideoHandle; tune driGetDeviceFD and driGetSurfaceInfo; add driCreateDCFromName and driCreateDCFromHandle 2019-11-18 19:01:33 +08:00
Vincent Wei
64be953123 tune interface of create_buffer_from_name; add DRI driver method create_buffer_from_handle 2019-11-18 18:59:27 +08:00
Vincent Wei
637dbbce68 change link to licensing policy 2019-11-13 11:53:59 +08:00
Vincent Wei
bb63875964 new API: IsMemDC 2019-11-06 17:04:24 +08:00