Commit Graph
1259 Commits
Author SHA1 Message Date
Vincent Wei eff7cbe74c remove code to allocate dirty_info for all newly created surfaces 2020-02-11 17:52:39 +08:00
Vincent Wei 798afbd9aa remove code for handling dirty_info 2020-02-11 17:52:01 +08:00
Vincent Wei 395f9ae250 support for hardware cursor 2020-02-11 12:16:20 +08:00
Vincent Wei 503c5dd592 enable double buffering 2020-02-11 11:12:03 +08:00
Vincent Wei e2a6d667d0 enable double buffering 2020-02-11 11:11:58 +08:00
Vincent Wei 41cd8938cf call kernel_ReShowCursor for compositing schema 2020-02-11 11:11:15 +08:00
Vincent Wei 4d9455310b only call GAL_SyncUpdate in showcursor and use the method for sharedfb schema to optimize the cursor refresh in order to resolve the mess screen caused by update the cursor in BitBlt. 2020-02-11 11:10:23 +08:00
Vincent Wei f00ae8e932 fix bugs of recursive lock of znode surface 2020-02-10 22:54:04 +08:00
Vincent Wei 5c59c26c83 add const for the first arguments of PtInRegion and RectInRegion 2020-02-10 22:53:35 +08:00
Vincent Wei 10bab8bdda define alpha component for system colors 2020-02-10 22:53:02 +08:00
Vincent Wei cf241cd871 use GetBoundRect instead of UnionRect; free dirty_info for screen surfaces 2020-02-10 22:52:30 +08:00
Vincent Wei 59781d1e28 use GAL_MapRGBA instead of GAL_MapRGB for system pixel values 2020-02-10 22:51:16 +08:00
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 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