diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,7 +2,8 @@ YASL is a small C desktop surface and input library for applications that own their event loop and renderer. It supports Wayland, X11, and Cocoa, with CPU -images, optional OpenGL contexts, Vulkan window surfaces, and direct Metal layers. +images, optional EGL/OpenGL contexts on Linux, Vulkan window surfaces, and direct +Metal layers on macOS. Pen input includes tool identity, proximity/contact, pressure, tilt, and available rotation/distance/tangential/wheel axes. It also supplies IME composition/editing, clipboard text, popups, file drops, and surface drags. @@ -17,7 +18,7 @@ yasl_surface *surface = yasl_surface_create("Example", 800, 600, 0); Flags zero creates a GPU window without choosing a graphics API. The application attaches a Vulkan surface or Metal layer, or uses `yasl_gl_surface_create` to create -an OpenGL window/context. `YASL_SURFACE_CPU` gives the window a pixel buffer: draw into +an OpenGL window/context on Linux. `YASL_SURFACE_CPU` gives the window a pixel buffer: draw into `yasl_cpu_pixels` and call `yasl_cpu_present`. Native handles are available through typed extension headers. **Status:** pre-release 0.1; source and ABI compatibility are not promised. |
