Commit Graph

205 Commits

Author SHA1 Message Date
Vincent Wei
ceffbddec6 send message MSG_WINDOWDROPPED for mouse message other than MSG_MOUSEMOVE 2020-02-10 22:49:53 +08:00
Vincent Wei
94a0e2fdb7 lock and unlock surface before calling on_dirty_xxx 2020-02-10 22:49:02 +08:00
Vincent Wei
a871d4b344 debug composite lucent window znodes 2020-02-10 22:48:18 +08:00
Vincent Wei
ef693e21de fix conditional compilation errors 2020-02-07 23:03:48 +08:00
Vincent Wei
e926150d6b handle special main windows 2020-02-07 23:02:09 +08:00
Vincent Wei
d9e5043c12 comment out _cb_exclude_rc for compositing schema 2020-02-07 19:04:08 +08:00
Vincent Wei
7ba3929d9f tune drag-and-drop main window for compositing schema 2020-02-07 19:03:38 +08:00
Vincent Wei
472e132844 tune dskScrollMainWindow for compositing schema 2020-02-07 17:10:34 +08:00
Vincent Wei
a0bfb4b0b1 tune 2020-02-07 16:51:42 +08:00
Vincent Wei
1fb95ac4be move call of on_changed_ct to dskSetZNodeCompositing 2020-02-07 12:10:48 +08:00
Vincent Wei
a2f202b535 fix wrong conditionla compilation error 2020-02-07 10:52:04 +08:00
Vincent Wei
32c5c3c58f cleanup; use MSG_SETWINDOWMASK instead of __kernel_change_z_node_mask_rect 2020-02-07 10:18:30 +08:00
Vincent Wei
3b8b5ffabc cleanup: assert(znode_hdr) instead of _DBG_PRINTF 2020-02-06 22:24:17 +08:00
Vincent Wei
00b36e2b78 enhancee cliMoveWindow and srvMoveWindow to support resized surface 2020-02-06 21:55:51 +08:00
Vincent Wei
6ea023aab1 change mem_dc of znode for compositing schema when the surface resized in dskMoveWindow 2020-02-06 21:53:57 +08:00
Vincent Wei
02795323d6 change dskMoveMainWindow and dskMoveGlobalControl to return value, and pass HDC_INVALID to dskMoveWindow 2020-02-06 21:52:47 +08:00
Vincent Wei
67580a65e9 implement get_znode_mask_bound for compositing schema 2020-02-06 18:20:37 +08:00
Vincent Wei
0c0d93ac3f implement on_changed_rgn and on_moved_win 2020-02-06 18:19:42 +08:00
Vincent Wei
9276b695ac calculate the original region boundn for change of region 2020-02-06 18:17:43 +08:00
Vincent Wei
a4fbd10f1d call on_changed_ct and on_changed_rgn 2020-02-06 17:50:29 +08:00
Vincent Wei
5064a14de6 get_next_visible_mainwin -> get_next_activable_mainwin; get next activable window znode before freeing the current znode 2020-02-06 16:04:09 +08:00
Vincent Wei
c7a124658f call on_dirty_screen for removed znodes 2020-02-06 11:58:30 +08:00
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