Surfaces and Swapchains
dxtr edited this page 2026-10-18 17:12:34 +02:00

Page revisions

5 Commits

Author SHA1 Message Date
fc5e49f9e3 Follow cl-vk 75c1e87: the enum types of arguments and readers
The API reference and the page on swapchains name the enum types that
create-swapchain's keywords, the swapchain's readers, the physical device
type, the debug message severity, the current transform and results
have.
2026-10-18 17:12:34 +02:00
0b3a5ea088 Follow cl-vk 68abaf3: the nickname vk-ffi for cl-vk/ffi
The pages call the raw layer's package vk-ffi, as the README and the
tests now do, where they called it %vk.
2026-10-18 16:13:19 +02:00
9bfd5530f8 Describe cl-vk's conditions for misuse and its escape hatches
Misuse is a type-error where check-type can say what is wrong, and a
vk-error with a message otherwise; the struct macros' expansion-time
errors are vk-errors too.  instance-commands, device-commands and
swapchain-images are escape hatches that refuse destroyed objects, and
swapchain-images has an entry of its own.  device-queue takes :family
and :index.  with-structs takes a foreign pointer for a field that
points to untyped memory.  The generator no longer has *platforms*.
2026-10-18 15:22:05 +02:00
da8c2545c3 cl-vk calls Vulkan through cl-ffi, not cffi
Follows cl-vk cae101e: the raw layer's structs, types and the loader's
library are cl-ffi's, the examples use cl-ffi's operators, and getting
started lists cl-ffi in the qlfile beside cl-vk.
2026-10-15 11:23:58 +02:00
eee249dc06 Add Surfaces and Swapchains 2026-10-11 20:16:09 +02:00