Commit Graph
1272 Commits
Author SHA1 Message Date
Vincent Wei 2d56b56826 cleanup 2020-01-13 18:07:26 +08:00
Vincent Wei 1db2ef3a71 tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:06:40 +08:00
Vincent Wei 5abad6d6b1 cleanup 2020-01-13 18:05:59 +08:00
Vincent Wei d52863c6ae do not use System V semaphore set for shared surfaces 2020-01-13 18:05:37 +08:00
Vincent Wei a45688ae83 tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:04:44 +08:00
Vincent Wei 0b5fca91e9 tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:04:31 +08:00
Vincent Wei 4620c06a74 tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:04:12 +08:00
Vincent Wei 3a66595c4d tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:03:42 +08:00
Vincent Wei b45562d171 tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:02:56 +08:00
Vincent Wei eead702d78 tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:02:30 +08:00
Vincent Wei 29c155ba1d cleanup 2020-01-13 18:01:59 +08:00
Vincent Wei 07eeec685c tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:01:12 +08:00
Vincent Wei 6c5302967e disable code if not defined _MGSCHEMA_COMPOSITING 2020-01-13 18:00:34 +08:00
Vincent Wei af359e7fd1 move some constants from zorder.h 2020-01-13 17:59:51 +08:00
Vincent Wei 8c1b087b27 disable code if not defined _MGSCHEMA_COMPOSITING 2020-01-13 17:59:20 +08:00
Vincent Wei 76d99caff7 zorder_shmid only for _MGSCHEMA_SHAREDFB; _MGUSE_COMPOSITING -> _MGSCHEMA_COMPOSITING 2020-01-13 17:58:28 +08:00
Vincent Wei ba650606aa _MGUSE_COMPOSITING -> _MGSCHEMA_COMPOSITING 2020-01-13 17:57:15 +08:00
Vincent Wei c2a44e869e check declaration of SHM_ANON; _MGUSE_COMPOSITING -> _MGSCHEMA_COMPOSITING; _MGUSE_SHAREDFB -> _MGSCHEMA_SHAREDFB 2020-01-13 17:56:47 +08:00
Vincent Wei f334a4c7ae cleanup 2020-01-13 11:46:43 +08:00
Vincent Wei 34650250f9 set a static buff to pixels for empty surface 2020-01-13 11:46:23 +08:00
Vincent Wei 5e4f1db566 fix bad calculation of file_size 2020-01-13 11:45:52 +08:00
Vincent Wei e8a3c24c9c add macro ROUND_TO_MULTIPLE 2020-01-13 11:45:27 +08:00
Vincent Wei 94272c3af2 check surface size in __mg_check_ecrgn, for empty surface, return NULL 2020-01-13 10:23:04 +08:00
Vincent Wei aea3ff9c4f optimize GetScreenRect and fix a bug to create wallpaper pattern surface for clients 2020-01-13 10:22:21 +08:00
Vincent Wei e98032331f initial screen resolution in shared resource segment 2020-01-13 10:21:23 +08:00
Vincent Wei 48c0e35cfa add screen resolution in shared resource segment 2020-01-13 10:20:54 +08:00
Vincent Wei 1f89b02489 Do mot check whether joined a layer for request REQID_GETWPSURFACE 2020-01-12 18:30:26 +08:00
Vincent Wei 690949eb94 more comments words for wallpaper_pattern_size key 2020-01-12 18:29:34 +08:00
Vincent Wei b29ed8ac94 enable fbcon for developer mode 2020-01-12 14:44:44 +08:00
Vincent Wei fde2299126 Call GetScreenRect for usage of &g_rcScr 2020-01-12 14:27:13 +08:00
Vincent Wei 9547020633 New API: GetScreenRect and define g_rcScr as a macro calling GetScreenRect 2020-01-12 14:26:51 +08:00
Vincent Wei 43c4570b87 tune and cleanup 2020-01-10 19:09:09 +08:00
Vincent Wei db92655ac5 comments for PNG cursor 2020-01-10 19:06:02 +08:00
Vincent Wei e9db07e428 description of HDC_SCREEN, HDC_SCREEN_SYS under compositing schema 2020-01-10 19:04:36 +08:00
Vincent Wei e75144e069 cleanup and eliminate compilation errors 2020-01-10 16:25:52 +08:00
Vincent Wei 6a48caa5b0 bmp_ComputePitch -> __mg_bmp_compute_pitch 2020-01-10 15:03:42 +08:00
Vincent Wei 7065b5b854 add __mg_bitmap_get_std_16c 2020-01-10 15:03:07 +08:00
Vincent Wei ef058ca5dd implement srvCreateCursor for compositing schema 2020-01-10 15:02:06 +08:00
Vincent Wei dac437026a tune code to use __mg_lookfor_unused_slot and __mg_slot_clear_use; make these functions inline 2020-01-10 11:48:02 +08:00
Vincent Wei 08dc23ec3e cleanup 2020-01-10 11:26:30 +08:00
Vincent Wei 2fd53b7dba implement kernel_ShowCursorForGDI for compositing schema 2020-01-10 11:22:26 +08:00
Vincent Wei 70ce5dbe74 do not call kernel_ReShowCursor for compositing schema 2020-01-10 11:22:03 +08:00
Vincent Wei b89f4e128a cleanup and remove implement sysres_load_system_cursor 2020-01-10 11:09:53 +08:00
Vincent Wei 23482fdd44 make sysres_load_system_cursor inline 2020-01-10 11:09:36 +08:00
Vincent Wei 9add6a46da enhance __mg_load_cursor_from_res to support PNG for compositing schema 2020-01-10 11:05:45 +08:00
Vincent Wei e329a5856b fix bug of wrong check cb_alloc_buff; get_extension -> __mg_get_extension 2020-01-10 11:04:56 +08:00
Vincent Wei b20883c832 use GAL_HWSURFACE to check haredware surface 2020-01-10 11:03:57 +08:00
Vincent Wei c29bb2611c cleanup and get_extension -> __mg_get_extension 2020-01-10 11:03:01 +08:00
Vincent Wei d0fb2a3b82 cleanup and implement __mg_extract_integers 2020-01-10 11:02:02 +08:00
Vincent Wei b5816ee4e2 remove duplicated GetSystemCursor and GetDefaultCursor 2020-01-10 11:00:54 +08:00