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:
@@ -24,6 +24,7 @@ gsk_gpu_colorize_op_print_instance (GskGpuShaderOp *shader,
|
||||
|
||||
gsk_gpu_print_rect (string, instance->rect);
|
||||
gsk_gpu_print_image (string, shader->images[0]);
|
||||
gsk_gpu_print_rect (string, instance->tex_rect);
|
||||
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_image (string, shader->images[0]);
|
||||
gsk_gpu_print_rect (string, instance->tex_rect);
|
||||
}
|
||||
|
||||
static const GskGpuShaderOpClass GSK_GPU_TEXTURE_OP_CLASS = {
|
||||
|
||||
Reference in New Issue
Block a user