Commit Graph
1225 Commits
Author SHA1 Message Date
Vincent Wei f626523116 tune compositing type and add CT_LOGICALPIXEL 2020-02-07 12:07:55 +08:00
Vincent Wei 9e9d13623c define ZOF_TF_CONTROL to 0x04000000; add on_layer_op in CompositorOps 2020-02-07 11:53:58 +08:00
Vincent Wei ce33d28b68 add ColorCompositingOp and ColorLogicalOp 2020-02-07 11:52:57 +08:00
Vincent Wei 9bbf09c9a6 cleanup 2020-02-07 11:52:33 +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 5e5101ea38 check the return value of message MSG_MOVEMAINWIN 2020-02-06 21:51:10 +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 921036a3f2 tune for change of window mask 2020-02-06 18:16:39 +08:00
Vincent Wei a4bf2e0c2c cleanup 2020-02-06 18:15:48 +08:00
Vincent Wei a4fbd10f1d call on_changed_ct and on_changed_rgn 2020-02-06 17:50:29 +08:00
Vincent Wei e77410462b __kernel_change_z_order_mask_rect -> __kernel_change_z_node_mask_rect 2020-02-06 17:49:35 +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 888c8089cd fix a bug of duplicated calls to __mg_free_sem_for_shared_surf 2020-02-06 12:41:42 +08:00
Vincent Wei bc62083911 call SyncUpdateDC for all showing popup menus 2020-02-06 12:40:08 +08:00
Vincent Wei 16817e8e55 2018 -> 2020 2020-02-06 11:58:48 +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 739d90a15f tune to support recursive lock 2020-02-06 10:57:02 +08:00
Vincent Wei 75ba1cfdaa add lock_count to support recursive lock 2020-02-06 10:56:20 +08:00
Vincent Wei c797ed6bdc continue to implement the fallback compsoitor 2020-02-05 22:27:49 +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 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 d47b150f4b on_raising_win -> on_raised_win 2020-02-05 22:24:04 +08:00
Vincent Wei fa40fb4efe do not check video in GAL_UpdateRect 2020-02-05 17:28:58 +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 3d826ff7cb disable age in ZNODEHEADER for _MGSCHEMA_COMPOSITING 2020-02-05 17:26:09 +08:00
Vincent Wei 5a70fa1f42 use WS_EX_TROUNDCNS and WS_EX_BROUNDCNS styles for AboutDialog 2020-02-05 12:37:09 +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 b868dc71c6 change RADIUS_WINDOW_CORNERS to 7 2020-02-05 12:35:29 +08:00
Vincent Wei 784476b449 tune description words 2020-02-05 12:35:09 +08:00
Vincent Wei 10971de518 create shared surface for WS_EX_CTRLASMAINWIN 2020-02-05 12:06:28 +08:00
Vincent Wei f0c77d4def call GAL_SyncUpdate in ReleaseDC 2020-02-05 12:05:27 +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 2622843202 tune argument name: rc -> rc_dirty of on_dirty_screen 2020-02-05 11:05:41 +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 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