Unfragments and compacts the memory storage of an object.
FORTRAN (libfgl.a)
void compactify(Int32 object)
SUBROUTINE COMPAC(object) INTEGER*4 object
The compactify subroutine unfragments and compacts the memory storage of an object.
Using the object editing subroutines to modify an open object definition can fragment the memory storage for the definition. The compactify subroutine eliminates wasted space, but calling it is rarely necessary because the closeobj subroutine automatically compacts an object definition that is too fragmented.
Because the compactify subroutine requires a significant amount of time to execute, calls to it should be avoided unless storage space is critical.
Note: This editing subroutine itself cannot be added to a display list.
object | Specifies the identifier for the object to be compacted. |
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h | Contains C language constant and variable type definitions for GL. |
/usr/include/gl/fgl.h | Contains FORTRAN constant and variable type definitions for GL. |
Specifying the minimum object size in memory with the chunksize subroutine.
Closing an object with the closeobj subroutine.
AIX Graphics Library Overview and Creating Objects (Display Lists).