Commit Graph

2241 Commits

Author SHA1 Message Date
Vincent Wei
fcde9eb405 Add OnBeforeUpdate() and OnAfterUpdate() operations for Shadow engine 2023-07-27 10:46:58 +08:00
Vincent Wei
39d03be6d7 use DMA_BUF_IOCTL_SYNC 2023-07-27 10:04:53 +08:00
Vincent Wei
bce5b73e1c call pthread_testcancel() in task_do_update 2023-07-25 10:58:27 +08:00
Vincent Wei
0b4a5a1c17 tune 2023-07-25 10:43:20 +08:00
Vincent Wei
c609e2e5b1 check number of pixels before calling hardware accecelation operations 2023-07-24 09:56:10 +08:00
Vincent Wei
f6bf02aa5c add new operation do_blit in DrmDriverOps; use do_blit instead of returning callback of check_blit 2023-07-24 08:22:10 +08:00
Vincent Wei
d52aa4c1a4 do cleanup for free surfaces 2023-07-23 16:03:08 +08:00
Vincent Wei
d6a961aa6c enhance GAL_blit to have a pointer to GAL_VideoDevice for hardware acceleration blits 2023-07-23 15:05:54 +08:00
Vincent Wei
2665200eee add new runtime configuration option: min_pixels_using_hwaccl 2023-07-23 13:02:45 +08:00
Vincent Wei
469eb1c05a use hardware accelerated copy_buff 2023-07-23 12:45:24 +08:00
Vincent Wei
6a83f2efbf Remove SetHWColorKey, SetHWAlpha; Tune prototype of FillHWRect; Add CopyHWSurface() 2023-07-23 12:01:18 +08:00
Vincent Wei
6422cb8568 tune 2023-07-22 20:27:52 +08:00
Vincent Wei
6be4b719c8 If FillHWRect() retruns non-zero, use GAL_SoftFillRect() 2023-07-22 19:02:41 +08:00
Vincent Wei
0f566d0342 tune DRM_SURBUF_TYPE 2023-07-22 17:28:20 +08:00
Vincent Wei
1de19f9bee Upgrade DrmDriverOps to version 2 and enhance ChechHWBlit 2023-07-22 16:15:09 +08:00
Vincent Wei
5f8a88c0a2 check euid when creating update thread 2023-07-21 11:52:52 +08:00
Vincent Wei
1611a56754 tune 2023-07-21 11:20:30 +08:00
Vincent Wei
73fcb8d2c3 tune shadow and drm video engines to show FPS 2023-07-21 10:40:31 +08:00
Vincent Wei
bc0efac21f cleanup 2023-07-14 18:56:50 +08:00
xueshuming
26341b162e debug 2023-07-14 17:06:54 +08:00
Vincent Wei
c6957bec23 debug 2023-07-14 16:32:16 +08:00
Vincent Wei
56ddd87189 debug 2023-07-14 14:38:47 +08:00
Vincent Wei
5cdd258046 use WaitVBlank 2023-07-14 14:06:28 +08:00
Vincent Wei
8b4ab267b6 and an alternative to use semphaore 2023-07-14 13:11:30 +08:00
Vincent Wei
613a19c236 debug: call pthread_mutex_init for update_lock 2023-07-14 12:54:58 +08:00
Vincent Wei
e242cbe32f handle all implementations of kernel_ShowCursorForGDI 2023-07-14 11:19:04 +08:00
Vincent Wei
5f921a2908 cleanup 2023-07-14 10:20:34 +08:00
Vincent Wei
39493ef4dc implement LockHWSurface for shadow and drm engines due to the async. updates to real screen 2023-07-14 10:14:23 +08:00
Vincent Wei
fef311f0b2 use async. update for shadow engine 2023-07-13 18:37:56 +08:00
Vincent Wei
e98aeab8dc debug and tue 2023-07-13 16:37:12 +08:00
Vincent Wei
2ff96ba383 debug and cleanup 2023-07-13 12:21:28 +08:00
Vincent Wei
03d90aec9f debug 2023-07-12 22:29:14 +08:00
Vincent Wei
57293a2896 debug 2023-07-12 22:05:22 +08:00
Vincent Wei
cfd3311f86 use drmWaitVBlank 2023-07-12 21:35:32 +08:00
Vincent Wei
51b09bc2ed tune 2023-07-12 20:09:07 +08:00
Vincent Wei
ff54c6ffe5 debug 2023-07-12 16:41:54 +08:00
Vincent Wei
4c836603c1 tune DRM_SyncUpdate 2023-07-12 15:09:08 +08:00
Vincent Wei
311d2262d6 some tries 2023-07-11 22:17:59 +08:00
Vincent Wei
209a0c6ab0 initial support for drmDMA 2023-07-11 16:59:21 +08:00
Vincent Wei
4c2b20c49f fix a minor bug 2023-07-11 10:51:35 +08:00
Vincent Wei
b7625c5726 tune 2023-07-11 09:02:21 +08:00
Vincent Wei
872e299ad9 fix a bug when using shadow engine and fbcon with double buffering enabled; fix a bug for bad size for destination line 2023-07-10 22:52:28 +08:00
Vincent Wei
c60c19aad5 update copyring year 2023-07-10 11:16:39 +08:00
xueshuming
5d216dcc32 tune: use nr_updaters instead of extra_updaters 2023-07-10 11:06:38 +08:00
Vincent Wei
37c122a1de fix a bug reported in Issue #120; update version to 5.0.13 2023-07-05 12:43:04 +08:00
Vincent Wei
50ae4b9b44 add flag legacy_bidi in CHARSETOPS structure, and tune unicode_bidi_type operation for legacy BIDI algorithm. 2023-07-05 11:59:36 +08:00
Vincent Wei
695c55e464 tune: use extra_updaters instead of multi_updater 2023-06-28 18:14:05 +08:00
Vincent Wei
a16903d570 use multiple concurrently updaters in Shadow engine if multi_updater=yes 2023-06-28 11:46:12 +08:00
Vincent Wei
3189931910 cleanup 2023-06-15 11:03:22 +08:00
Vincent Wei
c3a8dc0798 fix a bug in Shadow NEWGAL engine: SetVideoMode may return another surface, e.g., when using double bufffering of fbcon engine. 2023-06-15 08:53:21 +08:00