mirror of https://github.com/GNOME/gimp.git
app/gegl/gimpoperationtilesink.c formatting.
2007-12-29 Sven Neumann <sven@gimp.org> * app/gegl/gimpoperationtilesink.c * app/gegl/gimpoperationtilesource.c: formatting. svn path=/trunk/; revision=24471
This commit is contained in:
parent
10d1bfe356
commit
27450af451
|
@ -1,3 +1,8 @@
|
|||
2007-12-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/gegl/gimpoperationtilesink.c
|
||||
* app/gegl/gimpoperationtilesource.c: formatting.
|
||||
|
||||
2007-12-29 Øyvind Kolås <pippin@gimp.org>
|
||||
|
||||
* app/gegl/gimpoperationtilesource.c: do not fetch the full extent
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* GIMP - The GNU Image Manipulation Program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* gimpops.c
|
||||
* gimpoperationtilesink.c
|
||||
* Copyright (C) 2007 Øyvind Kolås <pippin@gimp.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
@ -24,6 +24,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
#include "gegl/gegl-types.h"
|
||||
#include <gegl/buffer/gegl-buffer.h>
|
||||
|
||||
|
@ -184,8 +185,7 @@ gimp_operation_tile_sink_process (GeglOperation *operation,
|
|||
GeglRectangle rect = { destPR.x, destPR.y, destPR.w, destPR.h };
|
||||
|
||||
gegl_buffer_get (input,
|
||||
1.0, &rect, format,
|
||||
destPR.data, destPR.rowstride);
|
||||
1.0, &rect, format, destPR.data, destPR.rowstride);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* GIMP - The GNU Image Manipulation Program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* gimpops.c
|
||||
* gimpoperationtilesource.c
|
||||
* Copyright (C) 2007 Øyvind Kolås <pippin@gimp.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
@ -24,6 +24,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
#include "gegl/gegl-types.h"
|
||||
#include <gegl/buffer/gegl-buffer.h>
|
||||
|
||||
|
@ -201,8 +202,7 @@ gimp_operation_tile_source_process (GeglOperation *operation,
|
|||
{
|
||||
GeglRectangle rect = { srcPR.x, srcPR.y, srcPR.w, srcPR.h };
|
||||
|
||||
gegl_buffer_set (output, &rect, format, srcPR.data,
|
||||
srcPR.rowstride);
|
||||
gegl_buffer_set (output, &rect, format, srcPR.data, srcPR.rowstride);
|
||||
}
|
||||
|
||||
gegl_operation_set_data (operation, context_id,
|
||||
|
|
Loading…
Reference in New Issue