Commit Graph

238 Commits

Author SHA1 Message Date
Vincent Wei
b225c095c7 tune 2020-02-16 22:41:25 +08:00
Vincent Wei
049a39548a move code handling hosting to window.c 2020-02-16 22:40:58 +08:00
Vincent Wei
4c782a1b7e move hosting handling to window.c 2020-02-16 22:40:18 +08:00
Vincent Wei
490ae66cde tune code for listen fd sets and OnIdle 2020-02-16 18:49:56 +08:00
Vincent Wei
274500ffa0 cleanup 2020-02-16 18:49:06 +08:00
Vincent Wei
7370ae6864 cleanup 2020-02-16 18:48:18 +08:00
Vincent Wei
5782f3c40a add listenfd.c 2020-02-16 18:47:31 +08:00
Vincent Wei
608dade15f move from misc/ to kernel/; tune code for virtual window and listen fd API 2020-02-16 18:40:21 +08:00
Vincent Wei
786f9f90a0 move timer slots to message queue and tune code. now we allocate timer slots per thread, and manage the time slots in message queue 2020-02-16 10:30:37 +08:00
Vincent Wei
2727e0c2db tune code for virtual window 2020-02-15 23:02:51 +08:00
Vincent Wei
a12b75cd1b tune code for virtual window 2020-02-15 23:01:27 +08:00
Vincent Wei
59677752a7 tune code for virtual window 2020-02-15 22:53:08 +08:00
Vincent Wei
f1f49032b9 tune code for virtual window; rename pMessages -> pMsgQueue 2020-02-15 18:22:48 +08:00
Vincent Wei
0b3450bf97 move mg_InitMsgQueueThisThread, mg_FreeMsgQueueThisThread, and __mg_threadinfo_key to kernel/message.c 2020-02-14 22:41:22 +08:00
Vincent Wei
21160fb01d rename internal symbols for better coding style 2020-02-14 12:54:54 +08:00
Vincent Wei
6745220e84 fix a bug of dskScrollMainWindow for compositing schema 2020-02-13 21:54:58 +08:00
Vincent Wei
b9586ed96b tune 2020-02-13 20:53:54 +08:00
Vincent Wei
0a2b9749bd fix a bug in FreeZOrderNodeEx 2020-02-13 20:51:29 +08:00
Vincent Wei
cc9d420a71 tune SyncUpdate and fix a bug of ShowCurosr(FALSE) for hardware cursor 2020-02-13 12:37:26 +08:00
Vincent Wei
11c8cd43ef only check pdc->surface->dirty_info for wallpaper patter when it is not empty 2020-02-13 12:36:08 +08:00
Vincent Wei
e2687724b7 call GAL_SyncUpdate in kernel_ShowCursorForGDI when showing cursor 2020-02-13 10:44:28 +08:00
Vincent Wei
d136f23dc4 call SyncUpdateDC or GAL_SyncUpdate for cursor and dc_desktop 2020-02-12 23:23:10 +08:00
Vincent Wei
22b9609a8a use mg_slice_delete instead of free for CURSOR objects 2020-02-12 22:16:54 +08:00
Vincent Wei
ce81d223ce restore calls of GAL_SyncUpdate without conditional compilation 2020-02-12 21:50:45 +08:00
Vincent Wei
b0d99d63c8 remove bad rgn assertion 2020-02-12 18:27:05 +08:00
Vincent Wei
169e163202 cleanup 2020-02-12 17:58:41 +08:00
Vincent Wei
c3d869e62d allocate znodes for fixed main windows 2020-02-12 17:56:51 +08:00
Vincent Wei
df2d74fb0a use GetWindowElementPixelEx instead of GetWindowElementPixel or GetWindowElementColor 2020-02-12 13:26:01 +08:00
Vincent Wei
1b05430a61 use __mg_get_common_rgba8888_dc; use mg_slice_new/mg_slice_delete for CURSOR objects instead of malloc/free 2020-02-12 11:29:55 +08:00
Vincent Wei
084babc389 cleanup 2020-02-11 23:59:20 +08:00
Vincent Wei
b7965b3940 use dwBkColor for compositing schema 2020-02-11 18:09:30 +08:00
Vincent Wei
08cadfd991 use GAL_CreateSurfaceForZNodeAs instead of GAL_CreateSurfaceForZNode 2020-02-11 17:58:04 +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
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
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
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
472e132844 tune dskScrollMainWindow for compositing schema 2020-02-07 17:10:34 +08:00
Vincent Wei
a0bfb4b0b1 tune 2020-02-07 16:51:42 +08:00
Vincent Wei
1fb95ac4be move call of on_changed_ct to dskSetZNodeCompositing 2020-02-07 12:10:48 +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
67580a65e9 implement get_znode_mask_bound for compositing schema 2020-02-06 18:20:37 +08:00