From dd1775a9927922c14f8679ccbc4d3ca8d5917e20 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Tue, 13 Oct 2026 21:23:03 +0300 Subject: public api refactor --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 992b331..1fea452 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ for platform capabilities and limits. - [Public reference](include/yasl/yasl.h), [app runner](include/yasl/app.h), [loop](include/yasl/loop.h), [timing](include/yasl/timing.h), and [native extensions](include/yasl/native.h). Run `doxygen Doxyfile` for a searchable HTML reference in `build-docs/html`. +- [API redesign](docs/api-redesign.md): queue, frame, ownership, and backend contracts. - [API policy](docs/api-policy.md), [migration notes](docs/migrating.md), and [contributing](CONTRIBUTING.md). - [Tests, tablet example, and benchmarks](docs/testing.md). @@ -54,7 +55,8 @@ The complete [hello.c](examples/hello.c) describes its window in pixel with an RGB gradient in its frame callback. Toplevel creation sizes are logical pixels; drawing and input use device pixels. -Targets are borrowed for one frame callback. Keep durable content in application +Both loop styles consume one display event FIFO and receive `yasl_frame`; +`yasl_frame_present()` submits its target. Targets are borrowed for one frame callback. Keep durable content in application memory; the runner handles dispatch, input polling, pacing, and cleanup. Applications managing their own loop can use `` directly. Both workflows are explained in the application guide. -- cgit v1.2.3