VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/include/state/cr_line.h@ 70877

最後變更 在這個檔案從70877是 69474,由 vboxsync 提交於 7 年 前

*: scm updates - header files should have 'svn:keywords=Id Revision' too (doesn't mean they have to use them).

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 1007 位元組
 
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 CR_STATE_LINE_H
8#define CR_STATE_LINE_H
9
10#include "state/cr_statetypes.h"
11
12#include <iprt/cdefs.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef struct {
19 CRbitvalue enable[CR_MAX_BITARRAY];
20 CRbitvalue width[CR_MAX_BITARRAY];
21 CRbitvalue stipple[CR_MAX_BITARRAY];
22 CRbitvalue dirty[CR_MAX_BITARRAY];
23} CRLineBits;
24
25typedef struct {
26 GLboolean lineSmooth;
27 GLboolean lineStipple;
28 GLfloat width;
29 GLushort pattern;
30 GLint repeat;
31} CRLineState;
32
33DECLEXPORT(void) crStateLineInit (CRContext *ctx);
34
35DECLEXPORT(void) crStateLineDiff(CRLineBits *bb, CRbitvalue *bitID,
36 CRContext *fromCtx, CRContext *toCtx);
37DECLEXPORT(void) crStateLineSwitch(CRLineBits *bb, CRbitvalue *bitID,
38 CRContext *fromCtx, CRContext *toCtx);
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif /* CR_STATE_LINE_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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