Commit Graph
67 Commits
Author SHA1 Message Date
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
Vincent Wei d4e066cbc9 cleanup 2020-01-15 17:32:22 +08:00
Vincent Wei 1b7c1ffaf4 ZOF_TF_TOPFOREVER -> ZOF_TF_STUCK 2020-01-15 15:41:26 +08:00
Vincent Wei 23a46ce08f use SHAREDSURFINFO to return the wallpaper pattern surface information 2020-01-15 10:15:31 +08:00
Vincent Wei e8d6e479e1 field surf for compositing schema 2020-01-14 18:21:40 +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 2dd3c89848 restore shared znode info 2020-01-14 12:11:33 +08:00
Vincent Wei 9c392a3229 _MGUSE_COMPOSITING -> _MGSCHEMA_COMPOSITING; _MGUSE_SHAREDFB -> _MGSCHEMA_SHAREDFB 2020-01-13 18:10:01 +08:00
Vincent Wei 8020e09de5 tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:09:04 +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 fde2299126 Call GetScreenRect for usage of &g_rcScr 2020-01-12 14:27:13 +08:00
Vincent Wei e75144e069 cleanup and eliminate compilation errors 2020-01-10 16:25:52 +08:00
Vincent Wei 70ce5dbe74 do not call kernel_ReShowCursor for compositing schema 2020-01-10 11:22:03 +08:00