[gegl] sampler.h: return buffer tile size to 64x64 (for now)



commit a89dff3e210683106cca53c45b314c611828994d
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date:   Tue Dec 18 23:48:21 2012 -0500

    sampler.h: return buffer tile size to 64x64 (for now)

 gegl/buffer/gegl-sampler-lohalo.c |    4 ++--
 gegl/buffer/gegl-sampler.h        |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 989bde3..e1b4427 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -411,7 +411,7 @@ gegl_sampler_lohalo_class_init (GeglSamplerLohaloClass *klass)
 /*
  * IMPORTANT: LOHALO_OFFSET_0 SHOULD BE AN INTEGER >= 2.
  */
-#define LOHALO_OFFSET_0 (16)
+#define LOHALO_OFFSET_0 (14)
 #define LOHALO_SIZE_0 ( 1 + 2 * LOHALO_OFFSET_0 )
 
 /*
@@ -424,7 +424,7 @@ gegl_sampler_lohalo_class_init (GeglSamplerLohaloClass *klass)
  * mipmap level's offset should almost never be smaller than half the
  * previous level's offset.
  */
-#define LOHALO_OFFSET_MIPMAP (16)
+#define LOHALO_OFFSET_MIPMAP (14)
 #define LOHALO_SIZE_MIPMAP ( 1 + 2 * LOHALO_OFFSET_MIPMAP )
 
 #define LOHALO_OFFSET_1 LOHALO_OFFSET_MIPMAP
diff --git a/gegl/buffer/gegl-sampler.h b/gegl/buffer/gegl-sampler.h
index 3d73ccd..7b01ef3 100644
--- a/gegl/buffer/gegl-sampler.h
+++ b/gegl/buffer/gegl-sampler.h
@@ -41,7 +41,7 @@ G_BEGIN_DECLS
  * The way the samplers use mipmap levels, square buffers are
  * preferable to rectangular ones.
  */
-#define GEGL_SAMPLER_MAXIMUM_WIDTH_AND_HEIGHT 256
+#define GEGL_SAMPLER_MAXIMUM_WIDTH_AND_HEIGHT 64
 
 typedef struct _GeglSamplerClass GeglSamplerClass;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]