diff options
author | Maxim Levitsky <maximlevitsky at gmail.com> | 2008-11-05 13:47:09 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-11-11 11:27:50 -0800 |
commit | 24c34f020a3b23e0236aaac77b271d4390ab7619 (patch) | |
tree | b0fef3c1af52199887898c3219db5b5cc5ca7dd8 /src/i830_driver.c | |
parent | 8e017206f8ed8b3986f5f2c04580ad99a2745a91 (diff) |
Add an option to make the overlay be the first XV adaptor.
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r-- | src/i830_driver.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 4ffcd5f1..a2eaf152 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -314,6 +314,7 @@ typedef enum { OPTION_XVMC, #endif OPTION_FORCE_SDVO_DETECT, + OPTION_PREFER_OVERLAY, } I830Opts; static OptionInfoRec I830Options[] = { @@ -341,6 +342,7 @@ static OptionInfoRec I830Options[] = { {OPTION_XVMC, "XvMC", OPTV_BOOLEAN, {0}, TRUE}, #endif {OPTION_FORCE_SDVO_DETECT, "ForceSDVODetect", OPTV_BOOLEAN, {0}, FALSE}, + {OPTION_PREFER_OVERLAY, "XvPreferOverlay", OPTV_BOOLEAN, {0}, FALSE}, {-1, NULL, OPTV_NONE, {0}, FALSE} }; /* *INDENT-ON* */ @@ -1689,6 +1691,8 @@ I830XvInit(ScrnInfoPtr pScrn) pI830->XvDisabled = !xf86ReturnOptValBool(pI830->Options, OPTION_XVIDEO, TRUE); + pI830->XvPreferOverlay = xf86ReturnOptValBool(pI830->Options, OPTION_PREFER_OVERLAY, FALSE); + #ifdef I830_XV if (xf86GetOptValInteger(pI830->Options, OPTION_VIDEO_KEY, &(pI830->colorKey))) { |