Re: Custom GdkColormap from X Colormap
- From: Naofumi Yasufuku <naofumi yasufuku net>
- To: Michael Torrie <torriem byu edu>
- Cc: gtk-devel-list gnome org
- Subject: Re: Custom GdkColormap from X Colormap
- Date: Sun, 04 Aug 2002 15:48:20 +0900
Hi,
At 03 Aug 2002 16:37:17 -0600,
Michael Torrie wrote:
>
> On Sat, 2002-08-03 at 14:43, Naofumi Yasufuku wrote:
> > Hi,
> >
> > I've working on an OpenGL support library for GTK2, and I'm faced with
> > a GdkColormap problem.
> >
> > I want to implement the RGB colormap shareing support using
> > XmuLookupStandardColormap() and XGetRGBColormap(). But I cannot do it
> > because gdkx_colormap_get() is not yet fixed, and current GDK doesn't
> > allow us to create and add custom GdkColormap associate with X Colormap.
> >
> > Does anybody have an idea to fix gdkx_colormap_get() function?
>
> Might want to check out the GtkGLArea widget
> (http://www.student.oulu.fi/~jlof/gtkglarea/) and see how they do it.
> Perhaps they've figured out a good way to do it. I believe it compiles
> against gtk+2 now, but I could be mistaken.
>
GtkGLArea doesn't provide the RGB colormap sharing support.
I've started the new OpenGL support library, GtkGLExt
(http://gtkglext.sourceforge.net/), because GtkGLArea have no real
maintainer and it is buggy.
Anyway, to implement the RGB colormap sharing feature using the ICCCM
conventions, fixed gdkx_colormap_get() or something is needed.
Regards,
--Naofumi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]