Commit Graph

152 Commits

Author SHA1 Message Date
Vincent Wei
6319fe06f9 tune fallback operatings to support changes of wallpaper pattern 2020-01-22 16:17:57 +08:00
Vincent Wei
693292d8bf initialize dirty_rcs to NULL for allocated new z-nodes 2020-01-22 11:49:26 +08:00
Vincent Wei
d2be775e37 implement __compsor_check_znodes 2020-01-22 11:48:39 +08:00
Vincent Wei
84d32199a6 tune fallback compositor 2020-01-22 11:48:19 +08:00
Vincent Wei
280b55ac7c mark deprecated 2020-01-22 09:10:32 +08:00
Vincent Wei
02115fb258 use mg_slice_alloc0 and mg_slice_free 2020-01-22 09:10:05 +08:00
Vincent Wei
3289d74a83 cleanup 2020-01-22 09:09:26 +08:00
Vincent Wei
ba29a38202 interset with screen before calling GAL_BlitSurface 2020-01-22 08:39:53 +08:00
Vincent Wei
ddaa8cd3a0 debug cursor showing 2020-01-21 20:03:01 +08:00
Vincent Wei
2d9c6afda8 cleanup 2020-01-21 20:01:41 +08:00
Vincent Wei
7ed4d9244b enhance kernel_IsOnlyMe to remove old semaphore sets; use flock to check IsOnlyMe 2020-01-21 17:36:58 +08:00
Vincent Wei
b1d9b3eb4f cleanup 2020-01-21 17:35:40 +08:00
Vincent Wei
5b55d1b7ac cleanup 2020-01-21 17:35:30 +08:00
Vincent Wei
a01908e56f support for software cursor for compositing schema 2020-01-21 17:35:18 +08:00
Vincent Wei
947cde2e9b tune kernel_ShowCursorForGDI for compositing schema 2020-01-21 12:08:07 +08:00
Vincent Wei
6440db4446 reflect the change of mg_InitScreenDC 2020-01-21 10:34:49 +08:00
Vincent Wei
e0c4874bb9 move definitaion of __mg_layer to src/newgal/video.c 2020-01-21 10:33:47 +08:00
Vincent Wei
be051b59ea move definitaion of __mg_layer to src/newgal/video.c 2020-01-21 10:33:34 +08:00
Vincent Wei
3544a587d3 lock_cursor_sem -> LOCK_CURSOR_SEM, unlock_cursor_sem -> UNLOCK_CURSOR_SEM 2020-01-21 10:32:55 +08:00
Vincent Wei
dc0ff60b80 init compositor manager in ServerStartup 2020-01-20 18:47:57 +08:00
Vincent Wei
371038040f add changes to ZNODEHEADER and init it to zero when allocating a new znode 2020-01-20 18:36:30 +08:00
Vincent Wei
3b1351b128 add changes in ZNODEHEADER and tune the operation names 2020-01-20 18:20:30 +08:00
Vincent Wei
6b2197ea1d fix compilation error 2020-01-20 16:55:32 +08:00
Vincent Wei
9aec7a85cf disable use of sg_FreeClipRectList, sg_ScrGCRInfo, and sg_UpdateRgn for compositing schema; call compositing operations when znode changed. 2020-01-20 16:52:41 +08:00
Vincent Wei
ed904a3e92 tune operations 2020-01-20 16:51:30 +08:00
Vincent Wei
9b48b966cf optimize composite_with_wallpaper 2020-01-20 12:14:24 +08:00
Vincent Wei
5840f4f1a8 reset clipping rect of HDC_SCREEN_SYS before composting 2020-01-20 12:07:37 +08:00
Vincent Wei
56c2c7ec17 implement on_dirty_win 2020-01-20 11:56:37 +08:00
Vincent Wei
e2b3c31e3d fix a compilation error 2020-01-20 08:39:10 +08:00
Vincent Wei
4b89ff7d19 comment out get_text_char_pos and tune srvChangeCaption to use strdup 2020-01-19 19:32:58 +08:00
Vincent Wei
740f26624e use strdup for caption and implement kernel_get_prev_znode 2020-01-19 19:18:18 +08:00
Vincent Wei
02747e6077 use extra data of request to pass the caption 2020-01-19 19:17:20 +08:00
Vincent Wei
e0537490c0 empty implementation of fallback compositor 2020-01-19 16:23:10 +08:00
Vincent Wei
afa496324e implement mg_InitCompositor, mg_TerminateCompositor, ServerGetCompositorOps, ServerRegisterCompositor, ServerUnregisterCompositor, and ServerSelectCompositor 2020-01-19 16:22:35 +08:00
Vincent Wei
d6c06a7b9e add compsor-manager.c compsor-fallback.c 2020-01-19 16:20:44 +08:00
Vincent Wei
533090acd1 call mg_InitCompositor and mg_TerminateCompositor 2020-01-19 16:20:25 +08:00
Vincent Wei
7030edd84e add AllocZOrderNodeEx and FreeZOrderNodeEx 2020-01-17 17:24:25 +08:00
Vincent Wei
e5bc4374ad implement __mg_move_client_to_layer 2020-01-17 17:23:14 +08:00
Vincent Wei
6e38c0c889 count in DEF_NR_FIXEDZNODES 2020-01-17 17:22:16 +08:00
Vincent Wei
1e8f5fc1de handle fixed znodes; implement kernel_get_next_znode 2020-01-17 15:52:26 +08:00
Vincent Wei
0eda746112 tune AllocaZOrderNode and FreeZOrderNode for fixed znodes 2020-01-17 12:01:20 +08:00
Vincent Wei
9d0e3aaf24 handle window style if failed to allocate znode for fixed ones 2020-01-17 12:00:11 +08:00
Vincent Wei
d240c4ceb3 handle window style if failed to allocate znode for fixed ones 2020-01-17 11:59:57 +08:00
Vincent Wei
a4355c6b9d use field ct instead of znode flag 2020-01-17 08:54:11 +08:00
Vincent Wei
867f416513 implement __mg_move_client_to_layer and handle MSG_LAYERCHANGED 2020-01-16 18:10:47 +08:00
Vincent Wei
46621017c8 enhance to support compositing type and argument for CreateMainWindowEx2 2020-01-16 12:15:34 +08:00
Vincent Wei
4f6a0aebf5 implement SetMainWindowAlwaysTop and SetMainWindowCompositing 2020-01-16 11:45:19 +08:00
Vincent Wei
8ea2493132 tune flags for znode; add new types for popupmenu, screenlock, docker, and launcher; add new flags for maximized and minimized for future use 2020-01-16 09:37:14 +08:00
Vincent Wei
d4e066cbc9 cleanup 2020-01-15 17:32:22 +08:00
Vincent Wei
1b7c1ffaf4 ZOF_TF_TOPFOREVER -> ZOF_TF_STUCK 2020-01-15 15:41:26 +08:00