Commit Graph

1829 Commits

Author SHA1 Message Date
Vincent Wei
2900f37c23 merge from dev-4-1 for 5.0.0 2020-03-24 20:25:27 +08:00
Vincent Wei
a693fa7dc2 optimize __mg_composite_dirty_znodes 2020-03-24 13:00:10 +08:00
Vincent Wei
f7cb85401c add version to __ex_compositor_get; tune operations of CompositorOps to optimize it 2020-03-24 12:59:37 +08:00
Vincent Wei
433d5d6cc5 try to optimze cursor refresh (not finished) 2020-03-23 22:08:47 +08:00
Vincent Wei
98b66f158f comment out asynchronous update code 2020-03-23 19:00:14 +08:00
Vincent Wei
4fc71946ca support for asynchronous update 2020-03-23 18:45:13 +08:00
Vincent Wei
59c609dc2d fix a conditional compilation error 2020-03-23 18:22:45 +08:00
Vincent Wei
ce6525d8f2 calling MainWindowCleanup for AboutDialogBox 2020-03-22 22:53:25 +08:00
Vincent Wei
bbd1776911 only increase refcount for surface create for window and menu created by the server 2020-03-22 22:52:57 +08:00
Vincent Wei
f196a67afe call EmptyClipRgn for temp region ergn 2020-03-22 22:52:01 +08:00
Vincent Wei
5f895b2ad9 increase refcount of surface for all memory DC 2020-03-22 20:01:36 +08:00
Vincent Wei
e5c31ee766 free real screen surface when double buffering enabled 2020-03-22 20:00:44 +08:00
Vincent Wei
9f244a1093 call drmModeDirtyFB in SyncUpdate 2020-03-22 20:00:24 +08:00
Vincent Wei
43c387d0a0 debug for use refcount for all memory dc 2020-03-22 19:59:23 +08:00
Vincent Wei
f662f45e86 no need to free surface explicitly 2020-03-22 19:48:51 +08:00
Vincent Wei
602f3c5748 remove debug printf 2020-03-22 18:24:47 +08:00
Vincent Wei
74f727cb2e fix a bug: must reset olddownkey to zero when got a KEYUP event 2020-03-22 18:05:32 +08:00
Vincent Wei
dccc997e75 tune 2020-03-22 17:43:50 +08:00
Vincent Wei
41858de966 fix a bug: pass correct select timeout value 2020-03-22 17:37:43 +08:00
Vincent Wei
86b4d9c9ab fix a bug: always pass cli=0 for dskCalculateDefaultPosition 2020-03-22 17:36:18 +08:00
Vincent Wei
4144065fb8 tune comments 2020-03-22 17:35:54 +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
d3770381b8 add support for alpha_pixel_blt 2020-03-21 19:16:07 +08:00
Vincent Wei
a5f13a023c tune ColorLogicalOp with the values from old DrmColorLogicOp 2020-03-21 19:15:37 +08:00
Vincent Wei
039121892b remove DrmColorLogicOp, use ColorLogicalOp instead; add alpha_pixel_blt operation 2020-03-21 19:15:01 +08:00
Vincent Wei
150f670d2e debug for hardware cursor by using plane 2020-03-21 18:49:20 +08:00
Vincent Wei
7fbd3ef4f3 tune code for authenticate client; remove use of drm_magic 2020-03-21 17:52:21 +08:00
Vincent Wei
c03386f438 remove auth_magic 2020-03-21 17:48:57 +08:00
Vincent Wei
058db9ccdf handler authenticate_client for REQID_AUTHCLIENT 2020-03-21 17:48:40 +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
9a95f9b706 increase MAX_SYS_REQID for REQID_AUTHCLIENT 2020-03-21 17:47:08 +08:00
Vincent Wei
4da4e0b1ac tune 2020-03-21 15:41:21 +08:00
Vincent Wei
151400eac0 disable alpha for CT_COLORKEY 2020-03-21 15:39:49 +08:00
Vincent Wei
f8bd1a67bc fix a conditional compilation error 2020-03-20 19:54:53 +08:00
Vincent Wei
3f65456f3f do not use dumb surface for shadow screen, use GAL_CreateRGBSurfaceInShm instead 2020-03-20 19:12:55 +08:00
Vincent Wei
8c102fcafd remove use of offset fields in GAL_Surface; initialize pixels_off to 0 2020-03-20 19:12:15 +08:00
Vincent Wei
e8150805ff add surface-shm.c 2020-03-20 19:11:18 +08:00
Vincent Wei
88391c47d2 implement GAL_CreateRGBSurfaceInShm 2020-03-20 19:11:00 +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
d2d10421b6 tune map_buffer 2020-03-19 22:29:10 +08:00
Vincent Wei
0e0c95e0a9 tune map_buffer: add scanout argument 2020-03-19 22:28:55 +08:00
Vincent Wei
61e22faeb9 pixels_size -> map_size 2020-03-19 21:45:08 +08:00
Vincent Wei
d81d40f9b7 pixels_size -> map_size 2020-03-19 21:42:33 +08:00
Vincent Wei
66de31895a restore old DrmColorLogicOp 2020-03-19 21:41:38 +08:00
Vincent Wei
bfec1da2a6 remove some unused code 2020-03-19 15:28:07 +08:00
Vincent Wei
c76adc0602 test code: use memcpy directly for blitting from shadow screen to real screen 2020-03-19 12:09:45 +08:00
Vincent Wei
306dd9602a test code of sendfile 2020-03-18 22:40:01 +08:00
Vincent Wei
85c63e90fa use plane for hardware cursor 2020-03-18 18:06:01 +08:00