Vincent Wei
|
14d020cccf
|
cleanup: convert tab to spaces and trim tail spaces
|
2020-02-02 10:53:31 +08:00 |
|
Vincent Wei
|
8dbe2c63f1
|
cleanup code, see cleanup-code.sh
|
2020-02-02 10:46:29 +08:00 |
|
Vincent Wei
|
d7c398fd4d
|
use semaphore set instead of posix semaphore
|
2020-02-01 22:54:42 +08:00 |
|
Vincent Wei
|
3870cd4ccb
|
request handlers: alloc_sem_for_shared_surf and free_sem_for_shared_surf; enhance del_global_res to work with semaphore
|
2020-02-01 21:47:51 +08:00 |
|
Vincent Wei
|
485f2602cd
|
implement __mg_alloc_sem_for_shared_surf and __mg_free_sem_for_shared_surf; create semphore set manager for shared surfaces
|
2020-02-01 21:46:24 +08:00 |
|
Vincent Wei
|
af9e425dd0
|
use system v semphore set instead of poxis semaphore
|
2020-02-01 21:44:34 +08:00 |
|
Vincent Wei
|
ccfe97326b
|
discard semaphore set for shared surfaces
|
2020-02-01 21:43:47 +08:00 |
|
Vincent Wei
|
01cf335f6e
|
enhance semaphore set manager
|
2020-02-01 21:43:15 +08:00 |
|
Vincent Wei
|
2747dcaaf1
|
add semid_shared_surf and SHAREDRES_SEMID_SHARED_SURF
|
2020-02-01 21:42:49 +08:00 |
|
Vincent Wei
|
d6eae17d0f
|
use system v semaphore set instead of poxis semaphore
|
2020-02-01 21:42:16 +08:00 |
|
Vincent Wei
|
65d6c5305e
|
declare __mg_alloc_sem_for_shared_surf and __mg_free_sem_for_shared_surf
|
2020-02-01 21:41:36 +08:00 |
|
Vincent Wei
|
3398824940
|
declare functions for semaphore set manager
|
2020-02-01 21:41:06 +08:00 |
|
Vincent Wei
|
73ef5db613
|
tune my_sem_op and define LOCK_SURFACE_SEM and UNLOCK_SURFACE_SEM
|
2020-02-01 21:40:32 +08:00 |
|
Vincent Wei
|
4bfabc20a7
|
use System V semaphore set instead of posix semphore for shared surface
|
2020-02-01 21:39:29 +08:00 |
|
Vincent Wei
|
8bfded59be
|
define MAX_NR_SHARED_SURF
|
2020-02-01 21:37:51 +08:00 |
|
Vincent Wei
|
71f7cb3efe
|
add new request ids: REQID_ALLOC_SURF_SEM and REQID_FREE_SURF_SEM
|
2020-02-01 21:37:26 +08:00 |
|
Vincent Wei
|
1aa5f30f19
|
change MAX_SYS_REQID to 0x0022
|
2020-02-01 21:36:46 +08:00 |
|
Vincent Wei
|
eed7f70cf9
|
ServerGetZNodeHeader -> ServerGetWinZNodeHeader, ServerReleaseZNodeHeader -> ServerReleaseWinZNodeHeader
|
2020-01-22 16:19:33 +08:00 |
|
Vincent Wei
|
95f7b67489
|
tune SyncUpdateDC and SyncUpdateSurface
|
2020-01-22 16:19:15 +08:00 |
|
Vincent Wei
|
7062128ab1
|
fix a bug of set pixels to NULL
|
2020-01-22 16:18:20 +08:00 |
|
Vincent Wei
|
6319fe06f9
|
tune fallback operatings to support changes of wallpaper pattern
|
2020-01-22 16:17:57 +08:00 |
|
Vincent Wei
|
025ac76316
|
ServerGetZNodeHeader -> ServerGetWinZNodeHeader, ServerReleaseZNodeHeader -> ServerReleaseWinZNodeHeader
|
2020-01-22 16:16:59 +08:00 |
|
Vincent Wei
|
ef0a6b9520
|
make SyncUpdateDC and SyncUpdateSurface inline for not defined _MGUSE_SYNC_UPDATE and/or not defined _MGSCHEMA_COMPOSITING
|
2020-01-22 16:16:14 +08:00 |
|
Vincent Wei
|
8670da5d62
|
fix conditional compilation errors
|
2020-01-22 14:04:39 +08:00 |
|
Vincent Wei
|
54a991098e
|
call __compsor_check_znodes
|
2020-01-22 11:55:47 +08:00 |
|
Vincent Wei
|
fcdd26fdea
|
declare __compsor_check_znodes
|
2020-01-22 11:55:28 +08:00 |
|
Vincent Wei
|
93b0ab5f0a
|
tune and implement ServerReleaseZNodeHeader and ServerReleasePopupMenuZNodeHeader
|
2020-01-22 11:50:17 +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
|
b4a53b64c5
|
add dirty_age, nr_dirty_rcs, and dirty_rcs fields in ZORDERNODE
|
2020-01-22 11:47:52 +08:00 |
|
Vincent Wei
|
db321712ac
|
add dependent headers.
|
2020-01-22 11:47:13 +08:00 |
|
Vincent Wei
|
f601edf7a5
|
cleanup and add dependent headers.
|
2020-01-22 11:46:50 +08:00 |
|
Vincent Wei
|
3ed116b53b
|
add dirty_age, nr_dirty_rcs, and dirty_rcs fields in ZNODEHEADER for compositing schema; lock shared surface in ServerGetZNodeHeader and ServerGetPopupMenuZNodeHeader if specified and return the dirty rects info; declare ServerReleaseZNodeHeader and ServerReleasePopupMenuZNodeHeader; tune compositor operations: on_dirty_ppp, on_dirty_win, and on_dirty_wpp
|
2020-01-22 11:46:18 +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
|
17656af74a
|
move GAL_IntersectRect from surface.c to newgal.h; galrect_2_rect -> GAL_Rect2RECT and move it to newgal.h; add RECT2GAL_Rect
|
2020-01-22 08:39:17 +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
|
a8bd261aec
|
cleanup
|
2020-01-21 18:31:56 +08:00 |
|
Vincent Wei
|
0e0319a737
|
cleanup
|
2020-01-21 18:31:42 +08:00 |
|
Vincent Wei
|
9874a9385f
|
remove MAX_CURSORWIDTH and MAX_CURSORHEIGHT
|
2020-01-21 18:30:53 +08:00 |
|
Vincent Wei
|
2de5a41851
|
use get_sem_key_for_layers instead of get_sem_key
|
2020-01-21 17:39:55 +08:00 |
|
Vincent Wei
|
d5d7fff646
|
return before notsupport in GAL_UpdateRects
|
2020-01-21 17:39:24 +08:00 |
|
Vincent Wei
|
96a702642d
|
tune GAL_SetCursor and GAL_MoveCursor
|
2020-01-21 17:38:30 +08:00 |
|
Vincent Wei
|
b0e780dfd8
|
use surface width and height for screen width and height when it is the server
|
2020-01-21 17:38:07 +08:00 |
|
Vincent Wei
|
be2f3a2546
|
call SyncUpdateDC
|
2020-01-21 17:37:14 +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 |
|