Vincent Wei
|
dfe51d7b26
|
new inline functions: __mg_is_valid_layer and __mg_get_layer_from_zi
|
2020-02-04 21:43:45 +08:00 |
|
Vincent Wei
|
217e5971b4
|
new inline function: __mg_get_nr_idle_slots (moved from desktop.c)
|
2020-02-04 10:37:24 +08:00 |
|
Vincent Wei
|
2f1f520151
|
_REGION_DEBUG -> _DEBUG_REGION
|
2020-02-03 22:32:01 +08:00 |
|
Vincent Wei
|
12e4d7bcf5
|
introduce GAL_DirtyInfo structure to maintain dirty info of memory dc for both shared and no shared surface
|
2020-02-03 11:52:19 +08:00 |
|
Vincent Wei
|
8f575fd887
|
declare __mg_convert_region_to_rects
|
2020-02-03 11:51:17 +08:00 |
|
Vincent Wei
|
fa9aacf3af
|
rename __mg_compsor_check_znodes to __mg_composite_dirty_znodes
|
2020-02-02 22:36:17 +08:00 |
|
Vincent Wei
|
fc514cd4c4
|
support of private data of z-node
|
2020-02-02 22:34:15 +08:00 |
|
Vincent Wei
|
5983ad2db8
|
message strings for new window messages
|
2020-02-02 16:58:58 +08:00 |
|
Vincent Wei
|
7ce2eea112
|
add RADIUS_WINDOW_CORNERS and RADIUS_POPUPMENU_CORNERS constants
|
2020-02-02 16:58:32 +08:00 |
|
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
|
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
|
fcdd26fdea
|
declare __compsor_check_znodes
|
2020-01-22 11:55:28 +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
|
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
|
9874a9385f
|
remove MAX_CURSORWIDTH and MAX_CURSORHEIGHT
|
2020-01-21 18:30:53 +08:00 |
|
Vincent Wei
|
528ed6589d
|
add inline functions: get_shm_key_for_system, get_sem_key_for_system, and get_sem_key_for_layers
|
2020-01-21 17:34:44 +08:00 |
|
Vincent Wei
|
d595ffe76f
|
add a flag to video info: hw_cursor
|
2020-01-21 17:34:04 +08:00 |
|
Vincent Wei
|
82497a4032
|
fix conditional compilation errors
|
2020-01-21 12:20:04 +08:00 |
|
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
|
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
|
3b1351b128
|
add changes in ZNODEHEADER and tune the operation names
|
2020-01-20 18:20:30 +08:00 |
|
Vincent Wei
|
5b169494be
|
tune ZORDERNODE
|
2020-01-20 16:51:00 +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
|
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
|
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
|
80a528ffc0
|
declare kernel_get_next_znode
|
2020-01-17 15:50:41 +08:00 |
|
Vincent Wei
|
a4355c6b9d
|
use field ct instead of znode flag
|
2020-01-17 08:54:11 +08:00 |
|
Vincent Wei
|
589d81f756
|
declare __mg_move_client_to_layer
|
2020-01-16 18:09:42 +08:00 |
|
Vincent Wei
|
2bc03c662b
|
declare MOVETOLAYERINFO, MOVEDCLIENTINFO, and __mg_client_on_layer_changed
|
2020-01-16 18:09:25 +08:00 |
|
Vincent Wei
|
3bc45510b7
|
cleanup
|
2020-01-16 15:01:54 +08:00 |
|