fglNewList man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



fglNewList(3G)		       OpenGL Reference			fglNewList(3G)

NAME
     fglNewList, fglEndList - create or replace a display list

FORTRAN SPECIFICATION
     SUBROUTINE fglNewList( INTEGER*4 list,
			    INTEGER*4 mode )

PARAMETERS
     list  Specifies the display-list name.

     mode  Specifies the compilation mode, which can be GL_COMPILE or
	   GL_COMPILE_AND_EXECUTE.

FORTRAN SPECIFICATION
     SUBROUTINE fglEndList( )

DESCRIPTION
     Display lists are groups of GL commands that have been stored for
     subsequent execution.  Display lists are created with fglNewList.	All
     subsequent commands are placed in the display list, in the order issued,
     until fglEndList is called.

     fglNewList has two arguments.  The first argument, list, is a positive
     integer that becomes the unique name for the display list.	 Names can be
     created and reserved with fglGenLists and tested for uniqueness with
     fglIsList.	 The second argument, mode, is a symbolic constant that can
     assume one of two values:

     GL_COMPILE			   Commands are merely compiled.

     GL_COMPILE_AND_EXECUTE	   Commands are executed as they are compiled
				   into the display list.

     Certain commands are not compiled into the display list but are executed
     immediately, regardless of the display-list mode.	These commands are
     fglAreTexturesResident, fglColorPointer, fglDeleteLists,
     fglDeleteTextures, fglDisableClientState, fglEdgeFlagPointer,
     fglEnableClientState, fglFeedbackBuffer, fglFinish, fglFlush,
     fglGenLists, fglGenTextures, fglIndexPointer, fglInterleavedArrays,
     fglIsEnabled, fglIsList, fglIsTexture, fglNormalPointer,
     fglPopClientAttrib, fglPixelStore, fglPushClientAttrib, fglReadPixels,
     fglRenderMode, fglSelectBuffer, fglTexCoordPointer, fglVertexPointer, and
     all of the fglGet commands.

     Similarly, fglTexImage1D, fglTexImage2D, and fglTexImage3D are executed
     immediately and not compiled into the display list when their first
     argument is GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_1D, or
     GL_PROXY_TEXTURE_3D, respectively.

									Page 1

fglNewList(3G)		       OpenGL Reference			fglNewList(3G)

     When the GL_ARB_imaging extension is supported, fglHistogram executes
     immediately when its argument is GL_PROXY_HISTOGRAM.  Similarly,
     fglColorTable executes immediately when its first argument is
     fglPROXY_COLOR_TABLE, fglPROXY_POST_CONVOLUTION_COLOR_TABLE, or
     fglPROXY_POST_COLOR_MATRIX_COLOR_TABLE.

     When fglEndList is encountered, the display-list definition is completed
     by associating the list with the unique name list (specified in the
     fglNewList command). If a display list with name list already exists, it
     is replaced only when fglEndList is called.

NOTES
     fglCallList and fglCallLists can be entered into display lists.  Commands
     in the display list or lists executed by fglCallList or fglCallLists are
     not included in the display list being created, even if the list creation
     mode is GL_COMPILE_AND_EXECUTE.

     A display list is just a group of commands and arguments, so errors
     generated by commands in a display list must be generated when the list
     is executed. If the list is created in GL_COMPILE mode, errors are not
     generated until the list is executed.

ERRORS
     GL_INVALID_VALUE is generated if list is 0.

     GL_INVALID_ENUM is generated if mode is not an accepted value.

     GL_INVALID_OPERATION is generated if fglEndList is called without a
     preceding fglNewList, or if fglNewList is called while a display list is
     being defined.

     GL_INVALID_OPERATION is generated if fglNewList or fglEndList is executed
     between the execution of fglBegin and the corresponding execution of
     fglEnd.

     GL_OUT_OF_MEMORY is generated if there is insufficient memory to compile
     the display list. If the GL version is 1.1 or greater, no change is made
     to the previous contents of the display list, if any, and no other change
     is made to the GL state. (It is as if no attempt had been made to create
     the new display list.)

ASSOCIATED GETS
     fglIsList
     fglGet with argument GL_LIST_INDEX
     fglGet with argument GL_LIST_MODE

SEE ALSO
     fglCallList, fglCallLists, fglDeleteLists, fglGenLists

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net