Commit Graph
183 Commits
Author SHA1 Message Date
Vincent Wei e98816f392 optimize fallback compositor 2020-02-06 10:58:04 +08:00
Vincent Wei 49f1ac7ef7 initialize lock_count for new znode to zero 2020-02-06 10:57:39 +08:00
Vincent Wei c797ed6bdc continue to implement the fallback compsoitor 2020-02-05 22:27:49 +08:00
Vincent Wei 87ee4d5917 cleanup 2020-02-05 22:24:43 +08:00
Vincent Wei 4b9dca95a2 on_raising_win -> on_raised_win 2020-02-05 22:24:25 +08:00
Vincent Wei df94f00ae6 tune comment words 2020-02-05 17:28:23 +08:00
Vincent Wei 2ff668e11a do not forget to call SyncUpdateDC even if left_rgn is empty 2020-02-05 17:27:54 +08:00
Vincent Wei da815e2779 check out of bound of znode rectangle in cb_circle_corners 2020-02-05 12:36:36 +08:00
Vincent Wei 120ed895df use SubtractRegion instead of SubtractClipRect 2020-02-05 12:36:07 +08:00
Vincent Wei 9b7e6007ac continue to implement the fallback compositor: wallpaper and popup menus are almost ready now. 2020-02-05 11:08:11 +08:00
Vincent Wei dcb79f71d2 disable field age of ZORDERNODE for compositing schema 2020-02-05 11:06:31 +08:00
Vincent Wei 37de21cc42 tune calls of compositor operations 2020-02-04 21:46:03 +08:00
Vincent Wei e74b13f462 continue to implement the fallback compositor 2020-02-04 21:45:09 +08:00
Vincent Wei 0c40391322 travel all window znodes on all layers 2020-02-04 21:44:27 +08:00
Vincent Wei 3d6eca8258 call on_dirty_rect 2020-02-04 12:11:16 +08:00
Vincent Wei bdc1231a41 check available of purge_ppp_data and purge_win_data 2020-02-04 12:09:54 +08:00
Vincent Wei b0d434b857 initial implementation of on_dirty_rect 2020-02-04 12:09:32 +08:00
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 07a790e284 debug fallback compositor: on_dirty_ppp 2020-02-03 22:32:43 +08:00
Vincent Wei f2e476b9ff debug ServerGetPopupMenuZNodeRegion 2020-02-03 22:30:37 +08:00
Vincent Wei 11872c1288 initial version of on_dirty_ppp 2020-02-03 17:58:13 +08:00
Vincent Wei 4a54b94e08 tune 2020-02-03 16:08:36 +08:00
Vincent Wei b8963ba3b1 always create a new memdc for popup menus 2020-02-03 16:07:20 +08:00
Vincent Wei 48f0bd1426 use dirty_info instead of shared_header 2020-02-03 11:52:46 +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 fddf3bdc45 implement ServerGetWinZNodeRegion and ServerGetPopupMenuZNodeRegion 2020-02-02 16:59:42 +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 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 6319fe06f9 tune fallback operatings to support changes of wallpaper pattern 2020-01-22 16:17:57 +08:00
Vincent Wei 693292d8bf initialize dirty_rcs to NULL for allocated new z-nodes 2020-01-22 11:49:26 +08:00
Vincent Wei d2be775e37 implement __compsor_check_znodes 2020-01-22 11:48:39 +08:00
Vincent Wei 84d32199a6 tune fallback compositor 2020-01-22 11:48:19 +08:00
Vincent Wei 280b55ac7c mark deprecated 2020-01-22 09:10:32 +08:00
Vincent Wei 02115fb258 use mg_slice_alloc0 and mg_slice_free 2020-01-22 09:10:05 +08:00
Vincent Wei 3289d74a83 cleanup 2020-01-22 09:09:26 +08:00
Vincent Wei ba29a38202 interset with screen before calling GAL_BlitSurface 2020-01-22 08:39:53 +08:00
Vincent Wei ddaa8cd3a0 debug cursor showing 2020-01-21 20:03:01 +08:00
Vincent Wei 2d9c6afda8 cleanup 2020-01-21 20:01:41 +08:00
Vincent Wei 7ed4d9244b enhance kernel_IsOnlyMe to remove old semaphore sets; use flock to check IsOnlyMe 2020-01-21 17:36:58 +08:00
Vincent Wei b1d9b3eb4f cleanup 2020-01-21 17:35:40 +08:00
Vincent Wei 5b55d1b7ac cleanup 2020-01-21 17:35:30 +08:00
Vincent Wei a01908e56f support for software cursor for compositing schema 2020-01-21 17:35:18 +08:00
Vincent Wei 947cde2e9b tune kernel_ShowCursorForGDI for compositing schema 2020-01-21 12:08:07 +08:00
Vincent Wei 6440db4446 reflect the change of mg_InitScreenDC 2020-01-21 10:34:49 +08:00
Vincent Wei e0c4874bb9 move definitaion of __mg_layer to src/newgal/video.c 2020-01-21 10:33:47 +08:00
Vincent Wei be051b59ea move definitaion of __mg_layer to src/newgal/video.c 2020-01-21 10:33:34 +08:00
Vincent Wei 3544a587d3 lock_cursor_sem -> LOCK_CURSOR_SEM, unlock_cursor_sem -> UNLOCK_CURSOR_SEM 2020-01-21 10:32:55 +08:00