VirtualBox

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

Last change on this file since 22509 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1007 bytes
Line 
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 SR_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 */
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