aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/sgikern/sgi.com
blob: e050183b98dcdc42c709089d155623bfb5a796a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SGI common.  A common is necessary since there is no graphics descriptor
# in the argument list of the kernel procedures.  The stdgraph data structures
# are designed along the lines of FIO: a small common is used to hold the time
# critical data elements, and an auxiliary dynamically allocated descriptor is
# used for everything else.

pointer	g_kt				# kernel transform graphics descriptor
pointer	g_tty				# graphcap descriptor
int	g_nframes			# number of frames written
int	g_maxframes			# max frames per device metafile
int	g_ndraw				# no draw instr. in current frame
int	g_in, g_out			# input, output files
int	g_xres, g_yres			# desired device resolution
char	g_device[SZ_GDEVICE]		# force output to named device

common	/sgicom/ g_kt, g_tty, g_nframes, g_maxframes, g_ndraw,
	g_in, g_out, g_xres, g_yres, g_device