I have been warned some time ago by mike that surface format conversion should be avoided because still unfinished in gdkdfb and cairodfb: i guess the eror you're reporting has to do with that.
regards Attilio Michael Trimarchi ha scritto: > Hi, > I have the same problem in the bitmap rendering > (gtktetris:395): Gdk-WARNING **: gdkpixbuf-drawable.c:1257: Depth of the > source drawable is 16 where as the visual depth of the colormap passed is 32 > > (gtktetris:395): Gdk-WARNING **: gdkpixbuf-drawable.c:1257: Depth of the > source drawable is 16 where as the visual depth of the colormap passed is 32 > > (gtktetris:395): Gdk-WARNING **: gdkpixbuf-drawable.c:1257: Depth of the > source drawable is 16 where as the visual depth of the colormap passed is 32 > > (gtktetris:395): Gdk-WARNING **: gdkpixbuf-drawable.c:1257: Depth of the > source drawable is 16 where as the visual depth of the colormap passed is 32 > > Is releated to a wrong initialization? > Regards Michael > >> Hi all, >> to speedup my tetris application, I'm using the >> gdk_directfb_visual_by_format function but cairo has some trouble with >> font and icon. >> >> // window >> visual = gdk_directfb_visual_by_format (DSPF_RGB16); >> cmap = gdk_colormap_new (visual, FALSE); >> gtk_widget_push_colormap (cmap); >> main_window = gtk_window_new(GTK_WINDOW_TOPLEVEL); >> >> How can I solve this problem? >> >> Regards Michael >> >> >> >> >> _______________________________________________ >> directfb-dev mailing list >> [email protected] >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev >> >> > > > _______________________________________________ > directfb-dev mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
