Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_state_get_default_tilesize(3) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_set_tilesize(3)

xil_state_get_default_tilesize(3)

NAME

xil_state_get_default_tilesize, xil_state_set_default_tilesize − get and set the default tile size for all images created with a particular XilSystemState

SYNOPSIS

#include <xil/xil.h>

int xil_state_get_default_tilesize (XilSystemState State,

unsigned int∗ txsize,
unsigned int∗ tysize);

int xil_state_set_default_tilesize (XilSystemState State,

unsigned int txsize);
unsigned int tysize);

DESCRIPTION

xil_state_get_default_tilesize() returns the tile size that will be used for all images created under State.  Unless modified by a call to xil_state_set_default_tilesize () the values returned by this call are 0,0. These values indicate that the default tile size is calculated by XIL according to the amount of physical memory on the machine running the program and the default tiling mode.

xil_state_set_default_tilesize () sets the tile size that will be used for all images created under State.  If not set by the user, the default tile size is calculated by XIL in an optimal way according to the amount of physical memory on the machine running the program. Although the user can set the default tilesize at any time, the values are only examined when the default tiling mode is other than XIL_WHOLE_IMAGE. 

ERRORS

For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide. 

NOTES

Changing the default tile size through a call to xil_state_set_default_tilesize() can have serious performance implications.

It is possible to override the default tile size for any given image through a call to xil_set_tilesize() after first exporting the image.

SEE ALSO

xil_set_tilesize(3). 
 
 

SunOS 5.6  —  Last change: 01 January 1997

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026