chunks(3G)

chunks - specifies minimum object size in memory

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     chunks - specifies minimum object size in memory

FORTRAN 77 SPECIFICATION
     subroutine chunks(chunk)
     integer*4 chunk

PARAMETERS
     chunk   Expects the minimum memory size to allocate for an object.  As
             you add objects to a display list, chunk is the unit size (in
             bytes) by which the memory allocated to the display list grows.

DESCRIPTION
     chunks specifies the minimum object memory size.  You can call it only
     once after graphics initialization and before the first makeob.

     If you do not use this function, the system assumes a chunk size of 1020
     bytes.  This is usually more than large enough.  Therefore, you generally
     need to use chunks only if your application is running up against the
     memory limits, and you know that 1020 bytes per object is too much.

     But be careful, if chunks is set too small, complex objects (e.g.,
     multi-sided polygons) will not display.  Each object in a display list
     must fit entirely into a single chunk.  Some experimentation may be
     necessary to determine the optimal chunksize for an application.

SEE ALSO
     compac, makeob

NOTE
     This routine is available only in immediate mode.