Vincent Wei
|
4dec634bd9
|
add nr_dirty_rcs field and use unsigned int for dirty_age
|
2020-01-21 12:07:25 +08:00 |
|
Vincent Wei
|
21866051b5
|
add macro: IS_SCREEN_SURFACE
|
2020-01-21 12:06:53 +08:00 |
|
Vincent Wei
|
10c69afbf7
|
define NR_DIRTY_RECTS to 16
|
2020-01-21 12:06:31 +08:00 |
|
Vincent Wei
|
733d1c3377
|
lock_mousemove_sem -> LOCK_MOUSEMOVE_SEM, unlock_mousemove_sem -> UNLOCK_MOUSEMOVE_SEM
|
2020-01-21 10:39:19 +08:00 |
|
Vincent Wei
|
4f1527c898
|
lock_draw_sem -> LOCK_DRAW_SEM; unlock_draw_sem -> UNLOCK_DRAW_SEM
|
2020-01-21 10:38:49 +08:00 |
|
Vincent Wei
|
fc42d28f65
|
remove unnecessary compilation conditions
|
2020-01-21 10:38:20 +08:00 |
|
Vincent Wei
|
4aa7904db7
|
tune implementation of mg_InitScreenDC; remove unnecessary compilation conditions
|
2020-01-21 10:37:28 +08:00 |
|
Vincent Wei
|
805c7f5bb2
|
define __mg_switch_away and cleanup
|
2020-01-21 10:36:13 +08:00 |
|
Vincent Wei
|
8e6336d2f3
|
cleanup. This is file is marked deprecated
|
2020-01-21 10:35:34 +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
|
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 |
|