source: trunk/src/opengl/mesa/diveos2.h@ 3485

Last change on this file since 3485 was 2962, checked in by jeroen, 25 years ago

* empty log message *

File size: 1.8 KB
Line 
1typedef ULONG HDIVE;
2
3#define DIVE_ERR_ACQUIRE_FAILED 0x0000100b
4
5#define DIVE_BUFFER_SCREEN 0x00000000
6#define DIVE_BUFFER_GRAPHICS_PLANE 0x00000001
7#define DIVE_BUFFER_ALTERNATE_PLANE 0x00000002
8
9typedef struct _DIVE_CAPS {
10 ULONG ulStructLen;
11 ULONG ulPlaneCount;
12 BOOL fScreenDirect;
13 BOOL fBankSwitched;
14 ULONG ulDepth;
15 ULONG ulHorizontalResolution;
16 ULONG ulVerticalResolution;
17 ULONG ulScanLineBytes;
18 FOURCC fccColorEncoding;
19 ULONG ulApertureSize;
20 ULONG ulInputFormats;
21 ULONG ulOutputFormats;
22 ULONG ulFormatLength;
23 PVOID pFormatData;
24 }DIVE_CAPS;
25
26typedef struct _SETUP_BLITTER {
27 ULONG ulStructLen;
28 ULONG fInvert;
29 FOURCC fccSrcColorFormat;
30 ULONG ulSrcWidth;
31 ULONG ulSrcHeight;
32 ULONG ulSrcPosX;
33 ULONG ulSrcPosY;
34 ULONG ulDitherType;
35 FOURCC fccDstColorFormat;
36 ULONG ulDstWidth;
37 ULONG ulDstHeight;
38 LONG lDstPosX;
39 LONG lDstPosY;
40 LONG lScreenPosX;
41 LONG lScreenPosY;
42 ULONG ulNumDstRects;
43 PRECTL pVisDstRects;
44 }SETUP_BLITTER;
45
46ULONG _System DiveFreeImageBuffer(HDIVE,ULONG);
47ULONG _System DiveOpen(HDIVE *,BOOL,PVOID);
48ULONG _System DiveClose(HDIVE);
49ULONG _System DiveAllocImageBuffer(HDIVE,PULONG,FOURCC,ULONG,ULONG,ULONG,PBYTE*);
50ULONG _System DiveSetSourcePalette(HDIVE,ULONG,ULONG,PBYTE);
51ULONG _System DiveAcquireFrameBuffer(HDIVE,PRECTL);
52ULONG _System DiveBlitImage(HDIVE,ULONG,ULONG);
53ULONG _System DiveDeacquireFrameBuffer(HDIVE);
54ULONG _System DiveQueryCaps(DIVE_CAPS *,ULONG);
55ULONG _System DiveBeginImageBufferAccess(HDIVE,ULONG,PBYTE*,PULONG,PULONG);
56ULONG _System DiveEndImageBufferAccess(HDIVE,ULONG);
57ULONG _System DiveSetupBlitter(HDIVE,SETUP_BLITTER *);
Note: See TracBrowser for help on using the repository browser.