*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/chunksize (3)              


chunksize(3G)							 chunksize(3G)

NAME    [Toc]    [Back]

     chunksize - specifies minimum object size in memory

C SPECIFICATION    [Toc]    [Back]

     void chunksize(chunk)
     long chunk;

PARAMETERS    [Toc]    [Back]

     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    [Toc]    [Back]

     chunksize specifies the minimum object memory size.  You can call it only
     once after	graphics initialization	and before the first makeobj.

     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 chunksize 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	chunksize 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    [Toc]    [Back]

     compactify, makeobj

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
minsize IRIX specifies the minimum size of a graphics window
vps_pagesize HP-UX minimum (in kilobytes) of system-selected page size
vxfs_ifree_timelag HP-UX VxFS inode free time lag (specifies the minimum time to be spent on a freelist)
eqmemsize HP-UX determines the minimum size (in pages) of the equivalently mapped reserve pool
pntsize IRIX specifies size of points
iconsize IRIX specifies the icon size of a window
maxsize IRIX specifies the maximum size of a graphics window
prefsize IRIX specifies the preferred size of a graphics window
prefposition IRIX specifies the preferred location and size of a graphics window
stepunit IRIX specifies that a graphics window change size in discrete steps
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service