Onyx
Onyx configured with 2× RE graphics.
● Standard
Graphics board 0 is "RE" graphics.
Managed (":0.0") 1280x1024
Display 1280x1024 @ 60Hz
8 GE (GE8 rev. 0x7)
2 RM boards
Medium pixel depth
10-bit RGBA pixels
Not using Multi-Channel Option
Graphics board 1 is "RE" graphics.
Managed (":0.1") 1280x1024
Display 1280x1024 @ 60Hz
8 GE (GE8 rev. 0x7)
2 RM boards
Medium pixel depth
10-bit RGBA pixels
Not using Multi-Channel Option
uname -a: IRIX reality 5.1 08280044 IP7 mips
Test code:
/*
* This test checks to see if a single application can open and
* close multiple windows on different screens of an RE
*/
#include <gl/gl.h>
#include <stdlib.h>
#include <stdio.h>
#define PIPE_OUTER 1 /* Make By-pipe be outer loop */
#define WINDOW_OUTER 2 /* Make By-window be inner loop */
#define NUM_WIN 5
main( int argc, char **argv ) {
int num_win = NUM_WIN;
char win_name[128];
int i, pipe;
int num_scrns;
long *win_id;
int order = PIPE_OUTER;
int c;
extern char *optarg;
extern int optind, opterr, optopt;
while ((c = getopt( argc, argv, "pwn:" )) != EOF )
switch (c) {
case 'p':
order = PIPE_OUTER;
break;
case 'w':
order = WINDOW_OUTER;
break;
case 'n':
num_win = atoi( optarg );
break;
}
if ( ( num_scrns = getgdesc( GD_NSCRNS ) ) < 2 ) {
printf( "Test requires at least one screen\n" );
exit(-1);
}
win_id = (long *) malloc( sizeof(long) * num_scrns * num_win );
if ( win_id == NULL ) {
printf( "Could not allocate memory for window ids\n");
exit(-1);
}
/*
* Keep program running in foreground
*/
foreground();
if ( order == PIPE_OUTER )
for ( pipe = 0; pipe < num_scrns; pipe++ ) {
for ( i = 0; i < num_win; i++ ) {
scrnselect( pipe );
sprintf( win_name, "Pipe #%d, Win #%d", pipe, i );
prefposition( i * 100, i * 100 + 100, 0, 100 );
win_id[pipe*num_scrns+i] = winopen( win_name );
color( i );
clear();
printf( "Created %s\n", win_name );
}
}
else
for ( i = 0; i < num_win; i++ ) {
for ( pipe = 0; pipe < num_scrns; pipe++ ) {
scrnselect( pipe );
sprintf( win_name, "Pipe #%d, Win #%d", pipe, i );
prefposition( i * 100, i * 100 + 100, 0, 100 );
win_id[pipe*num_scrns+i] = winopen( win_name );
color( i );
clear();
printf( "Created %s\n", win_name );
}
}
sleep ( 10 );
printf( "Done\n" );
}
All detected components (1)
| Graphics | 2× RE | ge 8 |
|---|