Commit Graph
1169 Commits
Author SHA1 Message Date
Vincent Wei 464adfa3e2 Under compositing schema, we do not allocate mask rectangles
for round corners. Instead, we get the region of window znode
in ServerGetWinZNodeRegion.
2020-02-04 10:37:52 +08:00
Vincent Wei 217e5971b4 new inline function: __mg_get_nr_idle_slots (moved from desktop.c) 2020-02-04 10:37:24 +08:00
Vincent Wei 07a790e284 debug fallback compositor: on_dirty_ppp 2020-02-03 22:32:43 +08:00
Vincent Wei 2f1f520151 _REGION_DEBUG -> _DEBUG_REGION 2020-02-03 22:32:01 +08:00
Vincent Wei 5a344f8102 _REGION_DEBUG -> _DEBUG_REGION 2020-02-03 22:31:47 +08:00
Vincent Wei f2e476b9ff debug ServerGetPopupMenuZNodeRegion 2020-02-03 22:30:37 +08:00
Vincent Wei 2a38ea9695 fix typos 2020-02-03 22:29:28 +08:00
Vincent Wei 11872c1288 initial version of on_dirty_ppp 2020-02-03 17:58:13 +08:00
Vincent Wei 61b4b4adf9 check shared_header 2020-02-03 17:57:29 +08:00
Vincent Wei 930f99f151 check dirty_info instead of shared_header for update rects 2020-02-03 16:24:05 +08:00
Vincent Wei 4a54b94e08 tune 2020-02-03 16:08:36 +08:00
Vincent Wei d1f499a8e0 initialize update_region of cursor surface 2020-02-03 16:08:03 +08:00
Vincent Wei b8963ba3b1 always create a new memdc for popup menus 2020-02-03 16:07:20 +08:00
Vincent Wei e4bb441f1d call SyncUpdateDC after handle use input events 2020-02-03 16:06:10 +08:00
Vincent Wei ed9ce0b065 change prototype of purge_win_data 2020-02-03 16:05:14 +08:00
Vincent Wei 7f8a7c5f10 tune description words 2020-02-03 16:04:50 +08:00
Vincent Wei 5d3d051d6b use dirty_info instead of shared_surfae 2020-02-03 11:55:47 +08:00
Vincent Wei bdf5eafad8 convert_region_to_rects -> __mg_convert_region_to_rects; use dirty_info instead of shared_header 2020-02-03 11:55:18 +08:00
Vincent Wei 3ea00c7752 allocate and free dirty_info for general memory surafce 2020-02-03 11:54:11 +08:00
Vincent Wei 2cef670adc initialize dirty_info 2020-02-03 11:53:25 +08:00
Vincent Wei 84f1da38c1 initialize dirty_info to NULL 2020-02-03 11:53:05 +08:00
Vincent Wei 48f0bd1426 use dirty_info instead of shared_header 2020-02-03 11:52:46 +08:00
Vincent Wei 12e4d7bcf5 introduce GAL_DirtyInfo structure to maintain dirty info of memory dc for both shared and no shared surface 2020-02-03 11:52:19 +08:00
Vincent Wei 8f575fd887 declare __mg_convert_region_to_rects 2020-02-03 11:51:17 +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 3560f58248 initialize priv_data of z-node to NULL 2020-02-02 22:35:09 +08:00
Vincent Wei 43fa4603d5 support of private data of z-node 2020-02-02 22:34:40 +08:00
Vincent Wei fc514cd4c4 support of private data of z-node 2020-02-02 22:34:15 +08:00
Vincent Wei 07585edb1e support for private data of z-node; new APIS: ServerSetWinZNodePrivateData and ServerSetPopupMenuZNodePrivateData 2020-02-02 22:33:37 +08:00
Vincent Wei fddf3bdc45 implement ServerGetWinZNodeRegion and ServerGetPopupMenuZNodeRegion 2020-02-02 16:59:42 +08:00
Vincent Wei 5983ad2db8 message strings for new window messages 2020-02-02 16:58:58 +08:00
Vincent Wei 7ce2eea112 add RADIUS_WINDOW_CORNERS and RADIUS_POPUPMENU_CORNERS constants 2020-02-02 16:58:32 +08:00
Vincent Wei 4d4d18499c add Since 4.2.0 for new window styles and window messages 2020-02-02 16:57:36 +08:00
Vincent Wei 54bc586e39 declare ServerGetWinZNodeRegion and ServerGetPopupMenuZNodeRegion 2020-02-02 16:56:48 +08:00
Vincent Wei 14d020cccf cleanup: convert tab to spaces and trim tail spaces 2020-02-02 10:53:31 +08:00
Vincent Wei 8dbe2c63f1 cleanup code, see cleanup-code.sh 2020-02-02 10:46:29 +08:00
Vincent Wei d7c398fd4d use semaphore set instead of posix semaphore 2020-02-01 22:54: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 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 af9e425dd0 use system v semphore set instead of poxis semaphore 2020-02-01 21:44:34 +08:00
Vincent Wei ccfe97326b discard semaphore set for shared surfaces 2020-02-01 21:43:47 +08:00
Vincent Wei 01cf335f6e enhance semaphore set manager 2020-02-01 21:43:15 +08:00
Vincent Wei 2747dcaaf1 add semid_shared_surf and SHAREDRES_SEMID_SHARED_SURF 2020-02-01 21:42:49 +08:00
Vincent Wei d6eae17d0f use system v semaphore set instead of poxis semaphore 2020-02-01 21:42:16 +08:00
Vincent Wei 65d6c5305e declare __mg_alloc_sem_for_shared_surf and __mg_free_sem_for_shared_surf 2020-02-01 21:41:36 +08:00
Vincent Wei 3398824940 declare functions for semaphore set manager 2020-02-01 21:41:06 +08:00
Vincent Wei 73ef5db613 tune my_sem_op and define LOCK_SURFACE_SEM and UNLOCK_SURFACE_SEM 2020-02-01 21:40:32 +08:00
Vincent Wei 4bfabc20a7 use System V semaphore set instead of posix semphore for shared surface 2020-02-01 21:39:29 +08:00
Vincent Wei 8bfded59be define MAX_NR_SHARED_SURF 2020-02-01 21:37:51 +08:00