Commit Graph
335 Commits
Author SHA1 Message Date
Vincent Wei d88d508180 add def_zi_shmid in JOINEDCLIENTINFO 2021-03-23 19:08:25 +08:00
Vincent Wei 4e43c9cfee declare __mg_prepare_layer_for_compositing and __mg_end_up_layer_for_compositing 2021-03-23 11:37:04 +08:00
Vincent Wei 18f51a113d add missed map.h file 2020-04-10 14:07:10 +08:00
Vincent Wei 7932f5f687 tune 2020-03-21 21:49:05 +08:00
Vincent Wei 0a54e292e9 tune 2020-03-21 21:47:03 +08:00
Vincent Wei a8c623b0dd remove drm_magic 2020-03-21 17:47:59 +08:00
Vincent Wei 50b7ee5fc2 add REQID_AUTHCLIENT 2020-03-21 17:47:43 +08:00
Vincent Wei 8d8f51f660 remove offset field add pixels_off field in GAL_Surface; declare GAL_CreateRGBSurfaceInShm 2020-03-20 19:10:23 +08:00
Vincent Wei d81d40f9b7 pixels_size -> map_size 2020-03-19 21:42:33 +08:00
Vincent Wei b54c186688 add auth magic for DRM engine in shared resource segment 2020-03-16 22:58:58 +08:00
Vincent Wei 19372b2fbb no need to use semaphore to lock the dirty rectangle 2020-03-16 22:58:24 +08:00
Vincent Wei 77c76c53ae tune 2020-03-16 22:57:51 +08:00
Vincent Wei f8ced41de6 add CopyVideoInfoToSharedRes method in GAL engine for PROCS and calling this method to copy the video info to shared resource segment when the process is the server 2020-03-16 17:38:50 +08:00
Vincent Wei 41b37abc13 define GAL_SharedSurfaceHeader structure for shadow surface bufffer 2020-03-15 19:17:33 +08:00
Vincent Wei ed728100c3 more fields in SHAREDSURFINFO for convenience 2020-03-15 11:52:37 +08:00
Vincent Wei 2094cda9e5 tune fields in the shared resource segment for DRM engine 2020-03-15 10:50:15 +08:00
Vincent Wei aad307d676 define LEN_EXDRIVER_NAME is same as LEN_SO_NAME 2020-03-15 10:49:32 +08:00
Vincent Wei 9a076cba39 tune the argument types 2020-03-14 22:31:50 +08:00
Vincent Wei 74178caf8c change field map_size to size in SHAREDSURFINFO 2020-03-14 22:31:27 +08:00
Vincent Wei 1bbd5ea4f1 IS_SHAREDFB_SCHEMA -> IS_SHAREDFB_SCHEMA_PROCS; reflects for the changes of fields name and internal functions 2020-03-14 19:03:57 +08:00
Vincent Wei a39c1caa4a tune fields name; add GAL_SharedSurfaceHeader for sharedfb schema 2020-03-14 19:00:17 +08:00
Vincent Wei 1c29f6373e fix a conditional compilation error 2020-03-13 14:33:03 +08:00
Vincent Wei ec641f0207 remove duplicated getMsgQueueForThisThread 2020-03-11 19:28:41 +08:00
Vincent Wei 0059a3226c rename mg_GetMsgQueueForThisThread to getMsgQueueForThisThread and make it inline; Register message queue when allocating it 2020-03-11 19:21:24 +08:00
Vincent Wei e3a167002d fix conditional compilation errors 2020-03-11 18:02:58 +08:00
Vincent Wei 9dea1bb27f make some structures for PROCS avaialble for sharedfb schema 2020-03-10 16:42:29 +08:00
Vincent Wei f8b8e1b5fe change DESKTOP_TIMER_INERTVAL to 10 ticks to handle auto repeat messages 2020-03-06 21:51:50 +08:00
Vincent Wei 5b885ccee1 add MSG_SETAUTOREPEAT message 2020-03-06 21:46:30 +08:00
Vincent Wei b18460fe3a tune some constants 2020-03-06 15:51:51 +08:00
Vincent Wei 8a845ac965 fix some conditional compilation errors 2020-03-06 14:11:35 +08:00
Vincent Wei f23949349b add some helpers 2020-03-06 10:32:47 +08:00
Vincent Wei 283c4e4bc4 mark a window as TODEL after calling ThrowAwayMessages; tune name of some internal inline functions 2020-03-05 13:04:31 +08:00
Vincent Wei 097e379ec2 add MG_IS_GRAPHICS_WINDOW 2020-03-04 15:28:00 +08:00
Vincent Wei bef9c5e476 add dump_gal_rect and dump_surface 2020-03-04 15:27:43 +08:00
Vincent Wei 88603deb44 tune get_effective_dc and release_effective_dc 2020-03-04 15:27:16 +08:00
Vincent Wei 022b23ff32 inuse -> bInUse 2020-03-03 18:37:58 +08:00
Vincent Wei 262bf68807 move gui_Control to ctrlclass.h as inline function 2020-03-03 15:38:17 +08:00
Vincent Wei 9fdfea572d declare __mg_map_find_replace_or_insert, mark __mg_map_find_or_insert and __mg_map_find_or_insert_ex as deprecated 2020-03-02 14:37:59 +08:00
Vincent Wei 7f45d5232d improve the implementation of map based on rbtree to having the alternative free function per entry 2020-03-02 11:16:13 +08:00
Vincent Wei e1c44ebaa9 add mapLocalData fields for all kinds of window 2020-03-02 11:15:16 +08:00
Vincent Wei 08506e3cbb remove unnecessary kernel_GetGCRgnInfo functions 2020-03-01 17:34:21 +08:00
Vincent Wei 513618d4ca rename notif_proc to NotifProc in CONTROL structure; fix conditional compilation errors 2020-02-29 17:52:40 +08:00
Vincent Wei e0b89ef232 add dump_window_details 2020-02-29 17:39:37 +08:00
Vincent Wei 8151cc2428 add message strings for MSG_MOVEWINDOW and MSG_DUMPZORDER 2020-02-29 16:03:23 +08:00
Vincent Wei 92a20d4cb8 add macros MG_IS_APP_WINDOW, MG_IS_CONTROL_WINDOW, MG_IS_DESTROYED_MAIN_WINDOW, and MG_IS_DESTROYED_VIRT_WINDOW; tune all macros for window type; add inline functions: checkAndGetMainWindowPtrOfMainWin and checkAndGetMainWindowPtrOfControl 2020-02-28 17:11:18 +08:00
Vincent Wei d9e14139cf cleanup 2020-02-28 17:09:45 +08:00
Vincent Wei ba2e8358b2 declare internal function __mg_throw_away_messages 2020-02-27 21:02:31 +08:00
Vincent Wei 16d3a63fbb rename get_valid_dc to get_effective_dc; rename release_valid_dc to release_effective_dc 2020-02-27 10:40:17 +08:00
Vincent Wei 366bbb1ff0 always call ReleaseDC even if it is a private CDC in release_valid_dc 2020-02-27 10:36:11 +08:00
Vincent Wei 7c914cdca4 fix a bug: uninitialize the callback functions for the map of system bitmaps; add __mg_map_get_size 2020-02-27 00:47:09 +08:00