mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 12:02:32 +00:00
cache the data in "RaGaBa A" float instead as a copy of the tile managers
* 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. svn path=/trunk/; revision=27632
This commit is contained in:
parent
d990457022
commit
f742f2137e
|
@ -1,3 +1,11 @@
|
|||
2008-11-12 Øyvind Kolås <pippin@gimp.org>
|
||||
|
||||
* 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.
|
||||
|
||||
2008-11-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpbase/gimpbase.def: sorted.
|
||||
|
|
|
@ -185,12 +185,8 @@ gimp_operation_tile_source_prepare (GeglOperation *operation)
|
|||
|
||||
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 @@ gimp_operation_tile_source_process (GeglOperation *operation,
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue