Commit 55d9497d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

boost performance by setting a reasonable tile cache size.

2003-09-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (create_image): boost performance
	by setting a reasonable tile cache size.
parent 527c1a2f
2003-09-07 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c (create_image): boost performance
by setting a reasonable tile cache size.
2003-09-07 Michael Natterer <mitch@gimp.org>
* app/display/display-types.h
......@@ -349,6 +349,8 @@ create_image (const GdkPixbuf *pixbuf)
drawable = gimp_drawable_get (layer);
gimp_tile_cache_ntiles ((width / gimp_tile_width ()) + 1);
gimp_pixel_rgn_init (&pr, drawable,
0, 0, width, height,
TRUE, FALSE);
......
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