Use Kryon shared Android frame pipeline

Delegate native composition to the common app/render host, keeping web serial. Adopt the Moto-verified image decoder and pacing revision; preserve the reader font support included in that upstream history.
This commit is contained in:
waozi committed 2026-10-24 06:43:22 -03:00
1 parent 49f7cd2d0a
commit b75ccabbdc
2 files changed
+20 -12

No files matched your search

+12 -4
View File
@@ -281,7 +281,14 @@ FinishAppSetup :: (app: *InnerBreeze, argc: s32, argv: **u8) {
}
DrawFrame :: (app: *InnerBreeze) {
app_frame(app)
#if #defined(PLATFORM_WEB) {
app_frame(cast(*void)app)
} else {
if !RunRaylibAppFrame(app_frame, cast(*void)app) {
TraceLog(LOG_ERROR, "APP: threaded frame failed")
app.request_quit = 1
}
}
}
app_frame_probe_count: s32;
@@ -307,7 +314,8 @@ AppNavigationKey :: () -> s32 {
}
#program_export
app_frame :: (app: *InnerBreeze) {
app_frame :: (argument: *void) {
app := cast(*InnerBreeze)argument
#if #defined(ANDROID_BUILD) {
picture_state := AndroidPictureWindowState()
// Closing the floating window ends its practice. A running practice
@@ -638,7 +646,7 @@ CaptureScreenshot :: (app: *InnerBreeze) -> s32 {
{
frame: s32 = 0
while frame < warmup_frames {
app_frame(app)
app_frame(cast(*void)app)
frame += 1
}
}
@@ -648,7 +656,7 @@ CaptureScreenshot :: (app: *InnerBreeze) -> s32 {
if HostEnv("APP_SHOT_WINDOW") != null {
while ShutdownRequested() == 0 && app.request_quit == 0 &&
TakeWindowCloseRequest() == 0 {
app_frame(app)
app_frame(cast(*void)app)
}
return 1
}
+8 -8
View File
@@ -20,7 +20,7 @@
},
{
"commit": "1cb9df183089a77c8a16448a556186f30b261a98",
"dependencies": {"kryon": "p6cdec8351751d915"},
"dependencies": {"kryon": "p681e883c26cf5268"},
"id": "p1b13dda539ed2a39",
"name": "Kss",
"ref": "master",
@@ -28,7 +28,7 @@
},
{
"commit": "bad2caaa84ef3eae61e40c99bf572d2b060d0ca2",
"dependencies": {"kryon": "p6cdec8351751d915"},
"dependencies": {"kryon": "p681e883c26cf5268"},
"id": "p20eb23d3e6db3711",
"name": "Game2D",
"ref": "master",
@@ -36,7 +36,7 @@
},
{
"commit": "03c45f9461d9ace179ac6bf0f97fd5176a712f8c",
"dependencies": {"crypto": "pf039d7a776333200", "kryon": "p6cdec8351751d915"},
"dependencies": {"crypto": "pf039d7a776333200", "kryon": "p681e883c26cf5268"},
"id": "p3c73796b4662b488",
"name": "Apps",
"ref": "master",
@@ -61,9 +61,9 @@
"url": "https://github.com/raysan5/raylib.git"
},
{
"commit": "e6a3509dfc1a797593b6498de9842aaf35939220",
"commit": "fed12f5029e025b585b4efc6234a67a4a90a5700",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "p6cdec8351751d915",
"id": "p681e883c26cf5268",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
@@ -87,7 +87,7 @@
},
{
"commit": "f26a99b27919d0598cab6cdd3d33a2b2da333d24",
"dependencies": {"daochi_client": "pf64f159dfdbd5ee5", "kryon": "p6cdec8351751d915", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
"dependencies": {"daochi_client": "pf64f159dfdbd5ee5", "kryon": "p681e883c26cf5268", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
"id": "pb63c6249e84115e6",
"name": "Entity",
"ref": "master",
@@ -112,7 +112,7 @@
},
{
"commit": "4b0e25bd2df86b54a8f5af3db48282bd41daab1a",
"dependencies": {"kryon": "p6cdec8351751d915"},
"dependencies": {"kryon": "p681e883c26cf5268"},
"id": "pe8e21a1f2b5ff52c",
"name": "plot",
"ref": "master",
@@ -145,7 +145,7 @@
}
],
"root": {
"dependencies": {"apps": "p3c73796b4662b488", "crypto": "pf039d7a776333200", "curl": "pd4bcd11b7d623073", "daochi_client": "pf64f159dfdbd5ee5", "entity": "pb63c6249e84115e6", "game2d": "p20eb23d3e6db3711", "kryon": "p6cdec8351751d915", "kss": "p1b13dda539ed2a39", "liboqs": "p4b0a50b49959e674", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pe8e21a1f2b5ff52c", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "sqlite": "peaa43c4b7ef72edf"},
"dependencies": {"apps": "p3c73796b4662b488", "crypto": "pf039d7a776333200", "curl": "pd4bcd11b7d623073", "daochi_client": "pf64f159dfdbd5ee5", "entity": "pb63c6249e84115e6", "game2d": "p20eb23d3e6db3711", "kryon": "p681e883c26cf5268", "kss": "p1b13dda539ed2a39", "liboqs": "p4b0a50b49959e674", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pe8e21a1f2b5ff52c", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "sqlite": "peaa43c4b7ef72edf"},
"name": "Inbe"
},
"toolchain": {