Commit Graph
889 Commits
Author SHA1 Message Date
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
Vincent Wei 37f0369b95 cleanup and add declaration of __mg_load_cursor_from_res 2020-01-10 11:00:10 +08:00
Vincent Wei 47604e3736 cleanup and remove get_extension 2020-01-10 10:55:44 +08:00
Vincent Wei 57ff3c9267 add __mg_get_extension and __mg_extract_integers 2020-01-10 10:55:12 +08:00
Vincent Wei c2b0de97d2 handlers for requests REQID_LOADCURSOR_PNG and REQID_LOADCURSOR_PNG_MEM 2020-01-09 12:17:34 +08:00
Vincent Wei 902a7c56f5 implement LoadBitmapEx2 2020-01-09 12:16:46 +08:00
Vincent Wei a359534236 implement LoadCursorFromPNGFile and LoadCursorFromPNGMem 2020-01-09 12:16:14 +08:00
Vincent Wei a2c01ff087 cleanup 2020-01-09 12:15:07 +08:00
Vincent Wei 31f5633547 new macros for compositing schema: MAX_CURSORWIDTH and MAX_CURSORHEIGHT 2020-01-09 12:14:51 +08:00
Vincent Wei a346db1742 new client requests id: REQID_LOADCURSOR_PNG and REQID_LOADCURSOR_PNG_MEM 2020-01-09 12:14:03 +08:00
Vincent Wei 74f6510971 new API: LoadCursorFromPNGFile, LoadCursorFromPNGMem 2020-01-09 12:13:03 +08:00
Vincent Wei 582ed130a7 new API: LoadBitmapEx2 2020-01-09 12:12:18 +08:00
Vincent Wei dd21dbdde7 tune for cursor support for compositing schema 2020-01-08 19:28:38 +08:00
Vincent Wei d25d629292 cleanup 2020-01-08 17:24:01 +08:00
Vincent Wei dd69a7c764 declare GAL functions about cursor 2020-01-08 17:23:33 +08:00
Vincent Wei c501c8e588 Implement GAL_CreateCursorSurface, GAL_FreeCursorSurface, GAL_SetCursor, and GAL_MoveCursor 2020-01-08 17:21:52 +08:00
Vincent Wei 8bd3f22fd5 tune 2020-01-08 15:21:13 +08:00
Vincent Wei db08ab931e tune 2020-01-08 14:42:36 +08:00
Vincent Wei 0d3d456334 tune and cleanup 2020-01-08 12:24:54 +08:00
Vincent Wei 3c295190ac make sure that shared_header of a new surface is NULL 2020-01-08 12:24:34 +08:00
Vincent Wei 1c3e2bee7a implement GAL_CreateSharedRGBSurface, GAL_FreeSharedSurfaceData, GAL_AttachSharedRGBSurface, and GAL_DettachSharedRGBSurfaceData functions 2020-01-08 12:22:46 +08:00
Vincent Wei 4f49a2a559 implement __mg_create_anonymous_file 2020-01-08 12:21:57 +08:00
Vincent Wei 3f4001e395 make compositing schema disabled by default 2020-01-08 12:17:12 +08:00
Vincent Wei 2c9f7abb7c cleanup 2020-01-07 17:52:40 +08:00
Vincent Wei 650987c048 call terminate functions 2020-01-07 17:42:41 +08:00
Vincent Wei b06bf73980 cleanup 2020-01-07 17:26:28 +08:00
Vincent Wei b43b817c35 add a new field to indicate whether a video engine is ready for compositing schema 2020-01-07 17:26:07 +08:00
Vincent Wei 828b948e6f add an argument for GAL_GetVideo to indicate whether the video is ready for compositing schema 2020-01-07 17:25:28 +08:00
Vincent Wei 483d067b6e call mg_InitSemManger and mg_TerminateSemManager; cleanup 2020-01-07 17:23:26 +08:00
Vincent Wei 1a5ae775b9 add sem-manager.c 2020-01-07 17:22:32 +08:00
Vincent Wei 312dd032d1 _NR_SEM -> _NR_SYS_SEM 2020-01-07 17:22:14 +08:00
Vincent Wei c3d8e37d04 Declare struct _SharedSurfaceHeader 2020-01-07 17:21:45 +08:00
Vincent Wei 0b63e2c764 declare functions for semaphore manager 2020-01-07 17:20:54 +08:00
Vincent Wei 1c28701ebf add more constants for compositing schema 2020-01-07 17:20:22 +08:00