Commit Graph

7 Commits

Author SHA1 Message Date
ca892b4f5f libsysprof-gtk: tweak rendering to use CSS named colors
We still don't want to fully rely on the CSS machinery because that would
require widgets, which is far too heavy for the number of render nodes we
need to regularly draw.
2023-06-16 14:52:36 -07:00
5839d46694 libsysprof-gtk: draw diamonds above squares 2023-06-16 13:58:02 -07:00
266c15a4e1 libsysprof-gtk: fix duration render and cull text
We don't need to render text in most cases. Additionally, that requires
inflating a GObject to extract from the capture.

Instead, try to determine if we will even want to render the text before
causing any of that work to happen.

Also setup the pixel range for the layout so it may ellipsize as necessary.
2023-06-16 13:38:43 -07:00
87e28a6062 libsysprof-gtk: use timeseries for rendering chart marks
This allows us to pre-calculate the values and re-use them, while also
allowing for us to avoid inflating GObject's for marks unless it becomes
necessary to access additional information.
2023-06-16 13:08:31 -07:00
aa3aacc721 libsysprof-gtk: add intermediate chart item
This will give us a place to deal with filtering as well as caching
points based on the selected time range.
2023-06-16 10:54:43 -07:00
f2f47b12d7 libsysprof-gtk: make chart row use :model property
This will allow us to make a map model and then bind from that after
filtering based on selection.
2023-06-15 17:14:03 -07:00
d458d312a3 libsysprof-gtk: start on a chart row
This is just playing around to get things to render. There is much to do
to ensure that we interact with this well (and cache some values for
faster generation on allocation changes).
2023-06-15 16:15:11 -07:00