Commit Graph

1767 Commits

Author SHA1 Message Date
Vincent Wei
6ce6de157b tune DrmSurfaceBuffer struct and DrmDriverOps 2020-03-18 17:58:58 +08:00
Vincent Wei
9eb0a8b40c cleanup debug info 2020-03-17 19:41:46 +08:00
Vincent Wei
f1d670502c use plane for hardware cursor (not finished) 2020-03-17 17:32:39 +08:00
Vincent Wei
3269650084 use plane for hardware cursor (not finished) 2020-03-17 17:32:34 +08:00
Vincent Wei
53edb5dcba tune warning info 2020-03-17 17:31:46 +08:00
Vincent Wei
1f46ba258e change version to 4.9.2 2020-03-16 23:16:22 +08:00
Vincent Wei
959407d7ea do not use fd for get_shared_surface for sharedfb schema under PROC runmode 2020-03-16 23:01:28 +08:00
Vincent Wei
3eacf471ac tune 2020-03-16 23:00:35 +08:00
Vincent Wei
a2b65ba39f add auth_magic 2020-03-16 23:00:09 +08:00
Vincent Wei
444d9bb1f7 call drmSetMaster and drmAuthMagic for sharedfb schema under PROCS runmode 2020-03-16 22:59:39 +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
50ddc8e31c tune 2020-03-16 20:48:30 +08:00
Vincent Wei
e67849db69 only mmap software shared surface 2020-03-16 20:45:41 +08:00
Vincent Wei
96a085170b tune error info 2020-03-16 20:44:57 +08:00
Vincent Wei
ff6f42e291 debug 2020-03-16 20:44:34 +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
072ac4e166 send XVFB_CMD_QUIT command to pcxvfb process when terminating the IAL engine 2020-03-16 17:34:13 +08:00
Vincent Wei
43b8b8de59 add XVFBCmdEventData to send a command to pcxvfb process 2020-03-16 17:33:44 +08:00
Vincent Wei
5fa10b3d7f check name for shared surface 2020-03-16 14:49:16 +08:00
Vincent Wei
fdac75dce0 call munmap only for software shared surface 2020-03-16 14:48:40 +08:00
Vincent Wei
44b8552307 call mg_DestroyFreeQMSGList after terminating desktop 2020-03-16 14:47:42 +08:00
Vincent Wei
6ad5529ee7 tune nr_lines_for_header 2020-03-15 22:17:14 +08:00
Vincent Wei
6b47d74be7 fix compilation errors/warnings 2020-03-15 22:11:16 +08:00
Vincent Wei
32f29cc159 implement UpdateRects and SyncUpdate 2020-03-15 21:28:08 +08:00
Vincent Wei
0d4b076fd5 tune fields of DrmVideoData 2020-03-15 21:27:41 +08:00
Vincent Wei
cddfc2ed84 pass offset to __drm_create_surface_from_handle and __drm_create_surface_from_prime_fd 2020-03-15 21:27:14 +08:00
Vincent Wei
41b37abc13 define GAL_SharedSurfaceHeader structure for shadow surface bufffer 2020-03-15 19:17:33 +08:00
Vincent Wei
d3e1837244 create dumb buffer from handle, name, and prime fd 2020-03-15 13:03:44 +08:00
Vincent Wei
1bc10fb83e use name when request the shared surface 2020-03-15 11:56:12 +08:00
Vincent Wei
7188627084 use name when request the shared surface 2020-03-15 11:55:43 +08:00
Vincent Wei
615d1e72d3 add real_name and shadow_name for double buffering 2020-03-15 11:55:09 +08:00
Vincent Wei
cb8fb1a0c1 get info screen surfaces and create real_screen and shadow_screen for clients 2020-03-15 11:54:33 +08:00
Vincent Wei
ed728100c3 more fields in SHAREDSURFINFO for convenience 2020-03-15 11:52:37 +08:00
Vincent Wei
56e24ff4ef check double buffering 2020-03-15 10:51:56 +08:00
Vincent Wei
ba3a0030fc Do not init the fields in the shared resource segment for DRM engine; left them for DRM engine 2020-03-15 10:50:59 +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
3fa8169353 define backward compatible APIs for drmCreateDCFromXXX 2020-03-15 10:49:04 +08:00
Vincent Wei
5cf3418c15 more comments 2020-03-15 10:48:03 +08:00
Vincent Wei
3611804ecc change name of field map_size to size 2020-03-14 22:35:07 +08:00
Vincent Wei
c121c87b75 add argument offset to drmCreateDCFromXXX functions 2020-03-14 22:34:29 +08:00
Vincent Wei
47f577b672 change field name 2020-03-14 22:34:03 +08:00
Vincent Wei
7ca92b6350 add some fields in GAL_PrivateVideoData for compisiting schema and double buffering 2020-03-14 22:33:32 +08:00
Vincent Wei
e4cc1d4c26 code for sharedfb schema 2020-03-14 22:32:39 +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
4fee49aa43 add argument offset to drmCreateDCFromXXX functions 2020-03-14 22:31:01 +08:00
Vincent Wei
fa13587088 restore drm_format field just for convenience 2020-03-14 22:29:50 +08:00