From 3b8af02be94a510e385f44d58c35c86bb89424a6 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Mon, 12 Oct 2026 08:41:51 +0300 Subject: 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. --- src/common/timing.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/common/timing.c') 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; -- cgit v1.2.3