Using Gtk+ with XvShmPutImage()...
- From: Duncan Chang <DuncanChang via com tw>
- To: "'gtk-list gnome org'" <gtk-list gnome org>
- Subject: Using Gtk+ with XvShmPutImage()...
- Date: Wed, 18 Sep 2002 18:13:05 +0800
Hello all:
Now i am coding a application with Gtk+, but i need the low level
x-lib API XvShmPutImage() to communicate to driver. I done with create
another window(XCreateWindow()) to make XvShmPutImage() work, but in this
way the dummy window that created from XCreateWindow(), is not the one that
i want. I using the return values from XCreateWindow(), XOpenDisplay(), and
XCreateGC() as the XvShmPutImage()'s input parameters. I had tried get
those values from Gtk+ widget handle, but it fail. How could i using Gtk+
only with XvShmPutImage() to make it work, without creating a dummy window?
I using :
GDK_WINDOW_XDISPLAY() replaced the value returned from XOpenDisplay(),
GDK_WINDOW_XWINDOW() replaced the value returned from XCreateWindow(),
GDK_GC_XGC() replaced the value returned from XCreateGC(),
Duncan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]