Commit Graph
1036 Commits
Author SHA1 Message Date
Vincent Wei 3aa8424b90 tune code for listen fd sets from message queue 2020-02-16 18:51:04 +08:00
Vincent Wei cd6ba8e838 tune code for listen fd sets from message queue 2020-02-16 18:50:52 +08:00
Vincent Wei 664c30fb94 tune code for listen fd sets from message queue 2020-02-16 18:50:36 +08:00
Vincent Wei 464c18dc74 remove listenfd.c 2020-02-16 18:50:11 +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 0882bf8270 move USEC_1S and USEC_10MS to constants.h 2020-02-16 18:47:08 +08:00
Vincent Wei f86e977e3d cleanup 2020-02-16 18:46:40 +08:00
Vincent Wei 9c2be6c69b cleanup 2020-02-16 18:45:51 +08:00
Vincent Wei 4ed95b12b3 tune code for OnIdle method of message queue 2020-02-16 18:45:33 +08:00
Vincent Wei 847ccdcab7 move USEC_1S and USEC_10MS from timer.h to constants.h 2020-02-16 18:44:39 +08:00
Vincent Wei df10bf5ae0 call mg_GetMsgQueueForThisThread and mg_FreeMsgQueueForThisThread only for _MGHAVE_VIRTUAL_WINDOW 2020-02-16 18:44:08 +08:00
Vincent Wei 1babb4fcd5 call mg_GetMsgQueueForThisThread and mg_FreeMsgQueueForThisThread only for _MGHAVE_VIRTUAL_WINDOW 2020-02-16 18:43:45 +08:00
Vincent Wei 03f7321651 move listened fd sets to message queue and introduce the intrnal __mg_kernel_check_listen_fds funtion 2020-02-16 18:43:07 +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 0ee62da119 tune code for virtual window 2020-02-15 22:51:56 +08:00
Vincent Wei f1f49032b9 tune code for virtual window; rename pMessages -> pMsgQueue 2020-02-15 18:22:48 +08:00
Vincent Wei c5df42a44b implement CreateThreadForMessaging, GetThreadByWindow, CreateVirtualWindow, DestroyVirtualWindow, and VirtualWindowCleanup; move GetMainWinThread from desktop-ths.c to window.c 2020-02-15 18:22:14 +08:00
Vincent Wei f7dd21c9cb tune and cleanup 2020-02-15 12:44:54 +08:00
Vincent Wei 3b639d59d7 cleanup 2020-02-14 22:43:13 +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 0b0a50791b tune VIRTWIN, MAINWIN, and MSGQUEUE structures 2020-02-14 22:37:44 +08:00
Vincent Wei ae40205947 tune CONTROL structure 2020-02-14 22:36:47 +08:00
Vincent Wei 48caa7cde0 adjust WINDOWINFO, CONTROL, and MAINWIN structures for virtual window; remove iFgColor field in CONTROL, MAINWIN, and CTRLCLASSINFO; add VIRTWIN structure 2020-02-14 17:53:03 +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 3bbdd9d647 UPDATERGIN -> -UPDATERGN 2020-02-13 21:54:29 +08:00
Vincent Wei 96a90aa73b Use client DC instead of HDC_SCREEN_SYS to get the caret bitmaps 2020-02-13 21:53:48 +08:00
Vincent Wei b9586ed96b tune 2020-02-13 20:53:54 +08:00
Vincent Wei 1347fa020b Use pWin->pMainWin->left and pWin->pMainWin->top to calculate 2020-02-13 20:52:46 +08:00
Vincent Wei af794cb523 add inline dump_rect 2020-02-13 20:52:23 +08:00
Vincent Wei ded48a69ea tune 2020-02-13 20:52:03 +08:00
Vincent Wei 0a2b9749bd fix a bug in FreeZOrderNodeEx 2020-02-13 20:51:29 +08:00
Vincent Wei 725b7eecb1 fix a bug of PCXVFB_MoveCursor 2020-02-13 12:37:57 +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 a0d747fcc6 call SyncUpdateDC in __mg_update_secondary_dc 2020-02-12 23:41:41 +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 db68c34b27 _MGUSE_SYNC_UPDATE -> _MGUSE_UPDATE_REGION 2020-02-12 21:53:50 +08:00
Vincent Wei 6bec1b2f84 implement SyncUpdate method 2020-02-12 21:53:25 +08:00
Vincent Wei e0364e5031 add field to store the dirty bound rectangle for SyncUpdate method 2020-02-12 21:53:14 +08:00
Vincent Wei b985c4976a add SyncUpdate method 2020-02-12 21:51:46 +08:00