diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 08:41:51 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 08:41:51 +0300 |
| commit | 3b8af02be94a510e385f44d58c35c86bb89424a6 (patch) | |
| tree | 2573fb5ac41700d458109ee1cea4bfd875ecf1a2 /src/common/timing.c | |
| parent | f7fa0930cb46046f995fa1ab927aef62466e995e (diff) | |
refactor: simplify public API and isolate native extensions
Separate loop/timer and native interoperability APIs from the portable surface header. Unify dispatch, geometry queries, and timer callbacks; keep framebuffer bookkeeping and frame clocks private, and hide implementation symbols.
Update backends, documentation, examples, and API/integration coverage. Verify exports, strict C/C++ installed consumers, and normal plus ASan/UBSan suites.
Diffstat (limited to 'src/common/timing.c')
| -rw-r--r-- | src/common/timing.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/common/timing.c b/src/common/timing.c index 17f71b5..7a91327 100644 --- a/src/common/timing.c +++ b/src/common/timing.c @@ -1,4 +1,4 @@ -#include "yasl/timing.h" +#include "timing.h" uint64_t yasl_clock_extend_ms(uint32_t ms, uint64_t now_ns) { @@ -39,11 +39,6 @@ void yasl_clock_resize_stats(const struct yasl_frame_clock *c, out->minflt = c->resize_minflt; } -double yasl_clock_refresh_ms(const struct yasl_frame_clock *c) -{ - return c->refresh_ns / 1e6; -} - uint64_t yasl_clock_next_present_ns(const struct yasl_frame_clock *c) { uint64_t next = c->last_present_ns + (uint64_t)c->refresh_ns; |
