5 #include <vulkan/vulkan.h>
13 void vk_init_xwin(Display *dpy, Window win);
15 int vk_init(unsigned int flags, unsigned int *usedflags);
16 void vk_cleanup(void);
18 int vk_reshape(int xsz, int ysz);
20 int vk_create_rpass(void);
21 void vk_free_rpass(int rp);
22 void vk_rpass_colorbuf(int rp, int fmt, int n);
23 void vk_rpass_msaa(int rp, int nsamp);
24 void vk_rpass_clear(int rp, int clear);
25 VkRenderPass vk_rpass(int rp);
27 int vk_create_fb(void);
28 void vk_free_fb(int fb);
29 void vk_fb_size(int fb, int x, int y);
30 void vk_fb_rpass(int fb, int rpass);
31 void vk_fb_images(int fb, int n, ...);
32 VkFramebuffer vk_fb(int fb);