-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package request: implot #27528
Comments
I have no immediate interest in packaging implot directly, but what (in particular) is scary about imgui recipe? While I understand that the CMakeList.txt maintained in the recipe is a bit unusual, let me give a bit of context (from what I remember/understood). imgui upstream is not interested in mantaining CMake/shared library/packaging/ABI stability themself for various reasons (see ocornut/imgui#1469 (comment) and ocornut/imgui#7881 (comment)), so the CMake part is up to packagers/distro mantainers For the imgui CMake recipe I think we took heavy inspiration from vcpkg (https://github.com/microsoft/vcpkg/tree/b4624c3a701b11248d88aab08744a37ee7aea1cc/ports/imgui). I guess we can do this also for implot: https://github.com/microsoft/vcpkg/tree/b4624c3a701b11248d88aab08744a37ee7aea1cc/ports/implot , that apparently links to vcpkg in its README: https://github.com/epezent/implot/blame/f156599faefe316f7dd20fe6c783bf87c8bb6fd9/README.md#L83, so I think we can say that upstream thinks that is a a sound approach. I did not look into the |
Having compile time defines change the size of variables is scary to me aa it leads to binary incompatibility. |
Sure, the nice thing in this case is that defines are defined by the |
It also means to me that you can get incompatible requirements from downstream packages. In either case. You are correct, it is surmountable |
Package name
implot
Package version
Newest
Package website
https://github.com/epezent/implot
Package availability
Source only
Additional comments
Similar to imgui, but helps with plots.
However, the recipe from for imgui scares me @Tobias-Fischer @traversaro. Do you two have any interest in packaging implot?
as well as the extremely important note from implot
https://github.com/epezent/implot
Extremely Important Note
Dear ImGui uses 16-bit indexing by default, so high-density ImPlot widgets like ImPlot::PlotHeatmap() may produce too many vertices into ImDrawList, which causes an assertion failure and will result in data truncation and/or visual glitches. Therefore, it is HIGHLY recommended that you EITHER:
Package is not available
No previous issues or open PRs
The text was updated successfully, but these errors were encountered: