Merge branch 'matthiasc/for-main' into 'main'

gpu: Print globals when being verbose

See merge request GNOME/gtk!6897
This commit is contained in:
Matthias Clasen 2024-02-13 14:00:30 +00:00
commit f533d08537

View File

@ -32,7 +32,13 @@ gsk_gpu_globals_op_print (GskGpuOp *op,
GString *string,
guint indent)
{
GskGpuGlobalsOp *globals = (GskGpuGlobalsOp *) op;
GskGpuGlobalsInstance *instance = &globals->instance;
gsk_gpu_print_op (string, indent, "globals");
g_string_append_printf (string, "scale %g %g ", instance->scale[0], instance->scale[1]);
g_string_append (string, "clip ");
gsk_gpu_print_rounded_rect (string, instance->clip);
gsk_gpu_print_newline (string);
}