VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/expando/expandospu_config.c@ 67954

Last change on this file since 67954 was 54905, checked in by vboxsync, 10 years ago

Host 3D: Chromium server: add Expando SPU and DLM module in order to record and save OpenGL Display Lists (currently disabled).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 997 bytes
Line 
1/* $Id: expandospu_config.c 54905 2015-03-23 11:20:58Z vboxsync $ */
2/* Copyright (c) 2001, Stanford University
3 * All rights reserved
4 *
5 * See the file LICENSE.txt for information on redistributing this software.
6 */
7
8#include "expandospu.h"
9
10//#include "cr_mothership.h"
11#include "cr_string.h"
12
13#include <stdio.h>
14
15static void __setDefaults( void )
16{
17}
18
19/* option, type, nr, default, min, max, title, callback
20 */
21SPUOptions expandoSPUOptions[] = {
22 { NULL, CR_BOOL, 0, NULL, NULL, NULL, NULL, NULL },
23};
24
25
26void expandospuGatherConfiguration( void )
27{
28 CRConnection *conn;
29
30 __setDefaults();
31#if 0
32 /* Connect to the mothership and identify ourselves. */
33
34 conn = crMothershipConnect( );
35 if (!conn)
36 {
37 /* The mothership isn't running. Some SPU's can recover gracefully, some
38 * should issue an error here. */
39 crSPUSetDefaultParams( &expando_spu, expandoSPUOptions );
40 return;
41 }
42 crMothershipIdentifySPU( conn, expando_spu.id );
43
44 crSPUGetMothershipParams( conn, &expando_spu, expandoSPUOptions );
45
46 crMothershipDisconnect( conn );
47#endif
48}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette