Commit d053e337 authored by Debarshi Ray's avatar Debarshi Ray

image-view: Log the zoom value being used

This makes it easier to understand the interpolation algorithm being
selected by GEGL_BUFFER_FILTER_AUTO, which is interesting when
measuring performance.
parent 4c0ff2db
...@@ -580,11 +580,12 @@ photos_image_view_draw_node (PhotosImageView *self, cairo_t *cr, GdkRectangle *r ...@@ -580,11 +580,12 @@ photos_image_view_draw_node (PhotosImageView *self, cairo_t *cr, GdkRectangle *r
end = g_get_monotonic_time (); end = g_get_monotonic_time ();
photos_debug (PHOTOS_DEBUG_GEGL, photos_debug (PHOTOS_DEBUG_GEGL,
"PhotosImageView: Node Blit: %d, %d, %d×%d, %d, %" G_GINT64_FORMAT, "PhotosImageView: Node Blit: %d, %d, %d×%d, %.4f, %d, %" G_GINT64_FORMAT,
rect->x, rect->x,
rect->y, rect->y,
rect->width, rect->width,
rect->height, rect->height,
buffer_flags, buffer_flags,
end - start); end - start);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment