2094 Commits
Author SHA1 Message Date
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
Vincent Wei cf537dd421 tune implementation accoring to the changes of DrmDriverOps and DrmSurfaceBuffer 2020-03-18 18:00:51 +08:00
Vincent Wei 334a77adaf tune DrmSurfaceInfo struct 2020-03-18 17:59:30 +08:00
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