Commit Graph
213 Commits
Author SHA1 Message Date
Vincent Wei 0b1fadec95 debug.h 2020-02-12 17:54:05 +08:00
Vincent Wei dc100bc7bc initial commit; dump_region 2020-02-12 17:53:45 +08:00
Vincent Wei 8b81d71c5a change ICON structure: we always decode an icon into RGBA8888 compliant pixels 2020-02-12 11:26:49 +08:00
Vincent Wei 8900845cf1 declare __mg_get_common_rgba8888_dc and __mg_reset_common_rgba8888_dc 2020-02-12 11:26:21 +08:00
Vincent Wei b7965b3940 use dwBkColor for compositing schema 2020-02-11 18:09:30 +08:00
Vincent Wei dd502454ee add surf_flag to GAL_CreateSurfaceForZNode; declare GAL_CreateSurfaceForZNodeAs 2020-02-11 18:07:16 +08:00
Vincent Wei fcb7632780 define DO_COMPSOR_OP and DO_COMPSOR_OP_ARGS 2020-02-07 12:08:20 +08:00
Vincent Wei 32c5c3c58f cleanup; use MSG_SETWINDOWMASK instead of __kernel_change_z_node_mask_rect 2020-02-07 10:18:30 +08:00
Vincent Wei e77410462b __kernel_change_z_order_mask_rect -> __kernel_change_z_node_mask_rect 2020-02-06 17:49:35 +08:00
Vincent Wei 75ba1cfdaa add lock_count to support recursive lock 2020-02-06 10:56:20 +08:00
Vincent Wei b868dc71c6 change RADIUS_WINDOW_CORNERS to 7 2020-02-05 12:35:29 +08:00
Vincent Wei dcb79f71d2 disable field age of ZORDERNODE for compositing schema 2020-02-05 11:06:31 +08:00
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