VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/7.0/X11/extensions/xf86dga1.h@ 17233

最後變更 在這個檔案從17233是 17233,由 vboxsync 提交於 16 年 前

Additions/x11/x11include: corrected svn:keywords property on all files as per http://linserv.germany/vbox/wiki/SvnKeywords

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.7 KB
 
1/* $XFree86: xc/include/extensions/xf86dga1.h,v 1.2 1999/04/17 07:05:41 dawes Exp $ */
2/*
3
4Copyright (c) 1995 Jon Tombs
5Copyright (c) 1995 XFree86 Inc
6
7*/
8
9/************************************************************************
10
11 THIS IS THE OLD DGA API AND IS OBSOLETE. PLEASE DO NOT USE IT ANYMORE
12
13************************************************************************/
14
15#ifndef _XF86DGA1_H_
16#define _XF86DGA1_H_
17
18#include <X11/Xfuncproto.h>
19
20#define X_XF86DGAQueryVersion 0
21#define X_XF86DGAGetVideoLL 1
22#define X_XF86DGADirectVideo 2
23#define X_XF86DGAGetViewPortSize 3
24#define X_XF86DGASetViewPort 4
25#define X_XF86DGAGetVidPage 5
26#define X_XF86DGASetVidPage 6
27#define X_XF86DGAInstallColormap 7
28#define X_XF86DGAQueryDirectVideo 8
29#define X_XF86DGAViewPortChanged 9
30
31#define XF86DGADirectPresent 0x0001
32#define XF86DGADirectGraphics 0x0002
33#define XF86DGADirectMouse 0x0004
34#define XF86DGADirectKeyb 0x0008
35#define XF86DGAHasColormap 0x0100
36#define XF86DGADirectColormap 0x0200
37
38
39
40
41#ifndef _XF86DGA_SERVER_
42
43_XFUNCPROTOBEGIN
44
45Bool XF86DGAQueryVersion(
46 Display* /* dpy */,
47 int* /* majorVersion */,
48 int* /* minorVersion */
49);
50
51Bool XF86DGAQueryExtension(
52 Display* /* dpy */,
53 int* /* event_base */,
54 int* /* error_base */
55);
56
57Status XF86DGAGetVideoLL(
58 Display* /* dpy */,
59 int /* screen */,
60 int * /* base addr */,
61 int * /* width */,
62 int * /* bank_size */,
63 int * /* ram_size */
64);
65
66Status XF86DGAGetVideo(
67 Display* /* dpy */,
68 int /* screen */,
69 char ** /* base addr */,
70 int * /* width */,
71 int * /* bank_size */,
72 int * /* ram_size */
73);
74
75Status XF86DGADirectVideo(
76 Display* /* dpy */,
77 int /* screen */,
78 int /* enable */
79);
80
81Status XF86DGADirectVideoLL(
82 Display* /* dpy */,
83 int /* screen */,
84 int /* enable */
85);
86
87Status XF86DGAGetViewPortSize(
88 Display* /* dpy */,
89 int /* screen */,
90 int * /* width */,
91 int * /* height */
92);
93
94Status XF86DGASetViewPort(
95 Display* /* dpy */,
96 int /* screen */,
97 int x /* X */,
98 int y /* Y */
99);
100
101Status XF86DGAGetVidPage(
102 Display* /* dpy */,
103 int /* screen */,
104 int * /* vid page */
105);
106
107Status XF86DGASetVidPage(
108 Display* /* dpy */,
109 int /* screen */,
110 int /* vid page */
111);
112
113Status XF86DGAInstallColormap(
114 Display* /* dpy */,
115 int /* screen */,
116 Colormap /*Colormap */
117);
118
119int XF86DGAForkApp(
120 int screen
121);
122
123Status XF86DGAQueryDirectVideo(
124 Display * /* dpy */,
125 int /* screen */,
126 int * /* flags */
127);
128
129Bool XF86DGAViewPortChanged(
130 Display * /* dpy */,
131 int /* screen */,
132 int /* n */
133);
134
135
136_XFUNCPROTOEND
137
138#endif /* _XF86DGA_SERVER_ */
139
140#endif /* _XF86DGA1_H_ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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