Commit Graph
252 Commits
Author SHA1 Message Date
Vincent Wei ccd1751016 do not call InitDskMsgQueue and DestroyDskMsgQueue 2020-02-17 21:28:13 +08:00
Vincent Wei ef69f34bd4 set OnIdle of desktop message queue NULL for threads runmode 2020-02-17 21:27:40 +08:00
Vincent Wei c5bac09fd2 tune for virtual window 2020-02-17 19:31:40 +08:00
Vincent Wei 8fc32dab6a implement BroadcastMessageInThisThread 2020-02-17 19:31:02 +08:00
Vincent Wei 81177f5d2d check timer in idle_handler_for_msg_thread 2020-02-17 19:30:32 +08:00
Vincent Wei 4db196d1d5 tune management of __mg_dsk_msg_queue 2020-02-17 19:29:04 +08:00
Vincent Wei 4d42697b18 use BroadcastMessageInThisThread instead of BroadcastMessage 2020-02-17 19:28:13 +08:00
Vincent Wei 4b8ecb169d tune management of __mg_dsk_msg_queue 2020-02-17 19:27:14 +08:00
Vincent Wei 0135699829 standalone version of mg_TerminateDesktop 2020-02-17 19:26:23 +08:00
Vincent Wei 3a2224cd4b rename getMsgQueueByWindowInThisThread to getMsgQueueIfWindowInThisThread 2020-02-17 16:21:55 +08:00
Vincent Wei 00fd9fea0f init pre default virtual window proc 2020-02-17 16:21:19 +08:00
Vincent Wei fe2e439fca init pre default virtual window proc 2020-02-17 16:21:13 +08:00
Vincent Wei 7608e5a5fe cleanup 2020-02-17 16:20:37 +08:00
Vincent Wei 2adb9954a8 tune __mg_def_proc 2020-02-17 16:20:25 +08:00
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