feat(kotlin-compose): design system + 33 components + gallery_kt + e2e android emulator + scaffolder fixes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-11 16:28:50 +02:00
parent 0bdb8454e1
commit cb6d9e61d1
152 changed files with 148262 additions and 25 deletions
+27
View File
@@ -0,0 +1,27 @@
#pragma once
// sokol_setup — helpers para inicializar sokol_gfx sobre un GL context
// creado por SDL3 (no por sokol_app). Issue 0072b.
//
// Uso tipico:
// SDL_Window* w = SDL_CreateWindow(...);
// SDL_GLContext gl = SDL_GL_CreateContext(w);
// sg_setup({ .environment = fn::gfx::make_environment(),
// .logger.func = slog_func });
// ...
// sg_pass p{}; p.swapchain = fn::gfx::make_swapchain(width, height);
// sg_begin_pass(&p);
#include "sokol_gfx.h"
namespace fn::gfx {
// Default environment for an SDL3-managed GL context.
// color RGBA8, depth+stencil, no MSAA. Override fields as needed.
sg_environment make_environment();
// Build a default swapchain for the current SDL3 window framebuffer.
// Pass current drawable dimensions in pixels.
sg_swapchain make_swapchain(int width, int height);
} // namespace fn::gfx