VirtualBox

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

最後變更 在這個檔案從67841是 54905,由 vboxsync 提交於 10 年 前

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

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 997 位元組
 
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}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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