Commit Graph
79 Commits
Author SHA1 Message Date
Vincent Wei 0e9b23efec always check timers in the idle handler 2020-02-25 17:16:09 +08:00
Vincent Wei cf7cb4c831 timer_count -> tick_count; use __mg_update_tick_count; cleanup MSG_TIMER handling of desktop 2020-02-22 16:06:57 +08:00
Vincent Wei c015eff8f0 call __mg_check_expired_timers in the idle handler 2020-02-21 20:02:28 +08:00
Vincent Wei 864be6b36d tune code for no timer thread for MiniGUI-Threads runmode; remove mg_InstallIntervalTimer and mg_UninstallIntervalTimer, always use mg_InitTimer and mg_TerminateTimer instead 2020-02-21 12:54:24 +08:00
Vincent Wei 3f9939955d SetDesktopTimerFlag -> AlertDesktopTimerEvent 2020-02-20 19:36:16 +08:00
Vincent Wei f555fc9c8f tune debug info 2020-02-20 17:47:39 +08:00
Vincent Wei c0bd1a98d1 use ZOF_TYPE_BOTTOMMOST and ZOF_TYPE_TOPMOST 2020-02-20 15:51:33 +08:00
Vincent Wei ab1dbb767a fix conditional compilation errors and tune 2020-02-19 22:12:54 +08:00
Vincent Wei d24788134f tune code for eight levels of zorder nodes 2020-02-19 19:38:25 +08:00
Vincent Wei 6f132886c3 4.2.0 -> 5.0.0 2020-02-18 18:44:42 +08:00
Vincent Wei cd6ba8e838 tune code for listen fd sets from message queue 2020-02-16 18:50:52 +08:00
Vincent Wei 664c30fb94 tune code for listen fd sets from message queue 2020-02-16 18:50:36 +08:00
Vincent Wei 21160fb01d rename internal symbols for better coding style 2020-02-14 12:54:54 +08:00
Vincent Wei 169e163202 cleanup 2020-02-12 17:58:41 +08:00
Vincent Wei 7635e41d25 do not call kernel_ReShowCursor for compositing schema 2020-02-11 23:59:53 +08:00
Vincent Wei 41cd8938cf call kernel_ReShowCursor for compositing schema 2020-02-11 11:11:15 +08:00
Vincent Wei f00ae8e932 fix bugs of recursive lock of znode surface 2020-02-10 22:54:04 +08:00
Vincent Wei f9dc61c75e cleanup 2020-02-07 19:06:41 +08:00
Vincent Wei bfefb0b6b5 fix conditional compilation error 2020-02-07 19:04:46 +08:00
Vincent Wei e324e53c0a call on_layer_op for compositor 2020-02-07 12:11:11 +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 739d90a15f tune to support recursive lock 2020-02-06 10:57:02 +08:00
Vincent Wei a19b2c9f19 ignore the attempt to free the first semaphore for shared surface (reserved for wallpaper pattern 2020-02-05 22:26:19 +08:00
Vincent Wei dcb79f71d2 disable field age of ZORDERNODE for compositing schema 2020-02-05 11:06:31 +08:00
Vincent Wei d480eb5cf0 move __mg_is_valid_layer to server.h and make it inline 2020-02-04 21:46:29 +08:00
Vincent Wei 5d3d051d6b use dirty_info instead of shared_surfae 2020-02-03 11:55:47 +08:00
Vincent Wei fa9aacf3af rename __mg_compsor_check_znodes to __mg_composite_dirty_znodes 2020-02-02 22:36:17 +08:00
Vincent Wei f8503f6943 support for private data of z-node; implement ServerSetWinZNodePrivateData and ServerSetPopupMenuZNodePrivateData 2020-02-02 22:35:51 +08:00
Vincent Wei 8dbe2c63f1 cleanup code, see cleanup-code.sh 2020-02-02 10:46:29 +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 485f2602cd implement __mg_alloc_sem_for_shared_surf and __mg_free_sem_for_shared_surf; create semphore set manager for shared surfaces 2020-02-01 21:46:24 +08:00
Vincent Wei eed7f70cf9 ServerGetZNodeHeader -> ServerGetWinZNodeHeader, ServerReleaseZNodeHeader -> ServerReleaseWinZNodeHeader 2020-01-22 16:19:33 +08:00
Vincent Wei 8670da5d62 fix conditional compilation errors 2020-01-22 14:04:39 +08:00
Vincent Wei 54a991098e call __compsor_check_znodes 2020-01-22 11:55:47 +08:00
Vincent Wei 93b0ab5f0a tune and implement ServerReleaseZNodeHeader and ServerReleasePopupMenuZNodeHeader 2020-01-22 11:50:17 +08:00
Vincent Wei 2de5a41851 use get_sem_key_for_layers instead of get_sem_key 2020-01-21 17:39:55 +08:00
Vincent Wei 733d1c3377 lock_mousemove_sem -> LOCK_MOUSEMOVE_SEM, unlock_mousemove_sem -> UNLOCK_MOUSEMOVE_SEM 2020-01-21 10:39:19 +08:00
Vincent Wei 4f1527c898 lock_draw_sem -> LOCK_DRAW_SEM; unlock_draw_sem -> UNLOCK_DRAW_SEM 2020-01-21 10:38:49 +08:00
Vincent Wei dc0ff60b80 init compositor manager in ServerStartup 2020-01-20 18:47:57 +08:00
Vincent Wei 50fa5b53f8 tune zorder_op 2020-01-19 19:20:38 +08:00
Vincent Wei f2b8663e29 implement ServerGetPopupMenuZNodeHeader, ServerGetPopupMenusCount, ServerGetZNodeHeader, ServerGetPrevZNode; tune implementation of ServerDoZNodeOperation, ServerGetZNodeInfo, and ServerGetNextZNode 2020-01-19 19:19:58 +08:00
Vincent Wei d13bbf9d33 zi->nr_globals set to 0 initially 2020-01-17 17:25:39 +08:00
Vincent Wei 500b85d74a handle fixed znodes 2020-01-17 15:53:08 +08:00
Vincent Wei acd0c95301 tune implementation of do_alloc_layer for fixed znodes 2020-01-17 12:02:15 +08:00
Vincent Wei a4355c6b9d use field ct instead of znode flag 2020-01-17 08:54:11 +08:00
Vincent Wei 903a42d193 cleanup 2020-01-16 18:13:34 +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 8caeb31f79 implement ServerMoveClientToLayer and initialize fixed znode for new layers 2020-01-16 18:11:43 +08:00
Vincent Wei 3a2a363c4f copy ct_arg in ServerGetZNodeInfo 2020-01-16 14:59:23 +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