intel_options.h revision 03b705cf
1#ifndef INTEL_OPTIONS_H
2#define INTEL_OPTIONS_H
3
4#include <xf86.h>
5#include <xf86Opt.h>
6
7/*
8 * Note: "ColorKey" is provided for compatibility with the i810 driver.
9 * However, the correct option name is "VideoKey".  "ColorKey" usually
10 * refers to the tranparency key for 8+24 overlays, not for video overlays.
11 */
12
13enum intel_options {
14	OPTION_ACCEL_DISABLE,
15	OPTION_ACCEL_METHOD,
16	OPTION_BACKLIGHT,
17	OPTION_DRI,
18	OPTION_VIDEO_KEY,
19	OPTION_COLOR_KEY,
20	OPTION_TILING_2D,
21	OPTION_TILING_FB,
22	OPTION_SWAPBUFFERS_WAIT,
23	OPTION_TRIPLE_BUFFER,
24	OPTION_PREFER_OVERLAY,
25	OPTION_HOTPLUG,
26	OPTION_REPROBE,
27#if defined(XvMCExtension) && defined(ENABLE_XVMC)
28	OPTION_XVMC,
29#define INTEL_XVMC 1
30#endif
31#ifdef USE_SNA
32	OPTION_ZAPHOD,
33	OPTION_TEAR_FREE,
34	OPTION_CRTC_PIXMAPS,
35#endif
36#ifdef USE_UXA
37	OPTION_FALLBACKDEBUG,
38	OPTION_DEBUG_FLUSH_BATCHES,
39	OPTION_DEBUG_FLUSH_CACHES,
40	OPTION_DEBUG_WAIT,
41	OPTION_BUFFER_CACHE,
42#endif
43	NUM_OPTIONS,
44};
45
46extern const OptionInfoRec intel_options[];
47OptionInfoPtr intel_options_get(ScrnInfoPtr scrn);
48
49#endif /* INTEL_OPTIONS_H */
50