Commit Graph
1758 Commits
Author SHA1 Message Date
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
Vincent Wei dfe51d7b26 new inline functions: __mg_is_valid_layer and __mg_get_layer_from_zi 2020-02-04 21:43:45 +08:00
Vincent Wei ef44119c2d tune the operations of CompositorOps 2020-02-04 21:43:06 +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 53ab99def2 Tune CompositorOps: new operation on_dirty_rect, on_moving_to_top -> on_raising_win 2020-02-04 12:08:40 +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 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