[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

compactify Subroutine

Purpose

Unfragments and compacts the memory storage of an object.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void compactify(Int32 object)

FORTRAN Syntax

SUBROUTINE COMPAC(object)
INTEGER*4 object

Description

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.

Parameter

object Specifies the identifier for the object to be compacted.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/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.

Related Information

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).


[ Previous | Next | Contents | Glossary | Home | Search ]