Graphics: Vulkan renderer, native windows, input model and frame tooling #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Graphics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Base:
master@ee08249. Five commits, authored byagent. Graphics only — no changes outsideGraphics/.Why
Graphics was a GLFW/OpenGL window with a small canvas. The ported applications need a Vulkan renderer, native Wayland and Android windows, high-rate input, and the frame-level tooling that used to sit in
Modules(profiler, hang watchdog) and that review moved here because the application loop is their only user.Commits
VulkanContextowns instance, device, swapchain, depth-stencil and frames in flight, rebuilding the swapchain on surface changes. Native Wayland backend (xdg-shell, fractional scale, pointer gestures, cross-thread wake-up) and Android backend onnative_app_glue, behindPlatformWindow. AlsoRenderTargetRegistry,GpuTimer,WindowFrame.Canvasuses the NanoVG Vulkan backend from Externals (#8), showing render targets vianvgCreateImageFromHandleVk/nvgUpdateImageFromHandleVk. Bundled fonts with symbol/emoji fallbacks and a glyph-coverage test. Debug GUI on the ImGui Vulkan backend.Callstack, blocked/busy verdict and debugger-pause handling; session recording. The UI scope trail is private to Graphics.GraphicsInput/GraphicsVulkan/Graphicslibraries,ExampleGraphics,OffscreenProof.Adjustments for current master
MODULES_BUILD_DESKTOP/MODULES_BUILD_TESTS/MODULES_BUILD_EXAMPLESgates are replaced byANDROIDchecks — those options do not exist on master.cmake/DesktopEntry.cmakein the port; until that lands it is set directly (online.ilushabasic.modules).TestGraphicsnow compilesProfiler.cpp(link error otherwise).Taskboard/) and no longer asserts on an arrow glyph that only the new Widgets uses.Verification
Full CMake configure of the repository;
Graphics,TestGraphics,ExampleGraphicsandOffscreenProofbuild.A full
ninja -k 0of the repository fails only inConnection(asiofrom_string) and the oldWidgets— both fail identically on unmodified master, so this PR adds no breakage. The old Widgets is replaced in the Widgets PR.No windowed or GPU runtime test was run.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.