gimp r27632 - in trunk: . app/gegl
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27632 - in trunk: . app/gegl
- Date: Wed, 12 Nov 2008 20:43:36 +0000 (UTC)
Author: ok
Date: Wed Nov 12 20:43:36 2008
New Revision: 27632
URL: http://svn.gnome.org/viewvc/gimp?rev=27632&view=rev
Log:
* app/gegl/gimpoperationtilesource.c:
(gimp_operation_tile_source_prepare),
(gimp_operation_tile_source_process): cache the data in "RaGaBa A"
float instead as a copy of the tile managers exact data, this allows
more direct tile data access at projection compositing time.
Modified:
trunk/ChangeLog
trunk/app/gegl/gimpoperationtilesource.c
Modified: trunk/app/gegl/gimpoperationtilesource.c
==============================================================================
--- trunk/app/gegl/gimpoperationtilesource.c (original)
+++ trunk/app/gegl/gimpoperationtilesource.c Wed Nov 12 20:43:36 2008
@@ -185,12 +185,8 @@
if (self->tile_manager)
{
- const Babl *format;
- format = gimp_bpp_to_babl_format (tile_manager_bpp (self->tile_manager),
- self->linear);
-
- gegl_operation_set_format (operation, "output", format);
+ gegl_operation_set_format (operation, "output", babl_format("RaGaBaA float"));
}
}
@@ -224,7 +220,8 @@
if (! self->tile_manager)
return FALSE;
- format = gegl_operation_get_format (operation, "output");
+ format = gimp_bpp_to_babl_format (tile_manager_bpp (self->tile_manager),
+ self->linear);
pixel_region_init (&srcPR, self->tile_manager,
result->x, result->y,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]