mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 10:20:07 +00:00
gpu: Print some tex rects in verbose output
In the colorize and texture ops, print the tex rect. This is useful because when adding new features with textures (like atlas usage), these are the ops that I use for testing.
This commit is contained in:
parent
efd5395ecf
commit
28a01ca954
@ -24,6 +24,7 @@ gsk_gpu_colorize_op_print_instance (GskGpuShaderOp *shader,
|
|||||||
|
|
||||||
gsk_gpu_print_rect (string, instance->rect);
|
gsk_gpu_print_rect (string, instance->rect);
|
||||||
gsk_gpu_print_image (string, shader->images[0]);
|
gsk_gpu_print_image (string, shader->images[0]);
|
||||||
|
gsk_gpu_print_rect (string, instance->tex_rect);
|
||||||
gsk_gpu_print_rgba (string, instance->color);
|
gsk_gpu_print_rgba (string, instance->color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ gsk_gpu_texture_op_print_instance (GskGpuShaderOp *shader,
|
|||||||
|
|
||||||
gsk_gpu_print_rect (string, instance->rect);
|
gsk_gpu_print_rect (string, instance->rect);
|
||||||
gsk_gpu_print_image (string, shader->images[0]);
|
gsk_gpu_print_image (string, shader->images[0]);
|
||||||
|
gsk_gpu_print_rect (string, instance->tex_rect);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const GskGpuShaderOpClass GSK_GPU_TEXTURE_OP_CLASS = {
|
static const GskGpuShaderOpClass GSK_GPU_TEXTURE_OP_CLASS = {
|
||||||
|
Loading…
Reference in New Issue
Block a user