Scanning pods... Creating MesaDrawingArea.html from MesaDrawingArea.pod MESADRAWINGAREA


NAME

MesaDrawingArea - An Xt widget for Mesa/X with richer semantics


DESCRIPTION

The MesaDrawingArea widget is an extension of the GLwDrawingArea widget which takes advantage of some features of the Mesa/X implementation of the OpenGL API.

It also simplifies programming by associating a drawing context transparently to the widget. This feature is particulary convenient in applications that have to deal with multiple instances of a MesaDrawingArea widget.


Resources

The following X resources are available in addition to the GLwDrawingArea resources:

___________________________________________________________________________ | | | | | | Name | Class | Type | OpenGL attribute | |____________________|____________________|_________|______________________| | | | | | | GLwNximage | GLwCXImage | Boolean | N/A | |____________________|____________________|_________|______________________| | | | | | | GLwNshareLists | GLwCShareLists | Boolean | N/A | |____________________|____________________|_________|______________________| | | | | | | GLwNshareListsWith | GLwCShareListsWith | Widget | N/A | |____________________|____________________|_________|______________________|

Boolean ximage
Is False by default, setting it to True will cause Mesa/X to use an Ximage (in contrast to a pixmap) as second buffer.

Boolean shareLists
Is False by default, setting it to True will cause Mesa/X to share display lists among all widgets that have this ressource set to True.

Boolean shareListsWith
[Caveat: This resource is not honored yet.]

Is NULL by default, setting it to another MesaDrawingArea widget will cause the two widgets to share display lists.

.


Utility functions

The following utility functions are available

void GLwMakeCurrent (Widget w)
switches the Mesa/X context to the one associated to the widget w.

.


SEE ALSO

GLwDrawingArea, MesaWorkstation


AUTHOR

Thorsten.Ohl @ Physik.TH-Darmstadt.de


DATE

$Id: MesaDrawingArea.html,v 1.1.1.1 1999/08/19 00:55:42 jtg Exp $