{
 "id": "drp89e",
 "url": "/m/onyx-re-drp89e/",
 "name": "Onyx",
 "emulator": false,
 "releases": [],
 "items": [
  {
   "family": "graphics",
   "key": "re",
   "label": "RE",
   "count": 2,
   "attrs": {
    "ge": 8
   }
  }
 ],
 "dumps": [
  {
   "kind": "irix-gfxinfo",
   "command": "gfxinfo",
   "os_release": null,
   "source_date": "1994-03-11",
   "credit": "Mark Ferneau",
   "source_url": "news:2lqrut$p0c@gw.palo-alto.sterling.com#by-mark-ferneau",
   "archive_url": null,
   "tags": [],
   "items": [
    {
     "family": "graphics",
     "key": "re",
     "label": "RE",
     "count": 2,
     "attrs": {
      "ge": 8
     },
     "lines": [
      1,
      4,
      9
     ]
    }
   ],
   "gaps": [
    5,
    18,
    20,
    22,
    23,
    24,
    25,
    27,
    28,
    29,
    31,
    32,
    34,
    36,
    38,
    39,
    40,
    41,
    42,
    43,
    44,
    46,
    47,
    50,
    51,
    52,
    53,
    54,
    55,
    56,
    57,
    58,
    59,
    60,
    61,
    63,
    64,
    65,
    66,
    68,
    69,
    70,
    71,
    72,
    74,
    75,
    76,
    77,
    79,
    80,
    81,
    82,
    83,
    84,
    85,
    86,
    87,
    88,
    89,
    90,
    91,
    92,
    93,
    104,
    105,
    106
   ],
   "text": "Graphics board 0 is \"RE\" graphics.\n        Managed (\":0.0\") 1280x1024\n        Display 1280x1024 @ 60Hz\n        8 GE (GE8 rev. 0x7)\n        2 RM boards\n        Medium pixel depth\n        10-bit RGBA pixels\n        Not using Multi-Channel Option\nGraphics board 1 is \"RE\" graphics.\n        Managed (\":0.1\") 1280x1024\n        Display 1280x1024 @ 60Hz\n        8 GE (GE8 rev. 0x7)\n        2 RM boards\n        Medium pixel depth\n        10-bit RGBA pixels\n        Not using Multi-Channel Option\n\nuname -a:\tIRIX reality 5.1 08280044 IP7 mips\n\nTest code:\n\n/*\n * This test checks to see if a single application can open and\n * close multiple windows on different screens of an RE\n */\n\n#include <gl/gl.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n#define PIPE_OUTER\t1\t/* Make By-pipe be outer loop */\n#define WINDOW_OUTER\t2\t/* Make By-window be inner loop */\n\n#define NUM_WIN\t\t5\n\nmain( int argc, char **argv ) {\n\nint num_win = NUM_WIN;\nchar win_name[128];\nint i, pipe;\nint num_scrns;\nlong *win_id;\nint order = PIPE_OUTER;\nint c;\n\nextern char *optarg;\nextern int optind, opterr, optopt;\n\n\n\twhile ((c = getopt( argc, argv, \"pwn:\" )) != EOF )\n\t   switch (c) {\n\t\tcase 'p':\n\t\t\torder = PIPE_OUTER;\n\t\t\tbreak;\n\t\tcase 'w':\n\t\t\torder = WINDOW_OUTER;\n\t\t\tbreak;\n\t\tcase 'n':\n\t\t\tnum_win = atoi( optarg );\n\t\t\tbreak;\n\t   }\n\n\tif ( ( num_scrns = getgdesc( GD_NSCRNS ) ) < 2 ) {\n\t\tprintf( \"Test requires at least one screen\\n\" );\n\t\texit(-1);\n\t}\n\n\twin_id = (long *) malloc( sizeof(long) * num_scrns * num_win );\n\tif ( win_id == NULL ) {\n\t\tprintf( \"Could not allocate memory for window ids\\n\");\n\t\texit(-1);\n\t}\n\n\t/*\n\t * Keep program running in foreground\n\t */\n\tforeground();\n\n\tif ( order == PIPE_OUTER )\n\t   for ( pipe = 0; pipe < num_scrns; pipe++ ) {\n\t\t   for ( i = 0; i < num_win; i++ ) {\n\t\t      scrnselect( pipe );\n\t\t      sprintf( win_name, \"Pipe #%d, Win #%d\", pipe, i );\n\t\t      prefposition( i * 100, i * 100 + 100, 0, 100 );\n\t\t      win_id[pipe*num_scrns+i] = winopen( win_name );\n\t\t      color( i );\n\t\t      clear();\n\t\t      printf( \"Created %s\\n\", win_name );\n\t\t   }\n\t   }\n\telse\n\t   for ( i = 0; i < num_win; i++ ) {\n\t   \tfor ( pipe = 0; pipe < num_scrns; pipe++ ) {\n\t\t      scrnselect( pipe );\n\t\t      sprintf( win_name, \"Pipe #%d, Win #%d\", pipe, i );\n\t\t      prefposition( i * 100, i * 100 + 100, 0, 100 );\n\t\t      win_id[pipe*num_scrns+i] = winopen( win_name );\n\t\t      color( i );\n\t\t      clear();\n\t\t      printf( \"Created %s\\n\", win_name );\n\t\t}\n\t   }\n\n\tsleep ( 10 );\n\tprintf( \"Done\\n\" );\n}\n"
  }
 ]
}
