Commit Graph
1058 Commits
Author SHA1 Message Date
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 5a5bee347c change prototype of mg_InitScreenDC to no argument 2020-01-21 10:32:11 +08:00
Vincent Wei 11c0821afb make __mg_switch_away available for all runtime modes; remove declaration for unlock_draw_sem and lock_draw_sem 2020-01-21 10:31:28 +08:00
Vincent Wei 1b5e3e3a45 cleanup: uppercase macros 2020-01-21 10:30:36 +08:00
Vincent Wei 4f662c216b CHECK_DRAWING -> WITHOUT_DRAWING; add BLOCK_DRAW_SEM, UNBLOCK_DRAW_SEM, and WITHOUT_DRAWING for compositing schema 2020-01-21 10:29:31 +08:00
Vincent Wei a110882134 cleanup: lock_mousemove_sem -> LOCK_MOUSEMOVE_SEM, unlock_mousemove_sem -> UNLOCK_MOUSEMOVE_SEM 2020-01-21 10:27:49 +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 5b169494be tune ZORDERNODE 2020-01-20 16:51:00 +08:00
Vincent Wei 2120020801 tune CompositorOps 2020-01-20 16:50:37 +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 d3835670ac tune CompositorOps 2020-01-20 11:55:14 +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 50fa5b53f8 tune zorder_op 2020-01-19 19:20:38 +08:00
Vincent Wei f2b8663e29 implement ServerGetPopupMenuZNodeHeader, ServerGetPopupMenusCount, ServerGetZNodeHeader, ServerGetPrevZNode; tune implementation of ServerDoZNodeOperation, ServerGetZNodeInfo, and ServerGetNextZNode 2020-01-19 19:19: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 2b06635b43 tune ZORDERNODE order of fields to keep same layout with ZNODEHEADER 2020-01-19 19:16:45 +08:00
Vincent Wei 546d35c895 change prototype of __mg_do_zorder_operation to include caption 2020-01-19 19:15:37 +08:00
Vincent Wei ba13aabc13 remove MAX_CAPTION_LEN 2020-01-19 19:15:04 +08:00
Vincent Wei 0017afe21e use extra data to pass caption of znode 2020-01-19 19:14:21 +08:00
Vincent Wei 30353afdf8 declare ServerGetPrevZNode, ZNODEHEADER, ServerGetZNodeHeader, ServerGetPopupMenusCount, and ServerGetPopupMenuZNodeHeader 2020-01-19 19:13:33 +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 9cd099e793 LEN_DRIVER_FILENAME -> LEN_SO_NAME 2020-01-19 16:21:10 +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 d69070e5e8 declare mg_InitCompositor and mg_TerminateCompositor 2020-01-19 16:19:56 +08:00
Vincent Wei bca256ec7f add constant: LEN_SO_NAME 2020-01-19 16:19:35 +08:00
Vincent Wei b5b49d5658 cleanup 2020-01-19 16:19:07 +08:00
Vincent Wei c1ad338f12 declare ServerRegisterCompositor, ServerUnregisterCompositor, ServerGetCompositorOps, ServerSelectCompositor, __ex_compositor_get, and struct _CompositorOps 2020-01-19 16:18:46 +08:00
Vincent Wei 8f2b0dbfe1 description of key def_compositor_so in compositing_schema section 2020-01-19 16:16:23 +08:00
Vincent Wei b6b9abdf33 cleanup 2020-01-17 18:55:12 +08:00
Vincent Wei db4bc6b190 draft of notes for version 4.1.0 2020-01-17 18:55:05 +08:00
Vincent Wei 9c22494d4c more words for compositing schema 2020-01-17 18:54:38 +08:00
Vincent Wei d13bbf9d33 zi->nr_globals set to 0 initially 2020-01-17 17:25:39 +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 1e60b08457 move index for znodes to constants.h 2020-01-17 17:21:03 +08:00
Vincent Wei 500b85d74a handle fixed znodes 2020-01-17 15:53:08 +08:00
Vincent Wei 1e8f5fc1de handle fixed znodes; implement kernel_get_next_znode 2020-01-17 15:52:26 +08:00