Commit Graph

43 Commits

Author SHA1 Message Date
Vincent Wei
7513d461bf remove code about semaphhore for shared surface 2023-09-08 18:14:20 +08:00
Vincent Wei
c04dde31e5 use flock() instead of semaphore for shared surfaces 2023-09-01 08:35:32 +08:00
Vincent Wei
fa18025350 debug APIs for shared surfaces 2023-08-31 16:02:06 +08:00
Vincent Wei
890ab1db44 debug 2023-08-30 15:40:13 +08:00
Vincent Wei
29ac6a4277 initial implementation of new APIs of shared surface: AttachToSharedSurface(), GetSharedSurfaceInfo(), LockSharedSurfaceIfDirty(), UnlockSharedSurface(), and DetachFromSharedSurface() 2023-08-29 16:21:49 +08:00
Vincent Wei
50aafa3faa initial implementation of CreateSharedSurface(), DestroySharedSurface(), GetSharedSurfaceFDByClientWindow(), and GetSharedSurfaceFDByName() 2023-08-29 12:12:51 +08:00
Vincent Wei
5a9b08fe94 initial implementation for named shared surface 2023-08-28 16:51:46 +08:00
Vincent Wei
48b84e3100 enhance move_to_layer to handle failure of __mg_move_client_to_layer 2021-03-24 11:35:34 +08:00
Vincent Wei
62bcaebe14 tune DEF_NR_TOOLTIPS and DEF_NR_MASKRECTS 2021-03-23 19:08:51 +08:00
Vincent Wei
bc20a11744 use _ERR_PRINTF 2020-10-12 17:57:52 +08:00
Vincent Wei
1764c47131 depress compile warnings 2020-06-03 18:07:52 +08:00
Vincent Wei
058db9ccdf handler authenticate_client for REQID_AUTHCLIENT 2020-03-21 17:48:40 +08:00
Vincent Wei
d81d40f9b7 pixels_size -> map_size 2020-03-19 21:42:33 +08:00
Vincent Wei
959407d7ea do not use fd for get_shared_surface for sharedfb schema under PROC runmode 2020-03-16 23:01:28 +08:00
Vincent Wei
5fa10b3d7f check name for shared surface 2020-03-16 14:49:16 +08:00
Vincent Wei
6b47d74be7 fix compilation errors/warnings 2020-03-15 22:11:16 +08:00
Vincent Wei
1bc10fb83e use name when request the shared surface 2020-03-15 11:56:12 +08:00
Vincent Wei
3611804ecc change name of field map_size to size 2020-03-14 22:35:07 +08:00
Vincent Wei
1bbd5ea4f1 IS_SHAREDFB_SCHEMA -> IS_SHAREDFB_SCHEMA_PROCS; reflects for the changes of fields name and internal functions 2020-03-14 19:03:57 +08:00
Vincent Wei
dce4dadebf implement calculate default position for main windows 2020-02-26 12:25:54 +08:00
Vincent Wei
53f8be5826 add request handler for REQID_CALCPOSITION 2020-02-26 11:12:38 +08:00
Vincent Wei
6f132886c3 4.2.0 -> 5.0.0 2020-02-18 18:44:42 +08:00
Vincent Wei
21160fb01d rename internal symbols for better coding style 2020-02-14 12:54:54 +08:00
Vincent Wei
888c8089cd fix a bug of duplicated calls to __mg_free_sem_for_shared_surf 2020-02-06 12:41:42 +08:00
Vincent Wei
3870cd4ccb request handlers: alloc_sem_for_shared_surf and free_sem_for_shared_surf; enhance del_global_res to work with semaphore 2020-02-01 21:47:51 +08:00
Vincent Wei
50fa5b53f8 tune zorder_op 2020-01-19 19:20:38 +08:00
Vincent Wei
a4355c6b9d use field ct instead of znode flag 2020-01-17 08:54:11 +08:00
Vincent Wei
138271050f implement move_to_layer as the handler for REQID_MOVETOLAYER 2020-01-16 18:13:11 +08:00
Vincent Wei
23a46ce08f use SHAREDSURFINFO to return the wallpaper pattern surface information 2020-01-15 10:15:31 +08:00
Vincent Wei
44b7420a61 enhance zorder_op to support shared surface (use version 1 handler); 2020-01-14 12:12:25 +08:00
Vincent Wei
9c392a3229 _MGUSE_COMPOSITING -> _MGSCHEMA_COMPOSITING; _MGUSE_SHAREDFB -> _MGSCHEMA_SHAREDFB 2020-01-13 18:10:01 +08:00
Vincent Wei
1f89b02489 Do mot check whether joined a layer for request REQID_GETWPSURFACE 2020-01-12 18:30:26 +08:00
Vincent Wei
e75144e069 cleanup and eliminate compilation errors 2020-01-10 16:25:52 +08:00
Vincent Wei
c2b0de97d2 handlers for requests REQID_LOADCURSOR_PNG and REQID_LOADCURSOR_PNG_MEM 2020-01-09 12:17:34 +08:00
Vincent Wei
b06bf73980 cleanup 2020-01-07 17:26:28 +08:00
Vincent Wei
447235b36a Remove unused local variable: newfd 2020-01-06 16:55:50 +08:00
Vincent Wei
24c786aa8a cleanup: change copyright year 2020-01-06 16:09:11 +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
637dbbce68 change link to licensing policy 2019-11-13 11:53:59 +08:00
Vincent Wei
53c77a9a73 prepend excpetion list statement 2019-07-15 14:17:20 +08:00
VincentWei
62efa8b29a clean up the header copying statements 2018-02-04 17:01:37 +08:00
VincentWei
766ddb5555 tune code for 64b (MiniGUI-Processes runmode) 2018-01-19 15:35:26 +08:00
Vincent Wei
e87d052072 initical commit 2017-05-29 12:20:05 +08:00