Re: gtk_preview_draw_row too slow
- From: Sascha Ziemann <szi aibon ping de>
- To: gtk-list redhat com
- Subject: Re: gtk_preview_draw_row too slow
- Date: 11 May 1998 11:09:34 +0200
Federico Mena Quintero <federico@nuclecu.unam.mx> writes:
| Create a GdkPixmap for every frame, and use gtk_preview_put() to
| render each frame into a separate pixmap. When you want to paint a
| frame to the screen, simply use gdk_draw_pixmap().
For what do I need gdk_draw_pixmap? If I understand gtk_preview_put
correct, it takes a pixmap and puts it in a GtkPreview.
gdk_draw_pixmap sounds as if it is copying the data. Am I wrong? How
many Pixmaps do I need to play n frames? n or n+1?
--
http://www.ping.de/sites/aibon/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]