Introduction

This guide is for all programmers interested in developing applications using IRIS IM™, Silicon Graphics' port of the industry-standard OSF/Motif™ for use on Silicon Graphics IRIS workstations.

This guide also contains advice for pure X and X toolkit programmers about programming in the Silicon Graphics® X environment, including how to work with nondefault visuals. The Silicon Graphics IRIX™ operating system contains a fully compliant native X Window System™ that provides standard X toolkits, font support, and improved X performance.

X server enhancements include support for multiple visuals, overlay windows, the Display PostScript™ Extension, the Shape Extension, the X Input Extension, the Shared Memory Extension, and simultaneous display on multiple graphics monitors. X applications can use high-performance GL rendering for 2D and 3D graphics.

Suggestions for Further Reading

For comprehensive information on the X Window System, Xlib, Xt, and X protocol, see the Digital Press X series:

  • X Window System: The Complete Reference to Xlib, X Protocol, ICCCM, XLFD, Third Edition, X Version 11, Release 5, Scheifler, Robert W. and James Gettys, et al., Digital Press—Digital Equipment Corporation, Burlington MA, 1992. ISBN 1-55558-088-2

  • X Window System Toolkit: The Complete Programmer's Guide and Specification, Asente, Paul J. and Ralph R. Swick, Digital Press—Digital Equipment Corporation, Burlington MA, 1992. ISBN 1-55558-051-3

Or refer to the O'Reilly X Window System Series, Volumes 1,2, 4, and 5:

  • Volume One: Xlib Programming Manual, by Adrian Nye, published by O'Reilly & Associates, Inc., Sebastopol, California.

  • Volume Two: Xlib Reference Manual, published by O'Reilly & Associates, Inc., Sebastopol, California.

  • Volume Four: X Toolkit Intrinsics Programming Manual, by Adrian Nye and Tim O'Reilly, published by O'Reilly & Associates, Inc., Sebastopol, California.

  • Volume Five: X Toolkit Intrinsics Reference Manual, published by O'Reilly & Associates, Inc., Sebastopol, California.

For detailed information about the X server and X version 11, Release 5:

  • The X Window System Server: X Version 11, Release 5, Elias Israel and Erik Fortune, Digital Press - Digital Equipment Corporation, Bedford MA, 1992. ISBN 1-55558-096-3

  • R5 Update—Programmer's Supplement for Release 5 of the X Window System, Version 11, David Flanagan, O'Reilly & Associates, Inc., Sebastopol CA, 1991. ISBN 0-937175-86-2

For information on OSF/Motif:

  • OSF/Motif Programmer's Guide, Revision 1.2, Open Software Foundation, PTR Prentice-Hall, Inc., Englewood Cliffs NJ, 1993.

  • OSF/Motif Programmer's Reference, Revision 1.2, Open Software Foundation, PTR Prentice-Hall, Inc., Englewood Cliffs NJ, 1993.

  • OSF/Motif User's Guide, Revision 1.2, Open Software Foundation, PTR Prentice-Hall, Inc., Englewood Cliffs NJ, 1993. ISBN 0-13-643131-3

  • Volume Six: Motif Programming Manual, by Dan Heller, published by O'Reilly & Associates, Inc., Sebastopol, California.

These and other books in the X Window System series and OSF/Motif series are available from bookstores. They are referred to throughout this document.

For more information on programming in OpenGL, refer to these manuals:

  • OpenGL Reference Manual, from the OpenGL Architecture Review Board, published by Addison-Wesley Publishing Company, Reading, Massachusetts, 1992. ISBN 0-201-63276-4.

  • OpenGL Programming Guide, written by Jackie Neider, Tom Davis, and Mason Woo, published by Addison-Wesley Publishing Company, Reading, Massachusetts. ISBN 0-201-63274-8

For more information on programming with IRIS GL, refer to these Silicon Graphics manuals:

  • Graphics Library Programming Guide

  • Graphics Library Programming Tools and Techniques

The Silicon Graphics book OpenGL Porting Guide contains information on porting IRIS GL programs to OpenGL, including information on converting GL/IRIS IM mixed-model programs.

Typographical Conventions

This guide uses the following typographical conventions:

functions() 

appear in boldface font with parentheses.

arguments  

appear in italic font.

file names 

appear in italic font.

code 

appears in courier font.

<key> 

appears in boldface courier font, surrounded by angle brackets, indicating that you press the designated key on your keyboard.

entry 

appears in boldface courier font, indicating that you enter the information from your keyboard.