aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-01 11:58:37 +0100
committerDavid Robillard <d@drobilla.net>2020-11-01 11:58:37 +0100
commitb62c18747fd26102ab758ceda430995d96697b22 (patch)
tree056c5c729e1dc92b8e1fdee705d18a99f5a4a6a0 /include/pugl/pugl.h
parentf7cce780cd6a83fca9413abeafb32246999f4b99 (diff)
downloadpugl-b62c18747fd26102ab758ceda430995d96697b22.tar.gz
pugl-b62c18747fd26102ab758ceda430995d96697b22.tar.bz2
pugl-b62c18747fd26102ab758ceda430995d96697b22.zip
Add missing documentation for Vulkan
Diffstat (limited to 'include/pugl/pugl.h')
-rw-r--r--include/pugl/pugl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h
index 7c74b75..4018c45 100644
--- a/include/pugl/pugl.h
+++ b/include/pugl/pugl.h
@@ -863,8 +863,9 @@ puglGetHandle(PuglView* view);
Pugl includes the following backends:
- - puglGlBackend(), declared in pugl/gl.h
- puglCairoBackend(), declared in pugl/cairo.h
+ - puglGlBackend(), declared in pugl/gl.h
+ - puglVulkanBackend(), declared in pugl/vulkan.h
Note that backends are modular and not compiled into the main Pugl library
to avoid unnecessary dependencies. To use a particular backend,
@@ -1074,6 +1075,7 @@ puglGetNativeWindow(PuglView* view);
- Cairo: Does nothing.
- OpenGL: Sets the current OpenGL context.
- Stub: Does nothing.
+ - Vulkan: Does nothing.
*/
PUGL_API PuglStatus
puglEnterContext(PuglView* view);
@@ -1086,6 +1088,7 @@ puglEnterContext(PuglView* view);
- Cairo: Does nothing.
- OpenGL: Resets the current OpenGL context.
- Stub: Does nothing.
+ - Vulkan: Does nothing.
*/
PUGL_API PuglStatus
puglLeaveContext(PuglView* view);
@@ -1101,6 +1104,7 @@ puglLeaveContext(PuglView* view);
[`cairo_t`](http://www.cairographics.org/manual/cairo-cairo-t.html).
- OpenGL: `NULL`.
- Stub: `NULL`.
+ - Vulkan: `NULL`.
*/
PUGL_API void*
puglGetContext(PuglView* view);