Commit Graph
251 Commits
Author SHA1 Message Date
Vincent Wei c846af5a2a fix conditional compilation errors 2020-02-20 22:08:27 +08:00
Vincent Wei b6a2fb3263 always use QS_DESKTIMER for desktop timer 2020-02-20 19:35:48 +08:00
Vincent Wei d484102dae add +dump_message_queue 2020-02-20 18:31:57 +08:00
Vincent Wei 8a63b551f6 tune macros 2020-02-20 17:41:57 +08:00
Vincent Wei 5c248bb669 define IS_INVALID_ZIDX_LOOSE for not checking idx < 0 2020-02-20 15:49:20 +08:00
Vincent Wei 4ca3ac2e4b cleanup: remove _MG_CONFIG_FAST_MOUSEMOVE 2020-02-20 15:48:31 +08:00
Vincent Wei 4aa5e04da1 add dump_mouse_message, dump_message_with_retval, dump_message, and dump_window functions (static inline) 2020-02-20 12:39:02 +08:00
Vincent Wei 52ddec51de move _MG_CONFIG_FAST_MOUSEMOVE to constants.h from cursor.h 2020-02-20 12:37:41 +08:00
Vincent Wei ab1dbb767a fix conditional compilation errors and tune 2020-02-19 22:12:54 +08:00
Vincent Wei c6547026d5 tune for eight levels of zorder nodes; add some macros 2020-02-19 19:37:51 +08:00
Vincent Wei d0c1728ba1 tune for eight levels of zorder nodes 2020-02-19 19:37:21 +08:00
Vincent Wei fca9418188 add list_head in MSGQUEUE; declare __mg_join_all_message_threads() 2020-02-18 22:21:15 +08:00
Vincent Wei 6f132886c3 4.2.0 -> 5.0.0 2020-02-18 18:44:42 +08:00
Vincent Wei 689ab4f7a3 fix conditional compilation errors 2020-02-17 23:00:19 +08:00
Vincent Wei b2f25b788a cleanup; use static idle handler for HAVE_SELECT 2020-02-17 21:36:46 +08:00
Vincent Wei 6aa9e4ae7d cleanup and declare __mg_idle_handler_with_fds 2020-02-17 21:27:09 +08:00
Vincent Wei eb1630db47 cleanup 2020-02-17 21:26:10 +08:00
Vincent Wei 7ba6d891eb __mg_dispatch_timer_message -> __mg_check_expired_timers 2020-02-17 19:22:45 +08:00
Vincent Wei 79913277b5 tuen for timer; add a internal helper: __mg_broadcast_message 2020-02-17 19:22:12 +08:00
Vincent Wei 59b21e9418 define USEC_TIMEOUT\ 2020-02-17 19:20:47 +08:00
Vincent Wei 5cb8662ec8 rename getMsgQueueByWindowInThisThread to getMsgQueueIfWindowInThisThread 2020-02-17 16:20:07 +08:00
Vincent Wei fbc9a630f7 cleanup 2020-02-16 22:39:29 +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 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 f1f49032b9 tune code for virtual window; rename pMessages -> pMsgQueue 2020-02-15 18:22:48 +08:00
Vincent Wei f7dd21c9cb tune and cleanup 2020-02-15 12:44:54 +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 af794cb523 add inline dump_rect 2020-02-13 20:52:23 +08:00
Vincent Wei db68c34b27 _MGUSE_SYNC_UPDATE -> _MGUSE_UPDATE_REGION 2020-02-12 21:53:50 +08:00
Vincent Wei 169e163202 cleanup 2020-02-12 17:58:41 +08:00
Vincent Wei 0b1fadec95 debug.h 2020-02-12 17:54:05 +08:00
Vincent Wei dc100bc7bc initial commit; dump_region 2020-02-12 17:53:45 +08:00
Vincent Wei 8b81d71c5a change ICON structure: we always decode an icon into RGBA8888 compliant pixels 2020-02-12 11:26:49 +08:00
Vincent Wei 8900845cf1 declare __mg_get_common_rgba8888_dc and __mg_reset_common_rgba8888_dc 2020-02-12 11:26:21 +08:00
Vincent Wei b7965b3940 use dwBkColor for compositing schema 2020-02-11 18:09:30 +08:00
Vincent Wei dd502454ee add surf_flag to GAL_CreateSurfaceForZNode; declare GAL_CreateSurfaceForZNodeAs 2020-02-11 18:07:16 +08:00
Vincent Wei fcb7632780 define DO_COMPSOR_OP and DO_COMPSOR_OP_ARGS 2020-02-07 12:08:20 +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 e77410462b __kernel_change_z_order_mask_rect -> __kernel_change_z_node_mask_rect 2020-02-06 17:49:35 +08:00
Vincent Wei 75ba1cfdaa add lock_count to support recursive lock 2020-02-06 10:56:20 +08:00
Vincent Wei b868dc71c6 change RADIUS_WINDOW_CORNERS to 7 2020-02-05 12:35:29 +08:00
Vincent Wei dcb79f71d2 disable field age of ZORDERNODE for compositing schema 2020-02-05 11:06:31 +08:00