Commit Graph
945 Commits
Author SHA1 Message Date
Vincent Wei 2dd3c89848 restore shared znode info 2020-01-14 12:11:33 +08:00
Vincent Wei fd94643d55 implement CreateMemDCFromSurface 2020-01-14 12:11:00 +08:00
Vincent Wei eee8aa9836 enhance to get file_size as map_size; implement GAL_CreateSurfaceForZNode 2020-01-14 12:10:41 +08:00
Vincent Wei 7b87a03ff3 REQID_NEXUS_CLIENT_GET_SURFACE -> REQID_NEXUS_HWSURFACE 2020-01-14 12:09:43 +08:00
Vincent Wei 71459366d5 restore old implementation for shared znode info 2020-01-14 12:09:12 +08:00
Vincent Wei f479377b4e change AllocZOrderNode and FreeZOrderNode for compositing schema 2020-01-14 12:08:49 +08:00
Vincent Wei 138c378665 create memdc for shared surface of window and delete it 2020-01-14 12:08:10 +08:00
Vincent Wei 20450fdca3 change for extra argument for AllocZOrderNode and FreeZOrderNode 2020-01-14 12:07:12 +08:00
Vincent Wei 65f0f4894e restore old implementation of kernel_alloc_z_order_info 2020-01-14 12:06:26 +08:00
Vincent Wei 25c57d84ba restore id of semaphore set for shared znode info 2020-01-14 12:05:56 +08:00
Vincent Wei 898d457701 introduce argument fd for __mg_do_zorder_operation 2020-01-14 12:04:40 +08:00
Vincent Wei 50718d3ac4 declaration of GAL_CreateSurfaceForZNode 2020-01-14 12:03:35 +08:00
Vincent Wei 94add6464f declaration of CreateMemDCFromSurface 2020-01-14 12:03:04 +08:00
Vincent Wei 09490187b0 introduct REQMASK_JOINLAYERFIRST and map_size field in ZORDEROPINFO 2020-01-14 12:02:31 +08:00
Vincent Wei 1843c94fed create shared surface for main window or global control 2020-01-14 12:01:33 +08:00
Vincent Wei a0d069b5b6 use REQMASK_JOINLAYERFIRST to check whether need call JoinLayer first 2020-01-14 12:00:34 +08:00
Vincent Wei cd5c13bf3e restore shared znode info and add mem_dc field for compositing schema 2020-01-14 11:59:44 +08:00
Vincent Wei 8d2adaa61d For LoadCursorFromPNGMem, the array of offsets must have NR_CURSORS + 1 units 2020-01-14 08:50:18 +08:00
Vincent Wei aec634797b make DesktopWinProc static; DesktopMain -> __kernel_desktop_main 2020-01-13 18:27:28 +08:00
Vincent Wei 9c392a3229 _MGUSE_COMPOSITING -> _MGSCHEMA_COMPOSITING; _MGUSE_SHAREDFB -> _MGSCHEMA_SHAREDFB 2020-01-13 18:10:01 +08:00
Vincent Wei 8020e09de5 tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:09:04 +08:00
Vincent Wei c3d0a19898 tune code for _MGSCHEMA_COMPOSITING 2020-01-13 18:08:44 +08:00
Vincent Wei 006508c84f use POSIX semaphore instead of System V semaphore set 2020-01-13 18:08:15 +08:00
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