|
HikoGUI
A low latency retained GUI
|
When you want to suggest a new feature, an improvement or file a bug report you can do so through an issue.
The easiest way to contribute is by reporting issues with ttauri. When reporting an issue with ttauri, make sure to clearly state:
We are happy to accept pull requests for fixes, features and new widgets. In order to avoid wasting your time, we highly encourage opening an issue to discuss whether the PR you're thinking about making will be acceptable.
If you like to work on an already existing issue, you may want to assign yourself to that issue before working on it, to reduce the chance of two people working on the same pull request.
It could be helpful having a more real time discussion through discord at: https://discord.gg/7e8pFTsujw
We have written down a code style which may help you understand certain constructs in our code. Currently we are transitioning to this new code style, so you may find some code that does not conform to this, don't worry about this :smile:
Here is a description on how to install for the development of ttauri.
Installation requirements:
To install vcpkg, we will need to do the following:
To clone ttauri:
You can open ttauri directly in Visual Studio using the "[open folder](https://docs.microsoft.com/en-us/cpp/build/open-folder-projects-cpp?view=msvc-160)" method.
Since it is a large project you may have to wait a minute before Visual Studio is finished with fully loading the project. Once it is loaded you will see a selection box with a set of build configurations:
Select the x64-MSVC-Debug and use the following menu items to build the project:
After building you can select "ttauri\_demo.exe" from "Select Startup Item..." next to the run-button. Then press that button to run the debug build (with the debugger attached).
You may also want to read the following about how to use CMake projects with visual studio: https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-160
If you already have vcpkg installed you still will need to set VCPKG_ROOT and 'integrate' each time you start a new shell.
Note: TTauri does not currently build fully on Linux.
The following packages need to be installed:
Since the vulkan sdk is part of gentoo it will be installed in /usr.
Debug builds of ttauri are linked against the RenderDoc API. Which means that once an ttauri-application is started you can "Attach to running process" and select the application there.
Since a ttauri-application tries to reduce the amount of window redraws; the application may not show on this list, or you are unable to capture a frame or the frame is not captured. You can force a redraw by selecting the application window, or mouse-over the window.
There is a demo application included with the releases of ttauri.
It would be nice if people could test if this application will work on their computers. And when there is a crash to create a mini-dump and send the mini-dump to the discord channel "#demo-mini-dumps" https://discord.gg/7e8pFTsujw together with the version number of the ttauri release.
To make crash mini-dump when the ttauri demo application crashes create the following registry key
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps
| Name | Type | Value |
|---|---|---|
| DumpFolder | Expandable String Value | "%LOCALAPPDATA%\CrashDumps" |
| DumpCount | DWORD (32-bit) Value | 10 |
| DumpType | DWORD (32-bit) Value | 2 |
This project and everyone participating in it is governed by the TTauri Code of Conduct