home *** CD-ROM | disk | FTP | other *** search
/ Aminet 10 / aminetcdnumber101996.iso / Aminet / gfx / x11 / Mesa_Amiwin.lha / Mesa-Amiwin / widgets / man / MesaDrawingArea.pod < prev    next >
Text File  |  1995-06-08  |  3KB  |  81 lines

  1. =head1 NAME
  2.  
  3. MesaDrawingArea - An Xt widget for Mesa/X with richer semantics
  4.  
  5. =head1 DESCRIPTION
  6.  
  7. The I<MesaDrawingArea> widget is an extension of the I<GLwDrawingArea>
  8. widget which takes advantage of some features of the B<Mesa/X>
  9. implementation of the B<OpenGL> API.  
  10.  
  11. It also simplifies programming by associating a drawing context
  12. transparently to the widget.  This feature is particulary convenient
  13. in applications that have to deal with multiple instances of a
  14. I<MesaDrawingArea> widget.
  15.  
  16. =head1 Resources
  17.  
  18. The following X resources are available in addition to the
  19. I<GLwDrawingArea> resources:
  20.  
  21.   ___________________________________________________________________________
  22.   |                    |                    |         |                      |
  23.   | Name               | Class              | Type    | OpenGL attribute     |
  24.   |____________________|____________________|_________|______________________|
  25.   |                    |                    |         |                      |
  26.   | GLwNximage         | GLwCXImage         | Boolean | N/A                  |
  27.   |____________________|____________________|_________|______________________|
  28.   |                    |                    |         |                      |
  29.   | GLwNshareLists     | GLwCShareLists     | Boolean | N/A                  |
  30.   |____________________|____________________|_________|______________________|
  31.   |                    |                    |         |                      |
  32.   | GLwNshareListsWith | GLwCShareListsWith | Widget  | N/A                  |
  33.   |____________________|____________________|_________|______________________|
  34.  
  35.  
  36. =over 4
  37.  
  38. =item Boolean ximage
  39.  
  40. Is I<False> by default, setting it to I<True> will cause B<Mesa/X> to
  41. use an Ximage (in contrast to a pixmap) as second buffer.
  42.  
  43. =item Boolean shareLists
  44.  
  45. Is I<False> by default, setting it to I<True> will cause B<Mesa/X> to
  46. share display lists among all widgets that have this ressource set to
  47. I<True>.
  48.  
  49. =item Boolean shareListsWith
  50.  
  51. B<[Caveat: This resource is not honored yet.]>
  52.  
  53. Is I<NULL> by default, setting it to another I<MesaDrawingArea> widget
  54. will cause the two widgets to share display lists.
  55.  
  56. =back
  57.  
  58. =head1 Utility functions
  59.  
  60. The following utility functions are available
  61.  
  62. =over 4
  63.  
  64. =item void GLwMakeCurrent (Widget w)
  65.  
  66. switches the B<Mesa/X> context to the one associated to the widget I<w>.
  67.  
  68. =back
  69.  
  70. =head1 SEE ALSO
  71.  
  72. L<GLwDrawingArea>, L<MesaWorkstation>
  73.  
  74. =head1 AUTHOR
  75.  
  76. Thorsten.Ohl @ Physik.TH-Darmstadt.de
  77.  
  78. =head1 DATE
  79.  
  80. $Id: MesaDrawingArea.pod,v 1.5 1995/05/19 20:31:00 ohl Exp $
  81.