Re: How to call Xlib function inside gtk library?

2002-08-28 Thread Havoc Pennington
[EMAIL PROTECTED] writes: > 1. Does anyone have such experience with the xlib and gdk > interaction? Yes, it should work fine. > 2. Does anyone know the reason why gdkrgb library function is slow? It is converting the RGB data to the X visual, potentially dithering to preserve image quality.

How to call Xlib function inside gtk library?

2002-08-28 Thread hwang
Hi, I am writing a video player, but there is a problem with my video display. I am now using gdk_draw_rgb_32_image() to draw images at a given rate in an infinite loop. But unfortunately, the image display looks bad (seemed like it is skipping frames or something), the reason could be rgb_draw_