Commit Graph
1244 Commits
Author SHA1 Message Date
Vincent Wei 2442ccc6ca tune format 2020-02-10 22:47:39 +08:00
Vincent Wei fb26beb997 define COLOR_xxx as the RGBA quadruple instead of pixel value; new API (inline) AreRegionsIntersected 2020-02-10 22:47:01 +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 0cb02d4c34 exclude the special window type style if failed; refuse to create global controls in a special main window 2020-02-07 23:01:29 +08:00
Vincent Wei 26da7c759f cleanup 2020-02-07 23:00:13 +08:00
Vincent Wei 738cc6e3ed handle MSG_SIZECHANGED to move button 2020-02-07 19:12:38 +08:00
Vincent Wei f9dc61c75e cleanup 2020-02-07 19:06:41 +08:00
Vincent Wei bfefb0b6b5 fix conditional compilation error 2020-02-07 19:04:46 +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 dd6793b27b cleanup 2020-02-07 19:02:37 +08:00
Vincent Wei 472e132844 tune dskScrollMainWindow for compositing schema 2020-02-07 17:10:34 +08:00
Vincent Wei 9c3c6481c7 cleanup 2020-02-07 17:10:08 +08:00
Vincent Wei a0bfb4b0b1 tune 2020-02-07 16:51:42 +08:00
Vincent Wei bd9e49888b declare ColorBlendMethod and tune ColorLogicalOp 2020-02-07 16:51:25 +08:00
Vincent Wei e324e53c0a call on_layer_op for compositor 2020-02-07 12:11:11 +08:00
Vincent Wei 1fb95ac4be move call of on_changed_ct to dskSetZNodeCompositing 2020-02-07 12:10:48 +08:00
Vincent Wei fcb7632780 define DO_COMPSOR_OP and DO_COMPSOR_OP_ARGS 2020-02-07 12:08:20 +08:00
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