Commit Graph

137 Commits

Author SHA1 Message Date
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
Vincent Wei
5099d79e4c cleanup 2020-01-15 15:10:10 +08:00
Vincent Wei
8a6bf58a35 delete memdc in srvForceCloseMenu 2020-01-15 15:09:55 +08:00
Vincent Wei
c05087bfd5 enhance cliStartTrackPopupMenu to support compositing schema 2020-01-15 14:33:52 +08:00
Vincent Wei
92eabc3373 tune for change of srvStartTrackPopupMenu 2020-01-15 14:33:13 +08:00
Vincent Wei
b1dcef2d66 enhance srvStartTrackPopupMenu to support compositing schema 2020-01-15 14:32:44 +08:00
Vincent Wei
cd01d85a41 check return value of MSG_INITMENU 2020-01-15 12:30:25 +08:00
Vincent Wei
1e26154f8f check return value of MSG_INITMENU 2020-01-15 12:30:07 +08:00
Vincent Wei
164d39917c pass surface flags and surface map size to srvAllocZOrderNode 2020-01-15 10:13:17 +08:00
Vincent Wei
5ca8683356 fix bug: bad depth 2020-01-15 09:05:20 +08:00
Vincent Wei
e8d6e479e1 field surf for compositing schema 2020-01-14 18:21:40 +08:00
Vincent Wei
8fa5253b6a restore old calls of kernel_alloc_z_order_info 2020-01-14 12:16:12 +08:00
Vincent Wei
71459366d5 restore old implementation for shared znode info 2020-01-14 12:09:12 +08:00
Vincent Wei
f479377b4e change AllocZOrderNode and FreeZOrderNode for compositing schema 2020-01-14 12:08:49 +08:00
Vincent Wei
138c378665 create memdc for shared surface of window and delete it 2020-01-14 12:08:10 +08:00
Vincent Wei
20450fdca3 change for extra argument for AllocZOrderNode and FreeZOrderNode 2020-01-14 12:07:12 +08:00