Commit Graph
362 Commits
Author SHA1 Message Date
Vincent Wei 86da42231c only treat ppp and wpp for topmost layer 2020-03-25 17:54:04 +08:00
Vincent Wei 20974f305a use dirty type to optimize the compositor 2020-03-25 17:31:19 +08:00
Vincent Wei 5a22e67680 bugfixing: bad implementation of generate_dirty_region; generate_dirty_region -> merge_dirty_region 2020-03-25 17:28:31 +08:00
Vincent Wei a693fa7dc2 optimize __mg_composite_dirty_znodes 2020-03-24 13:00:10 +08:00
Vincent Wei 433d5d6cc5 try to optimze cursor refresh (not finished) 2020-03-23 22:08:47 +08:00
Vincent Wei bbd1776911 only increase refcount for surface create for window and menu created by the server 2020-03-22 22:52:57 +08:00
Vincent Wei 43c387d0a0 debug for use refcount for all memory dc 2020-03-22 19:59:23 +08:00
Vincent Wei 602f3c5748 remove debug printf 2020-03-22 18:24:47 +08:00
Vincent Wei 74f727cb2e fix a bug: must reset olddownkey to zero when got a KEYUP event 2020-03-22 18:05:32 +08:00
Vincent Wei 86b4d9c9ab fix a bug: always pass cli=0 for dskCalculateDefaultPosition 2020-03-22 17:36:18 +08:00
Vincent Wei 151400eac0 disable alpha for CT_COLORKEY 2020-03-21 15:39:49 +08:00
Vincent Wei d81d40f9b7 pixels_size -> map_size 2020-03-19 21:42:33 +08:00
Vincent Wei f8ced41de6 add CopyVideoInfoToSharedRes method in GAL engine for PROCS and calling this method to copy the video info to shared resource segment when the process is the server 2020-03-16 17:38:50 +08:00
Vincent Wei 44b8552307 call mg_DestroyFreeQMSGList after terminating desktop 2020-03-16 14:47:42 +08:00
Vincent Wei ba3a0030fc Do not init the fields in the shared resource segment for DRM engine; left them for DRM engine 2020-03-15 10:50:59 +08:00
Vincent Wei 1bbd5ea4f1 IS_SHAREDFB_SCHEMA -> IS_SHAREDFB_SCHEMA_PROCS; reflects for the changes of fields name and internal functions 2020-03-14 19:03:57 +08:00
Vincent Wei 666aeea115 tune implementation of MSG_ENDSESSION for THS runmode 2020-03-11 19:22:34 +08:00
Vincent Wei 0059a3226c rename mg_GetMsgQueueForThisThread to getMsgQueueForThisThread and make it inline; Register message queue when allocating it 2020-03-11 19:21:24 +08:00
Vincent Wei 2843b1319e tune nr_of_all_znodes for zorder levels; make ENDSESSION works 2020-03-11 09:31:01 +08:00
Vincent Wei 7c39c22f7c tune __mg_throw_away_messages to handle TYPE_TODEL windows correctly; fix wrong handling of notification message list; do not reset idle counter when got a message for HWND_DESKTOP 2020-03-10 15:31:37 +08:00
Vincent Wei 5df58bdcbe no need force to close the menu when moving a window under compositing schema 2020-03-10 11:03:46 +08:00
Vincent Wei c063acb4a6 fix a bug: call SyncUpdate when cursor moved; cursor surface lost when it was moved 2020-03-08 19:52:40 +08:00
Vincent Wei ba5113ad1a handle auto-repeat messages 2020-03-06 21:52:19 +08:00
Vincent Wei ff8b0af8b3 cleanup 2020-03-06 21:50:24 +08:00
Vincent Wei 33e33902a4 we do not genenrate MSG_TIMEOUT message any more 2020-03-06 21:48:31 +08:00
Vincent Wei fd3662cea0 fix a bug: return HOOK_STOP for mouse messages sent to client 2020-03-06 17:31:37 +08:00
Vincent Wei 0d7a90d546 cleanup 2020-03-06 17:30:47 +08:00
Vincent Wei 85a18df3ea remove old deprecated code 2020-03-06 15:52:16 +08:00
Vincent Wei 8a845ac965 fix some conditional compilation errors 2020-03-06 14:11:35 +08:00
Vincent Wei 1974d27deb make sure the event parsor thread is joinable 2020-03-06 11:09:08 +08:00
Vincent Wei 792359eb62 fix possible memory leaks for free notification message objects 2020-03-06 11:08:33 +08:00
Vincent Wei 05802cee73 Remove unused field sync_msg in MSGQUEUE; improve __mg_throw_away_messages to free notification messages to block heap and compress the post message queue 2020-03-05 21:42:22 +08:00
Vincent Wei 283c4e4bc4 mark a window as TODEL after calling ThrowAwayMessages; tune name of some internal inline functions 2020-03-05 13:04:31 +08:00
Vincent Wei 71d0da248d use DFS for broadcast message 2020-03-04 20:58:23 +08:00
Vincent Wei e2c6225d22 always use CreatePrivateClientDC and DeletePrivateDC; call __mg_delete_secondary_dc instead of DeleteSecondaryDC when remove a main window; call __mg_update_dc_on_surface_changed for compositing schema when the underlying surface resized. 2020-03-04 15:30:26 +08:00
Vincent Wei 10c32236e7 always use CreatePrivateClientDC and DeletePrivateDC; call __mg_delete_secondary_dc instead of DeleteSecondaryDC when remove a main window 2020-03-04 15:29:23 +08:00
Vincent Wei 039fa8a86a cleanup 2020-03-03 15:40:37 +08:00
Vincent Wei 48037493f5 improve the fallback compositor 2020-03-02 19:29:15 +08:00
Vincent Wei 837872c8bb handle resized surface correctly 2020-03-01 23:01:10 +08:00
Vincent Wei cf71cd059c handle KS_MIDDLEBUTTON 2020-03-01 19:32:05 +08:00
Vincent Wei 8f01d078d9 adjust to a reasonable position for a main window with style WS_EX_AUTOPOSITION 2020-03-01 18:38:52 +08:00
Vincent Wei e816245b91 use DWORD instead of int for timeoutusec, repeatusec, and dblclicktime 2020-03-01 18:17:24 +08:00
Vincent Wei 08506e3cbb remove unnecessary kernel_GetGCRgnInfo functions 2020-03-01 17:34:21 +08:00
Vincent Wei 36ac251b21 improve dskDumpZOrder for PROCS runmode 2020-02-29 22:23:05 +08:00
Vincent Wei df03ad014f Improve implementation of DumpWindow and moved to window.c 2020-02-29 17:44:01 +08:00
Vincent Wei 44fc55701d special handle for procs runmode in dskDumpZOrder 2020-02-29 17:14:06 +08:00
Vincent Wei fc3bcabd67 handle MSG_DUMPZORDER 2020-02-29 17:13:28 +08:00
Vincent Wei 634fc28413 cleanup: remove deprecated code; implement dskDumpZOrder 2020-02-29 16:08:15 +08:00
Vincent Wei a7cfd21020 fix a bug in travel_all_hosted: duplicated calling of callback; tune travel_all_hosted: use breadth first traveling policy due to overflow of the post message queue; tune format 2020-02-29 16:07:34 +08:00
Vincent Wei 6d04b42191 fix a bug: __kernel_get_next_znode may returns -1; handle MSG_DUMPZORDER 2020-02-29 16:04:53 +08:00