Commit Graph
1269 Commits
Author SHA1 Message Date
Vincent Wei b7965b3940 use dwBkColor for compositing schema 2020-02-11 18:09:30 +08:00
Vincent Wei b7f1c15a2a add enum for indexes of system standard colors 2020-02-11 18:08:10 +08:00
Vincent Wei dd502454ee add surf_flag to GAL_CreateSurfaceForZNode; declare GAL_CreateSurfaceForZNodeAs 2020-02-11 18:07:16 +08:00
Vincent Wei 71fd40831f add dwBkColor for compositing schema; change prototype of CreateMainWindowEx2; declare DWORD2PixelByWindow 2020-02-11 18:06:28 +08:00
Vincent Wei 76efcc3d3e tune code for change of GAL_CreateSurfaceForZNode 2020-02-11 18:03:46 +08:00
Vincent Wei 36fbbdecda Enhance CreateMainWindowEx2 to handle surface flag.
Implement DWORD2PixelByWindow.
Use dwBkColor for compositing schema.
2020-02-11 18:01:45 +08:00
Vincent Wei 08cadfd991 use GAL_CreateSurfaceForZNodeAs instead of GAL_CreateSurfaceForZNode 2020-02-11 17:58:04 +08:00
Vincent Wei 52a6b1ec87 cleanup 2020-02-11 17:57:22 +08:00
Vincent Wei 482eaa2535 tune for compositing schema 2020-02-11 17:56:51 +08:00
Vincent Wei 696f553005 tune GAL_CreateSurfaceForZNode and implement GAL_CreateSurfaceForZNodeAs; allocate dirty_info only for surface for znode 2020-02-11 17:53:58 +08:00
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