Are you running this under X, or straight on the framebuffer ?
In the latter case, the initfb program at
http://lekernel.lya.eu/opie770.html should help.

It is also possible that you get this problem under X because evas
uses directly the framebuffer in some cases to gain some speed. Try
disabling acceleration.

Sebastien

2006/9/21, Seb Dev <[EMAIL PROTECTED]>:
Hello list,

I develop a program which receive some bitmap (in BUFFER_FILE file) to
display them on a evas canvas.

This is the function for refreshing the canvas : (called when a bitmap is
received and saved in BUFFER_FILE file)



 *if*(tmp){evas_object_del(tmp);}
   tmp = evas_object_image_add(evas);

   evas_image_cache_flush(evas);
   evas_image_cache_reload (evas);

   evas_object_image_file_set(tmp, BUFFER_FILE, NULL);
   evas_object_move(tmp, 0, 0);
   evas_object_resize(tmp, win_w, win_h);
   evas_object_image_fill_set(tmp, 0, 0, win_w, win_h);
   evas_object_layer_set(tmp,50);

   evas_object_show(tmp);



In a Linux PC environment, this program works well : the canvas is refreshed
every time a bitmap is received.

But when this program is launched on a Nokia 770 with MAEMO 2.0, the canvas
is only refreshed when the screen is touched by the pencil. I don't
understand why the screen is refreshed only when I touch it.

If some of you have an idea to solve this problem, thanks a lot for your
response.

Seb Dev


_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to