VirtualBox

source: vbox/trunk/src/VBox/Additions/common/crOpenGL/array/arrayspu.h@ 77693

最後變更 在這個檔案從77693是 76563,由 vboxsync 提交於 6 年 前

Additions: Use GA_INCLUDED_ and variations_ as header guard prefixes with scm.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 1.0 KB
 
1/* Copyright (c) 2001, Stanford University
2 * All rights reserved.
3 *
4 * See the file LICENSE.txt for information on redistributing this software.
5 */
6
7#ifndef GA_INCLUDED_SRC_common_crOpenGL_array_arrayspu_h
8#define GA_INCLUDED_SRC_common_crOpenGL_array_arrayspu_h
9#ifndef RT_WITHOUT_PRAGMA_ONCE
10# pragma once
11#endif
12
13#ifdef WINDOWS
14#define ARRAYSPU_APIENTRY __stdcall
15#else
16#define ARRAYSPU_APIENTRY
17#endif
18
19#include "cr_spu.h"
20#include "cr_glstate.h"
21
22void arrayspuSetVBoxConfiguration( void );
23
24typedef struct context_info_t ContextInfo;
25
26struct context_info_t {
27 CRContext *clientState; /* used to store client-side GL state */
28 GLint clientCtx; /* client context ID */
29};
30
31typedef struct {
32 int id;
33 int has_child;
34 CRContext *defaultctx;
35 SPUDispatchTable self, child, super;
36 int numContexts;
37 ContextInfo context[CR_MAX_CONTEXTS];
38} ArraySPU;
39
40extern ArraySPU array_spu;
41
42#ifdef CHROMIUM_THREADSAFE
43extern CRmutex _ArrayMutex;
44#endif
45
46#endif /* !GA_INCLUDED_SRC_common_crOpenGL_array_arrayspu_h */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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