Root/
Source at commit 1580 created 12 years 9 months ago. By blackosx, Attempted to enable 'exclusive' choices in auto generated boot options, but it's not working at present. I've added notes to remind me to look again at some point. | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.␊ |
3 | *␊ |
4 | * @APPLE_LICENSE_HEADER_START@␊ |
5 | * ␊ |
6 | * The contents of this file constitute Original Code as defined in and␊ |
7 | * are subject to the Apple Public Source License Version 1.1 (the␊ |
8 | * "License"). You may not use this file except in compliance with the␊ |
9 | * License. Please obtain a copy of the License at␊ |
10 | * http://www.apple.com/publicsource and read it before using this file.␊ |
11 | * ␊ |
12 | * This Original Code and all software distributed under the License are␊ |
13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER␊ |
14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,␊ |
15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,␊ |
16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the␊ |
17 | * License for the specific language governing rights and limitations␊ |
18 | * under the License.␊ |
19 | * ␊ |
20 | * @APPLE_LICENSE_HEADER_END@␊ |
21 | */␊ |
22 | ␊ |
23 | #ifndef _IOACCEL_TYPES_H␊ |
24 | #define _IOACCEL_TYPES_H␊ |
25 | ␊ |
26 | #include <IOKit/IOTypes.h>␊ |
27 | #include <IOKit/IOKitKeys.h>␊ |
28 | ␊ |
29 | #define IOACCEL_TYPES_REV 12␊ |
30 | ␊ |
31 | #if !defined(OSTYPES_K64_REV) && !defined(MAC_OS_X_VERSION_10_6)␊ |
32 | #define IOACCELTYPES_10_5 1␊ |
33 | #endif␊ |
34 | ␊ |
35 | /* Integer rectangle in device coordinates */␊ |
36 | typedef struct␊ |
37 | {␊ |
38 | SInt16 x;␊ |
39 | SInt16 y;␊ |
40 | SInt16 w;␊ |
41 | SInt16 h;␊ |
42 | } IOAccelBounds;␊ |
43 | ␊ |
44 | typedef struct␊ |
45 | {␊ |
46 | SInt16 w;␊ |
47 | SInt16 h;␊ |
48 | } IOAccelSize;␊ |
49 | ␊ |
50 | /* Surface information */␊ |
51 | ␊ |
52 | enum {␊ |
53 | kIOAccelVolatileSurface = 0x00000001,␊ |
54 | kIOAccelKeycolorSurface = 0x00000002␊ |
55 | };␊ |
56 | ␊ |
57 | typedef struct␊ |
58 | {␊ |
59 | #if IOACCELTYPES_10_5␊ |
60 | vm_address_t address[4];␊ |
61 | #else␊ |
62 | mach_vm_address_t address[4];␊ |
63 | #endif /* IOACCELTYPES_10_5 */␊ |
64 | UInt32 rowBytes;␊ |
65 | UInt32 width;␊ |
66 | UInt32 height;␊ |
67 | UInt32 pixelFormat;␊ |
68 | IOOptionBits flags;␊ |
69 | IOFixed colorTemperature[4];␊ |
70 | UInt32 typeDependent[4];␊ |
71 | } IOAccelSurfaceInformation;␊ |
72 | ␊ |
73 | typedef struct␊ |
74 | {␊ |
75 | #if IOACCELTYPES_10_5␊ |
76 | long x, y, w, h;␊ |
77 | void *client_addr;␊ |
78 | unsigned long client_row_bytes;␊ |
79 | #else␊ |
80 | SInt32 x, y, w, h;␊ |
81 | mach_vm_address_t client_addr;␊ |
82 | UInt32 client_row_bytes;␊ |
83 | #endif /* IOACCELTYPES_10_5 */␊ |
84 | } IOAccelSurfaceReadData;␊ |
85 | ␊ |
86 | typedef struct {␊ |
87 | IOAccelBounds buffer;␊ |
88 | IOAccelSize source;␊ |
89 | UInt32 reserved[8];␊ |
90 | } IOAccelSurfaceScaling;␊ |
91 | ␊ |
92 | ␊ |
93 | typedef SInt32 IOAccelID;␊ |
94 | ␊ |
95 | enum {␊ |
96 | kIOAccelPrivateID = 0x00000001␊ |
97 | };␊ |
98 | ␊ |
99 | ␊ |
100 | #endif /* _IOACCEL_TYPES_H */␊ |
101 | ␊ |
102 |