[gimp] app: aim for 15fps projection rendering



commit dcc60e12b6af758ba369b9b48ed75112208222e4
Author: Øyvind Kolås <pippin gimp org>
Date:   Tue Jun 3 01:30:59 2014 +0200

    app: aim for 15fps projection rendering
    
    Allow for more tiles to update, making it possible to see more of the updated
    image when tuning paremters / dragging items interactively. Lower frame rate
    for more image content is better than 60fps for a small rectangle in the upper
    left.

 app/core/gimpprojection.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpprojection.c b/app/core/gimpprojection.c
index ca1a63e..87abc48 100644
--- a/app/core/gimpprojection.c
+++ b/app/core/gimpprojection.c
@@ -47,8 +47,10 @@
 #define GIMP_PROJECTION_CHUNK_WIDTH  256
 #define GIMP_PROJECTION_CHUNK_HEIGHT 128
 
-/*  how much time, in seconds, do we allow chunk rendering to take  */
-#define GIMP_PROJECTION_CHUNK_TIME 0.01
+/*  how much time, in seconds, do we allow chunk rendering to take,
+ *  aiming for 15fps
+ */
+#define GIMP_PROJECTION_CHUNK_TIME 0.0666
 
 
 enum


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