From f99e49f7642545f75bac682274767c45c2e6192a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 17 Sep 2013 09:15:40 +0100 Subject: intel: Make the option to control VSync and PageFlip explict Too often our implementation of vsync or pageflip is buggy, or for some other reason it is desired by the user to disable those code paths. Make it possible once again by restoring the Options for the user to control. Signed-off-by: Chris Wilson --- src/intel_options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/intel_options.c') diff --git a/src/intel_options.c b/src/intel_options.c index 153cc629..6d53a3f3 100644 --- a/src/intel_options.c +++ b/src/intel_options.c @@ -13,6 +13,8 @@ const OptionInfoRec intel_options[] = { {OPTION_VIDEO_KEY, "VideoKey", OPTV_INTEGER, {0}, 0}, {OPTION_TILING_2D, "Tiling", OPTV_BOOLEAN, {0}, 1}, {OPTION_TILING_FB, "LinearFramebuffer", OPTV_BOOLEAN, {0}, 0}, + {OPTION_VSYNC, "VSync", OPTV_BOOLEAN, {0}, 1}, + {OPTION_PAGEFLIP, "PageFlip", OPTV_BOOLEAN, {0}, 1}, {OPTION_SWAPBUFFERS_WAIT, "SwapbuffersWait", OPTV_BOOLEAN, {0}, 1}, {OPTION_TRIPLE_BUFFER, "TripleBuffer", OPTV_BOOLEAN, {0}, 1}, {OPTION_PREFER_OVERLAY, "XvPreferOverlay", OPTV_BOOLEAN, {0}, 0}, -- cgit v1.2.3