Commit Graph
1745 Commits
Author SHA1 Message Date
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
Vincent Wei 2b715208c0 add double_buffering key to drm section 2020-03-14 22:28:47 +08:00
Vincent Wei 1bbd5ea4f1 IS_SHAREDFB_SCHEMA -> IS_SHAREDFB_SCHEMA_PROCS; reflects for the changes of fields name and internal functions 2020-03-14 19:03:57 +08:00
Vincent Wei 4ea138ef19 implement methods for compositing schema and PROCS runmode 2020-03-14 19:01:49 +08:00
Vincent Wei a39c1caa4a tune fields name; add GAL_SharedSurfaceHeader for sharedfb schema 2020-03-14 19:00:17 +08:00
Vincent Wei b1b4ce2a66 remove redundant fields in DrmSurfaceInfo 2020-03-14 18:58:36 +08:00
Vincent Wei 7c92a9334d remove redundant fields in DrmSurfaceBuffer; simplify interfaces of DrmDriverOps 2020-03-14 18:57:42 +08:00
Vincent Wei aaa4ad1cbc tune description words 2020-03-13 15:02:03 +08:00
Vincent Wei 7b93d0878d tune COMMLCD engine for nwe GAL engine: use SyncUpdte method and sem_update semaphore insteadll dumb delaying 50ms 2020-03-13 14:34:42 +08:00
Vincent Wei 1c29f6373e fix a conditional compilation error 2020-03-13 14:33:03 +08:00
Vincent Wei f80333141b change version to 4.9.1 dev-4-9-1 2020-03-11 20:35:53 +08:00
Vincent Wei ec641f0207 remove duplicated getMsgQueueForThisThread 2020-03-11 19:28:41 +08:00
Vincent Wei 666aeea115 tune implementation of MSG_ENDSESSION for THS runmode 2020-03-11 19:22:34 +08:00
Vincent Wei 0059a3226c rename mg_GetMsgQueueForThisThread to getMsgQueueForThisThread and make it inline; Register message queue when allocating it 2020-03-11 19:21:24 +08:00
Vincent Wei 0a42eadb4c no need to check compositing when calling GAL_GetVideo 2020-03-11 18:33:21 +08:00
Vincent Wei e3a167002d fix conditional compilation errors 2020-03-11 18:02:58 +08:00
Vincent Wei 6832e6e469 use a trick to allocate shadow screen buffer from hardware; cleanup 2020-03-11 17:49:57 +08:00
Vincent Wei 48f63aaae7 disable alpha and colorkey for shadow screen 2020-03-11 17:16:02 +08:00
Vincent Wei 1f9fd7b0ec use common helpers of shadow screen for SetCursor, MoveCursor, UpdateRects, and SyncUpdate methods 2020-03-11 17:12:00 +08:00
Vincent Wei e51dc25c01 use double buffering for compositing schema 2020-03-11 17:10:57 +08:00
Vincent Wei 091ee787ee add shadow-screen.c and shadow-screen.h 2020-03-11 17:07:00 +08:00
Vincent Wei ed5005abd4 common helpers for double buffering screen 2020-03-11 17:06:31 +08:00
Vincent Wei 7601b99f59 cleanup 2020-03-11 10:24:56 +08:00