aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_vulkan_cxx_demo.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-11-26Add pugl::World constructor overload that takes a flagDavid Robillard1-2/+1
Eventually we'll need an actual smart flags type here, but for now there's only one flag anyway, so simply define an overload that takes one.
2020-11-26Remove stub event handlers from pugl::ViewDavid Robillard1-1/+5
This was a bit weird since event dispatching can be handled by some other object. Just remove them, and have clients use a catch-all template to handle events that are not handled specially.
2020-11-25Rename puglShowWindow and puglHideWindow to puglShow an puglHideDavid Robillard1-1/+1
These names were confusing because a view is not necessarily a window. Since there's no room for ambiguity here, simply drop the superfluous word.
2020-11-25Pass vkGetInstanceProcAddr to puglCreateSurface instead of a loaderDavid Robillard1-2/+5
This allows puglCreateSurface() to be used with some other loader, or when linking to Vulkan at compile time.
2020-11-01Cleanup: Fix typoDavid Robillard1-1/+1
2020-11-01Make event handling in C++ more flexibleDavid Robillard1-6/+8
2020-10-31Use static polymorphism in C++ bindingsDavid Robillard1-21/+22
This removes virtual function overhead, and the weird situation of having to include pugl.ipp once (or worse, for pugl to provide a binary C++ library).
2020-10-30Simplify header namesDavid Robillard1-1/+1
2020-10-28Add Vulkan demosDavid Robillard1-0/+1839