~ubuntu-branches/ubuntu/dapper/fpc/dapper

« back to all changes in this revision

Viewing changes to packages/extra/x11/xf86dga1.pp

  • Committer: Bazaar Package Importer
  • Author(s): Carlos Laviola
  • Date: 2005-05-30 11:59:10 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050530115910-x5pbzm4qqta4i94h
Tags: 2.0.0-2
debian/fp-compiler.postinst.in: forgot to reapply the patch that
correctly creates the slave link to pc(1).  (Closes: #310907)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{ $XFree86: xc/include/extensions/xf86dga1.h,v 1.2 1999/04/17 07:05:41 dawes Exp $ }
 
2
{
 
3
 
 
4
Copyright (c) 1995  Jon Tombs
 
5
Copyright (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
Type
 
16
  PPcchar = ^Pcchar;
 
17
 
 
18
Const
 
19
  X_XF86DGAQueryVersion     = 0;
 
20
  X_XF86DGAGetVideoLL       = 1;
 
21
  X_XF86DGADirectVideo      = 2;
 
22
  X_XF86DGAGetViewPortSize  = 3;
 
23
  X_XF86DGASetViewPort      = 4;
 
24
  X_XF86DGAGetVidPage       = 5;
 
25
  X_XF86DGASetVidPage       = 6;
 
26
  X_XF86DGAInstallColormap  = 7;
 
27
  X_XF86DGAQueryDirectVideo = 8;
 
28
  X_XF86DGAViewPortChanged  = 9;
 
29
 
 
30
  XF86DGADirectPresent      = $0001;
 
31
  XF86DGADirectGraphics     = $0002;
 
32
  XF86DGADirectMouse        = $0004;
 
33
  XF86DGADirectKeyb         = $0008;
 
34
  XF86DGAHasColormap        = $0100;
 
35
  XF86DGADirectColormap     = $0200;
 
36
 
 
37
Function XF86DGAQueryVersion(
 
38
    dpy : PDisplay;
 
39
    majorVersion : Pcint;
 
40
    minorVersion : Pcint
 
41
  ) : TBool; CDecl; External libXxf86dga;
 
42
 
 
43
Function XF86DGAQueryExtension(
 
44
    dpy : PDisplay;
 
45
    event_base : Pcint;
 
46
    error_base : Pcint
 
47
  ) : TBool; CDecl; External libXxf86dga;
 
48
 
 
49
Function XF86DGAGetVideoLL(
 
50
    dpy : PDisplay;
 
51
    screen : cint;
 
52
    base_addr : Pcint;
 
53
    width : Pcint;
 
54
    bank_size : Pcint;
 
55
    ram_size : Pcint
 
56
  ) : TStatus; CDecl; External libXxf86dga;
 
57
 
 
58
Function XF86DGAGetVideo(
 
59
    dpy : PDisplay;
 
60
    screen : cint;
 
61
    base_addr : PPcchar;
 
62
    width : Pcint;
 
63
    bank_size : Pcint;
 
64
    ram_size : Pcint
 
65
  ) : TStatus; CDecl; External libXxf86dga;
 
66
 
 
67
Function XF86DGADirectVideo(
 
68
    dpy : PDisplay;
 
69
    screen : cint;
 
70
    enable : cint
 
71
  ) : TStatus; CDecl; External libXxf86dga;
 
72
 
 
73
Function XF86DGADirectVideoLL(
 
74
    dpy : PDisplay;
 
75
    screen : cint;
 
76
    enable : cint
 
77
  ) : TStatus; CDecl; External libXxf86dga;
 
78
 
 
79
Function XF86DGAGetViewPortSize(
 
80
    dpy : PDisplay;
 
81
    screen : cint;
 
82
    width : Pcint;
 
83
    height : Pcint
 
84
  ) : TStatus; CDecl; External libXxf86dga;
 
85
 
 
86
Function XF86DGASetViewPort(
 
87
    dpy : PDisplay;
 
88
    screen : cint;
 
89
    x : cint;
 
90
    y : cint
 
91
  ) : TStatus; CDecl; External libXxf86dga;
 
92
 
 
93
Function XF86DGAGetVidPage(
 
94
    dpy : PDisplay;
 
95
    screen : cint;
 
96
    vid_page : Pcint
 
97
  ) : TStatus; CDecl; External libXxf86dga;
 
98
 
 
99
Function XF86DGASetVidPage(
 
100
    dpy : PDisplay;
 
101
    screen : cint;
 
102
    vid_page : cint
 
103
  ) : TStatus; CDecl; External libXxf86dga;
 
104
 
 
105
Function XF86DGAInstallColormap(
 
106
    dpy : PDisplay;
 
107
    screen : cint;
 
108
    Colormap : TColormap
 
109
  ) : TStatus; CDecl; External libXxf86dga;
 
110
 
 
111
Function XF86DGAForkApp(
 
112
    screen : cint
 
113
  ) : cint; CDecl; External libXxf86dga;
 
114
 
 
115
Function XF86DGAQueryDirectVideo(
 
116
    dpy : PDisplay;
 
117
    screen : cint;
 
118
    flags : Pcint
 
119
  ) : TStatus; CDecl; External libXxf86dga;
 
120
 
 
121
Function XF86DGAViewPortChanged(
 
122
    dpy : PDisplay;
 
123
    screen : cint;
 
124
    n : cint
 
125
  ) : TBool; CDecl; External libXxf86dga;