The KernelShark plotting library is introduced in this series of patches. The library will be used by the GUI to draw CPU and Task Graphs. This is also the first time KernelShark enters the world of C++. This is the second version of this series of patches. The major change from v1 is the modified inheritance tree of the classes in KsPlotTools. Yordan Karadzhov (VMware) (4): kernel-shark-qt: Add OpenGL/GLUT as a third party dependency. kernel-shark-qt: Add basic instruments for OpenGL plotting. kernel-shark-qt: Add C++ API for drawing of Graphs kernel-shark-qt: Add an example showing how to draw shapes and Graphs. kernel-shark-qt/CMakeLists.txt | 3 + kernel-shark-qt/README | 2 + kernel-shark-qt/examples/CMakeLists.txt | 4 + kernel-shark-qt/examples/dataplot.cpp | 217 +++++ kernel-shark-qt/src/CMakeLists.txt | 14 + kernel-shark-qt/src/KsPlotTools.cpp | 1127 +++++++++++++++++++++++ kernel-shark-qt/src/KsPlotTools.hpp | 465 ++++++++++ kernel-shark-qt/src/libkshark-plot.c | 212 +++++ kernel-shark-qt/src/libkshark-plot.h | 69 ++ 9 files changed, 2113 insertions(+) create mode 100644 kernel-shark-qt/examples/dataplot.cpp create mode 100644 kernel-shark-qt/src/KsPlotTools.cpp create mode 100644 kernel-shark-qt/src/KsPlotTools.hpp create mode 100644 kernel-shark-qt/src/libkshark-plot.c create mode 100644 kernel-shark-qt/src/libkshark-plot.h -- 2.17.1