enable caches and fix 1 test ot do what it was meant to do...

SVN revision: 37839
This commit is contained in:
Carsten Haitzler 2008-11-28 11:17:40 +00:00
parent d8ecd625fd
commit c816e3f93c
3 changed files with 5 additions and 5 deletions

View File

@ -48,8 +48,8 @@ static void _loop(double t, int f)
{ {
w0 = 80; w0 = 80;
h0 = 80; h0 = 80;
w = 5 + ((1.0 + cos((double)(f + (i * 10)) / (7.4 * SLOW) )) * w0 * 2); w = 40 + ((i % 3) * (w0 / 2));
h = 5 + ((1.0 + sin((double)(f + (i * 19)) / (12.6 * SLOW) )) * h0 * 2); h = 40 + ((i % 3) * (h0 / 2));
x = (win_w / 2) - (w / 2); x = (win_w / 2) - (w / 2);
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2); y = (win_h / 2) - (h / 2);

View File

@ -1342,8 +1342,8 @@ _engine_args(int argc, char **argv)
evas_key_lock_add(evas, "Num_Lock"); evas_key_lock_add(evas, "Num_Lock");
evas_key_lock_add(evas, "Scroll_Lock"); evas_key_lock_add(evas, "Scroll_Lock");
evas_font_path_append(evas, buf); evas_font_path_append(evas, buf);
evas_image_cache_set(evas, 0 * 1024 * 1024); evas_image_cache_set(evas, 4 * 1024 * 1024);
evas_font_cache_set(evas, 0 * 1024 * 1024); evas_font_cache_set(evas, 1 * 1024 * 1024);
} }
int int

View File

@ -68,7 +68,7 @@
#include "about.h" #include "about.h"
#define OBNUM 128 #define OBNUM 128
#define LOOPS 512 #define LOOPS 128
extern Evas *evas; extern Evas *evas;
extern int win_w, win_h; extern int win_w, win_h;