Commit Graph
19 Commits
Author SHA1 Message Date
Vincent Wei 7513d461bf remove code about semaphhore for shared surface 2023-09-08 18:14:20 +08:00
Vincent Wei c04dde31e5 use flock() instead of semaphore for shared surfaces 2023-09-01 08:35:32 +08:00
Vincent Wei 666fba74cd optimize __mg_get_nr_idle_slots 2021-03-28 21:13:05 +08:00
Vincent Wei 4d1077b759 optimize __mg_lookfor_unused_slot 2021-03-28 20:54:56 +08:00
Vincent Wei 8a362818de rename __mg_os_start_time_ms to __mg_os_start_time; remove __mg_os_get_elapsed_ms; add __mg_os_get_time_ticks 2020-02-25 17:17:10 +08:00
Vincent Wei 298db53fb1 declare __mg_os_get_elapsed_ms 2020-02-22 15:54:30 +08:00
Vincent Wei 6f132886c3 4.2.0 -> 5.0.0 2020-02-18 18:44:42 +08:00
Vincent Wei 217e5971b4 new inline function: __mg_get_nr_idle_slots (moved from desktop.c) 2020-02-04 10:37:24 +08:00
Vincent Wei 65d6c5305e declare __mg_alloc_sem_for_shared_surf and __mg_free_sem_for_shared_surf 2020-02-01 21:41:36 +08:00
Vincent Wei dac437026a tune code to use __mg_lookfor_unused_slot and __mg_slot_clear_use; make these functions inline 2020-01-10 11:48:02 +08:00
Vincent Wei 57ff3c9267 add __mg_get_extension and __mg_extract_integers 2020-01-10 10:55:12 +08:00
Vincent Wei 0d3d456334 tune and cleanup 2020-01-08 12:24:54 +08:00
Vincent Wei 29a51d2cf2 move some common constants to constants.h 2020-01-06 17:19:06 +08:00
Vincent Wei 637dbbce68 change link to licensing policy 2019-11-13 11:53:59 +08:00
Vincent Wei 53c77a9a73 prepend excpetion list statement 2019-07-15 14:17:20 +08:00
Vincent Wei 8040f7abd5 __mg_time -> mg_os_time; __mg_mktime -> __mg_os_mktime; __mg_localtime -> __mg_os_localtime; use clock_gettime for tick count instead of gettimeofday 2019-07-14 14:21:40 +08:00
Vincent Wei 8ac0d539d0 implementation of mg_slice_xxx 2019-04-04 12:18:10 +08:00
VincentWei 62efa8b29a clean up the header copying statements 2018-02-04 17:01:37 +08:00
Vincent Wei e87d052072 initical commit 2017-05-29 12:20:05 +08:00