1 /* Copyright (c) 1993, 1994, Oracle and/or its affiliates. All rights reserved.
3 * Permission is hereby granted, free of charge, to any person obtaining a
4 * copy of this software and associated documentation files (the "Software"),
5 * to deal in the Software without restriction, including without limitation
6 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 * and/or sell copies of the Software, and to permit persons to whom the
8 * Software is furnished to do so, subject to the following conditions:
10 * The above copyright notice and this permission notice (including the next
11 * paragraph) shall be included in all copies or substantial portions of the
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 * DEALINGS IN THE SOFTWARE.
24 #ifndef _DGA_EXTERNALDEFS_H
25 #define _DGA_EXTERNALDEFS_H
28 ** External defines for libdga.
31 #define DGA_DRAW_WINDOW 0
32 #define DGA_DRAW_PIXMAP 1
33 #define DGA_DRAW_OVERLAY 2
35 #define DGA_MBACCESS_NONE 0
36 #define DGA_MBACCESS_SINGLEADDR 1
37 #define DGA_MBACCESS_MULTIADDR 2
39 #define DGA_SITE_NULL 0
40 #define DGA_SITE_DEVICE 1
41 #define DGA_SITE_SYSTEM 2
43 #define DGA_SITECHG_UNKNOWN 0
44 #define DGA_SITECHG_INITIAL 1
45 #define DGA_SITECHG_ZOMBIE 2
46 #define DGA_SITECHG_ALIAS 3
47 #define DGA_SITECHG_CACHE 4
48 #define DGA_SITECHG_MB 5
50 #define DGA_MBCHG_UNKNOWN 0
51 #define DGA_MBCHG_ACTIVATION 1
52 #define DGA_MBCHG_DEACTIVATION 2
53 #define DGA_MBCHG_REPLACEMENT 3
55 #define DGA_VIS_UNOBSCURED 0
56 #define DGA_VIS_PARTIALLY_OBSCURED 1
57 #define DGA_VIS_FULLY_OBSCURED 2
59 #define DGA_OVLSTATE_SAFE 0
60 #define DGA_OVLSTATE_MULTIWID 1
61 #define DGA_OVLSTATE_CONFLICT 2
63 #define DGA_MAX_GRABBABLE_BUFS 16
65 #endif /* _DGA_EXTERNALDEFS_H */