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 |
|
Vincent Wei
|
d63f655df6
|
add section for compositing schema
|
2020-01-07 17:18:54 +08:00 |
|
Vincent Wei
|
2814697b1f
|
add mg_InitSemManger, mg_TerminateSemManager, __mg_alloc_sem_for_compos, and __mg_free_sem_for_compos
|
2020-01-07 17:11:38 +08:00 |
|
Vincent Wei
|
e4260b79eb
|
Enhance mg_InitGAL to use GAL engine info from shared resource for MiniGUI-Processes
|
2020-01-07 09:35:51 +08:00 |
|
Vincent Wei
|
797b4aa83f
|
tune for compilation errors
|
2020-01-06 18:37:43 +08:00 |
|
Vincent Wei
|
992397679a
|
add engine information in the shared resource to avoid getting the info from bad runtime configure
|
2020-01-06 18:32:05 +08:00 |
|
Vincent Wei
|
c8e35931cf
|
pass a buffer to return the NEWGAL engine name: mg_InitGAL
|
2020-01-06 18:31:07 +08:00 |
|
Vincent Wei
|
29a51d2cf2
|
move some common constants to constants.h
|
2020-01-06 17:19:06 +08:00 |
|
Vincent Wei
|
447235b36a
|
Remove unused local variable: newfd
|
2020-01-06 16:55:50 +08:00 |
|
Vincent Wei
|
ca2e35df32
|
Use #ifdef _MGRM_PROCESSES instead of #ifndef _MGRM_THREADS
|
2020-01-06 16:55:32 +08:00 |
|
Vincent Wei
|
fdb2ef360a
|
cleanup: comment out unused fields in G_RES
|
2020-01-06 16:54:56 +08:00 |
|
Vincent Wei
|
6363f34c7f
|
use_shm_open -> use_shmopen
|
2020-01-06 16:54:11 +08:00 |
|
Vincent Wei
|
24c786aa8a
|
cleanup: change copyright year
|
2020-01-06 16:09:11 +08:00 |
|
Vincent Wei
|
e9d0b3fab8
|
cleanup
|
2020-01-06 15:24:19 +08:00 |
|
Vincent Wei
|
c088a580ca
|
Implement ServerSendReplyEx, RegisterRequestHandlerV1, GetRequestHandlerV1, and GetRequestHandlerEx.
Use sock_recvmsg to handle request.
|
2020-01-06 15:03:57 +08:00 |
|
Vincent Wei
|
f8af8b7295
|
Implement sock_sendmsg_t and sock_recvmsg_t.
|
2020-01-06 15:02:48 +08:00 |
|
Vincent Wei
|
103470b92d
|
Remove global variable mgIsServer.
|
2020-01-06 15:02:01 +08:00 |
|
Vincent Wei
|
3926220212
|
Use a static global variable _is_server to implement IsServer.
|
2020-01-06 15:00:23 +08:00 |
|