SGI Techpubs Library

IRIX 6.5  »  Books  »  Developer  »  
The OpenGL Porting Guide
(document number: 007-1797-030 / published: 1998-03-21)    table of contents  |  additional info  |  download
find in page

OpenGL® Porting Guide

Document Number: 007-1797-030

Front Matter

| List of Figures | List of Examples | List of Tables |


Table of Contents

About This Guide
What This Guide Contains
Where to Get More Information
Conventions Used in This Guide
Changes in This Version of the Document

1. Introduction to Porting From IRIS GL to OpenGL
Differences Between IRIS GL and OpenGL
Tools and Libraries to Help Port Your Code
Porting IRIS GL Programs to OpenGL
If You're Not Porting Your Code to OpenGL Yet

2. Using the toogl Tool
Getting Started with toogl
Using xdiff or gdiff to Compare Files
Using toogl Effectively
Editing toogl Output: Areas that Need Special Attention
Editing toogl Output: An Example

3. After toogl: How to Finish Porting to OpenGL
Header Files
Porting greset()
Porting IRIS GL get* Commands
Porting Commands That Required Current Graphics Positions
Porting Screen and Buffer Clearing Commands
Porting Matrix and Transformation Calls
Porting Drawing Commands
Porting Color, Shading, and Writemask Commands
Porting Pixel Operations
Porting Depth Cueing and Fog Commands
Porting Curve and Surface Commands
Porting Antialiasing Calls
Porting Display Lists
Porting defs, binds, and sets: Replacing `Tables' of Stored Definitions
Porting Lighting and Materials Calls
Porting Texture Calls
Porting Picking Calls
Porting Feedback Calls
Porting RealityEngine Graphics Features
OpenGL Extensions

4. OpenGL in the X Window System
X Window System Background
Advice for OpenGL Programs using the X Window System
Fonts and Strings
Using Xt and a Widget Set
Using Xlib and GLX Commands

A. OpenGL Commands and Their IRIS GL Equivalents

B. Differences Between OpenGL and IRIS GL

C. OpenGL Names, Types, and Error
OpenGL Command Names
OpenGL Defined Types
Error Handling

D. Example OpenGL Program With the GLUT Library

E. Example Program Using Xt and a WorkProc

F. Example Mixed-Model Programs With Xlib
Example One: iobounce.c
Example Two: zrgb.c

Index

The OpenGL Porting Guide
(document number: 007-1797-030 / published: 1998-03-21)    table of contents  |  additional info  |  download

    Front Matter
    About This Guide
    Chapter 1. Introduction to Porting From IRIS GL to OpenGL
    Chapter 2. Using the toogl Tool
    Chapter 3. After toogl: How to Finish Porting to OpenGL
    Chapter 4. OpenGL in the X Window System
    Appendix A. OpenGL Commands and Their IRIS GL Equivalents
    Appendix B. Differences Between OpenGL and IRIS GL
    Appendix C. OpenGL Names, Types, and Error
    Appendix D. Example OpenGL Program With the GLUT Library
    Appendix E. Example Program Using Xt and a WorkProc
    Appendix F. Example Mixed-Model Programs With Xlib
    Index


home/search | what's new | help