libsysprof-gtk: start on chart + layers

The goal here is to be able to connect data series such as
SysprofTimeSeries or SysprofXYSeries to various chart layers. Those
chart layers get stacked in a SysprofChart.

Some glue code will be necessary to go from frames into data series but
we can experiment with how to automate that later on.
This commit is contained in:
Christian Hergert
2023-06-16 17:00:31 -07:00
parent 4e5e6be841
commit bbd832015e
7 changed files with 688 additions and 10 deletions

View File

@ -1,11 +1,27 @@
libsysprof_gtk_public_sources = [
'sysprof-callgraph-view.c',
'sysprof-chart.c',
'sysprof-chart-layer.c',
'sysprof-depth-layer.c',
'sysprof-mark-chart.c',
'sysprof-mark-table.c',
'sysprof-session.c',
'sysprof-weighted-callgraph-view.c',
]
libsysprof_gtk_public_headers = [
'sysprof-gtk.h',
'sysprof-callgraph-view.h',
'sysprof-chart.h',
'sysprof-chart-layer.h',
'sysprof-depth-layer.h',
'sysprof-mark-chart.h',
'sysprof-mark-table.h',
'sysprof-session.h',
'sysprof-weighted-callgraph-view.h',
]
libsysprof_gtk_private_sources = [
'sysprof-css.c',
'sysprof-mark-chart-item.c',
@ -15,16 +31,6 @@ libsysprof_gtk_private_sources = [
'sysprof-time-label.c',
]
libsysprof_gtk_public_headers = [
'sysprof-gtk.h',
'sysprof-callgraph-view.h',
'sysprof-mark-chart.h',
'sysprof-mark-table.h',
'sysprof-session.h',
'sysprof-weighted-callgraph-view.h',
]
libsysprof_gtk_deps = [
dependency('libadwaita-1'),
dependency('libpanel-1'),