Vincent Wei
|
fcfb830ac5
|
fix compilation errors
|
2020-01-15 12:33:37 +08:00 |
|
Vincent Wei
|
ace6e87eaf
|
use refcount of surface when calling CreateMemDCFromSurface and DeleteMemDC; implement GetSurfaceFromDC
|
2020-01-15 12:31:27 +08:00 |
|
Vincent Wei
|
cd01d85a41
|
check return value of MSG_INITMENU
|
2020-01-15 12:30:25 +08:00 |
|
Vincent Wei
|
1e26154f8f
|
check return value of MSG_INITMENU
|
2020-01-15 12:30:07 +08:00 |
|
Vincent Wei
|
dc58ee6d20
|
some new flags for znode
|
2020-01-15 12:29:45 +08:00 |
|
Vincent Wei
|
2b970b17bf
|
introduce dc field for menu
|
2020-01-15 12:29:20 +08:00 |
|
Vincent Wei
|
1a14f8f1bc
|
declare some internal apis
|
2020-01-15 12:28:38 +08:00 |
|
Vincent Wei
|
aec75c3232
|
move some declartions to internals.h
|
2020-01-15 12:28:17 +08:00 |
|
Vincent Wei
|
2b18f81b1c
|
cleanup; implement create_memdc_from_menu and delete_memdc_for_menu for compositing
|
2020-01-15 12:27:55 +08:00 |
|
Vincent Wei
|
23a46ce08f
|
use SHAREDSURFINFO to return the wallpaper pattern surface information
|
2020-01-15 10:15:31 +08:00 |
|
Vincent Wei
|
39cfda8384
|
tune prototype of AttachSharedHWSurface
|
2020-01-15 10:14:49 +08:00 |
|
Vincent Wei
|
a97e344b45
|
tune implementation of GAL_AttachSharedRGBSurface
|
2020-01-15 10:14:20 +08:00 |
|
Vincent Wei
|
ddc4453be4
|
use SHAREDSURFINFO to get the wallpaper surface info
|
2020-01-15 10:13:44 +08:00 |
|
Vincent Wei
|
164d39917c
|
pass surface flags and surface map size to srvAllocZOrderNode
|
2020-01-15 10:13:17 +08:00 |
|
Vincent Wei
|
b63b34c26c
|
fix bad argument name
|
2020-01-15 10:12:32 +08:00 |
|
Vincent Wei
|
43e4c29c6e
|
add SHAREDSURFINFO structure
|
2020-01-15 10:11:54 +08:00 |
|
Vincent Wei
|
5ca8683356
|
fix bug: bad depth
|
2020-01-15 09:05:20 +08:00 |
|
Vincent Wei
|
d88718bbc8
|
cleanup
|
2020-01-14 19:14:58 +08:00 |
|
Vincent Wei
|
e8d6e479e1
|
field surf for compositing schema
|
2020-01-14 18:21:40 +08:00 |
|
Vincent Wei
|
944b3fd116
|
cleanup
|
2020-01-14 18:21:15 +08:00 |
|
Vincent Wei
|
c53f8229b2
|
cleanup
|
2020-01-14 18:20:54 +08:00 |
|
Vincent Wei
|
8fa5253b6a
|
restore old calls of kernel_alloc_z_order_info
|
2020-01-14 12:16:12 +08:00 |
|
Vincent Wei
|
44b7420a61
|
enhance zorder_op to support shared surface (use version 1 handler);
|
2020-01-14 12:12:25 +08:00 |
|
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 |
|