~ubuntu-branches/debian/jessie/xserver-xorg-video-intel/jessie

« back to all changes in this revision

Viewing changes to src/intel_options.h

  • Committer: Package Import Robot
  • Author(s): Cyril Brulebois
  • Date: 2012-06-12 20:30:51 UTC
  • mfrom: (26.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20120612203051-mex5136iqfafp06b
Tags: 2:2.19.0-3
* Add patch to avoid X segfaults with Driver-less Device sections in
  xorg.conf (Closes: #677206):
  - 0003-Avoid-calling-xf86nameCompare-with-a-NULL-pointer.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef INTEL_OPTIONS_H
 
2
#define INTEL_OPTIONS_H
 
3
 
 
4
/*
 
5
 * Note: "ColorKey" is provided for compatibility with the i810 driver.
 
6
 * However, the correct option name is "VideoKey".  "ColorKey" usually
 
7
 * refers to the tranparency key for 8+24 overlays, not for video overlays.
 
8
 */
 
9
 
 
10
enum intel_options {
 
11
        OPTION_ACCEL_METHOD,
 
12
        OPTION_DRI,
 
13
        OPTION_VIDEO_KEY,
 
14
        OPTION_COLOR_KEY,
 
15
        OPTION_TILING_FB,
 
16
        OPTION_TILING_2D,
 
17
        OPTION_SHADOW,
 
18
        OPTION_SWAPBUFFERS_WAIT,
 
19
        OPTION_TRIPLE_BUFFER,
 
20
#ifdef INTEL_XVMC
 
21
        OPTION_XVMC,
 
22
#endif
 
23
        OPTION_PREFER_OVERLAY,
 
24
        OPTION_DEBUG_FLUSH_BATCHES,
 
25
        OPTION_DEBUG_FLUSH_CACHES,
 
26
        OPTION_DEBUG_WAIT,
 
27
        OPTION_HOTPLUG,
 
28
        OPTION_RELAXED_FENCING,
 
29
        OPTION_USE_SNA,
 
30
#ifdef USE_SNA
 
31
        OPTION_THROTTLE,
 
32
        OPTION_VMAP,
 
33
        OPTION_ZAPHOD,
 
34
        OPTION_DELAYED_FLUSH,
 
35
#endif
 
36
#ifdef USE_UXA
 
37
        OPTION_FALLBACKDEBUG,
 
38
        OPTION_BUFFER_CACHE,
 
39
#endif
 
40
        NUM_OPTIONS,
 
41
};
 
42
 
 
43
static OptionInfoRec intel_options[] = {
 
44
        {OPTION_ACCEL_METHOD,   "AccelMethod",  OPTV_STRING,    {0},    0},
 
45
        {OPTION_DRI,            "DRI",          OPTV_BOOLEAN,   {0},    TRUE},
 
46
        {OPTION_COLOR_KEY,      "ColorKey",     OPTV_INTEGER,   {0},    FALSE},
 
47
        {OPTION_VIDEO_KEY,      "VideoKey",     OPTV_INTEGER,   {0},    FALSE},
 
48
        {OPTION_TILING_2D,      "Tiling",       OPTV_BOOLEAN,   {0},    TRUE},
 
49
        {OPTION_TILING_FB,      "LinearFramebuffer",    OPTV_BOOLEAN,   {0},    FALSE},
 
50
        {OPTION_SHADOW, "Shadow",       OPTV_BOOLEAN,   {0},    FALSE},
 
51
        {OPTION_SWAPBUFFERS_WAIT, "SwapbuffersWait", OPTV_BOOLEAN,      {0},    TRUE},
 
52
        {OPTION_TRIPLE_BUFFER, "TripleBuffer", OPTV_BOOLEAN,    {0},    TRUE},
 
53
#ifdef INTEL_XVMC
 
54
        {OPTION_XVMC,   "XvMC",         OPTV_BOOLEAN,   {0},    TRUE},
 
55
#endif
 
56
        {OPTION_PREFER_OVERLAY, "XvPreferOverlay", OPTV_BOOLEAN, {0}, FALSE},
 
57
        {OPTION_DEBUG_FLUSH_BATCHES, "DebugFlushBatches", OPTV_BOOLEAN, {0}, FALSE},
 
58
        {OPTION_DEBUG_FLUSH_CACHES, "DebugFlushCaches", OPTV_BOOLEAN, {0}, FALSE},
 
59
        {OPTION_DEBUG_WAIT, "DebugWait", OPTV_BOOLEAN, {0}, FALSE},
 
60
        {OPTION_HOTPLUG,        "HotPlug",      OPTV_BOOLEAN,   {0},    TRUE},
 
61
        {OPTION_RELAXED_FENCING,        "RelaxedFencing",       OPTV_BOOLEAN,   {0},    TRUE},
 
62
#ifdef USE_SNA
 
63
        {OPTION_THROTTLE,       "Throttle",     OPTV_BOOLEAN,   {0},    TRUE},
 
64
        {OPTION_VMAP,   "UseVmap",      OPTV_BOOLEAN,   {0},    TRUE},
 
65
        {OPTION_ZAPHOD, "ZaphodHeads",  OPTV_STRING,    {0},    FALSE},
 
66
        {OPTION_DELAYED_FLUSH,  "DelayedFlush", OPTV_BOOLEAN,   {0},    TRUE},
 
67
#endif
 
68
#ifdef USE_UXA
 
69
        {OPTION_FALLBACKDEBUG, "FallbackDebug", OPTV_BOOLEAN, {0},      FALSE},
 
70
        {OPTION_BUFFER_CACHE,       "BufferCache",  OPTV_BOOLEAN,   {0},    TRUE},
 
71
#endif
 
72
        {-1,                    NULL,           OPTV_NONE,      {0},    FALSE}
 
73
};
 
74
 
 
75
#endif /* INTEL_OPTIONS_H */