aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_vulkan_cxx_demo.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-05-24Consistently refer to C++ as "cpp" and fix installationDavid Robillard1-1826/+0
2021-02-01Set maximum size in example programsDavid Robillard1-0/+1
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2021-01-02Clean up includesDavid Robillard1-1/+0
2021-01-02Simplify clang-format configuration and format all codeDavid Robillard1-1394/+1349
2020-12-11Make demo programs work from any directory, and install themDavid Robillard1-15/+38
2020-12-11Print an error message in Vulkan demo when shaders are not foundDavid Robillard1-0/+1
2020-11-26Remove file documentationDavid Robillard1-12/+11
These will not be used in the Sphinx documentation, and most were self-explanatory and only there to make the Doxygen index look nice anyway. Where there was actually useful information, it has been preserved as regular comments.
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