Skip to content

Liam-Malone/zig-gfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gfx Demo

So... after starting out writing a Wayland client with just libwayland in C and in Zig, I got curious and decided I'd like to try invoking calls through the wayland socket directly. With no libwaylandx I found this guide on writing a Wayland GUI client from scratch in C, and decided to try following along in Zig.

Once I am satisfied with my aims for this project, I may return to those previous client projects, or I may simply continue to expand this project

Code Generation

In the process of attaining a basic window, I realized it would be much easier if I didn't have to manually write everything for every interface I want to use. With this goal in mind, I wrote wl_gen.zig to produce Zig code to use for interacting with the Wayland server, given a wayland xml specification document.

Goals

  • Basic Window
  • Input Event Handling
  • Vulkan Context
  • 3D Graphics Rendering

Next Steps

  • DMA Buf usage
  • Image loading/rendering
  • Input processing
  • Vulkan

Potential Future Goals

  • Abstract Windowing/Input Handling to Standalone Library
  • Cross Platform Support (Mac/Windows)
  • Game Engine Based on This Project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published