[GtkGLExt] Sharing display lists among a dynamic set of widgets
- From: "Timothy M. Shead" <tshead k-3d com>
- To: gtkglext-list gnome org
- Subject: [GtkGLExt] Sharing display lists among a dynamic set of widgets
- Date: Sat, 15 Jan 2005 00:53:58 -0800
My application (http://k3d.sourceforge.net) provides users with
zero-to-many OpenGL views of a 3D scene, with users able to create and
destroy views at-will. We also need to share display lists between
views for efficiency. The problem is that if the "first" view (the one
which is passed to subsequent views as the "share_list" argument) is
destroyed, all the display lists go with it. I'm wondering if there is
any way around this, besides creating a hidden widget with a
GdkGLContext that never gets destroyed? Could the reference count of
the "first" GdkGLContext be managed to prevent its destruction?
Thanks in advance,
Tim Shead
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]