Commit 9f235448 authored by Øyvind Kolås's avatar Øyvind Kolås

fetch the 64x64 context buffer based on the specific requested pixel and

* gegl/buffer/gegl-sampler.c: (gegl_sampler_get_from_buffer): fetch
the 64x64 context buffer based on the specific requested pixel and
not the center of interpolation. We might want to split this down
so that we can ensure that the needed context exist in the 64x64
buffer, thus allowing the samplers to rely on the context being
available within a 64 pixels wide buffer.

svn path=/trunk/; revision=2487
parent 2f88a082
2008-06-19 Øyvind Kolås <pippin@gimp.org>
* gegl/buffer/gegl-sampler.c: (gegl_sampler_get_from_buffer): fetch
the 64x64 context buffer based on the specific requested pixel and
not the center of interpolation. We might want to split this down
so that we can ensure that the needed context exist in the 64x64
buffer, thus allowing the samplers to rely on the context being
available within a 64 pixels wide buffer.
2008-06-18 Øyvind Kolås <pippin@gimp.org>
* gegl/buffer/gegl-sampler.h: added update of GeglSampler that should
......
......@@ -204,8 +204,8 @@ gegl_sampler_get_from_buffer (GeglSampler *sampler,
{
GeglRectangle fetch_rectangle/* = sampler->context_rect*/;
fetch_rectangle.x = (gint) sampler->x;
fetch_rectangle.y = (gint) sampler->y;
fetch_rectangle.x = x;
fetch_rectangle.y = y;
/* we override the fetch rectangle needed by the sampler, hoping that
* the extra pixels we fetch comes in useful in subsequent requests,
......
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