xf86RandR12.h revision cabde247f900dcf6e58d009bbdd15099c028c6fc
acce4b333de469c687908f3a04381f2897d242e9Tinderbox User/*
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * Copyright © 2006 Keith Packard
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews *
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Permission to use, copy, modify, distribute, and sell this software and its
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * documentation for any purpose is hereby granted without fee, provided that
4e68c7c87c30c28490c92937adc112dca5b5d5aeAutomatic Updater * the above copyright notice appear in all copies and that both that copyright
9198ab377b1cbf07d6d0c6eec25296c135bd66bdMark Andrews * notice and this permission notice appear in supporting documentation, and
9198ab377b1cbf07d6d0c6eec25296c135bd66bdMark Andrews * that the name of the copyright holders not be used in advertising or
9198ab377b1cbf07d6d0c6eec25296c135bd66bdMark Andrews * publicity pertaining to distribution of the software without specific,
b1c6de5456a5287b442de5620282902da39a4968Mark Andrews * written prior permission. The copyright holders make no representations
b1c6de5456a5287b442de5620282902da39a4968Mark Andrews * about the suitability of this software for any purpose. It is provided "as
f30785f506a522ed6a5e394af2bb13b6f883927eEvan Hunt * is" without express or implied warranty.
b1c6de5456a5287b442de5620282902da39a4968Mark Andrews *
b1c6de5456a5287b442de5620282902da39a4968Mark Andrews * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
9198ab377b1cbf07d6d0c6eec25296c135bd66bdMark Andrews * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
02286522fbc6db783b5f0b4318289db0cefbfbcbMark Andrews * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1864400107f7dc21e1797d602ab1f8523f599df9Mark Andrews * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
bf459d24a117ae2c54c37016430b41cd6d73491cMark Andrews * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
bf459d24a117ae2c54c37016430b41cd6d73491cMark Andrews * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
1864400107f7dc21e1797d602ab1f8523f599df9Mark Andrews * OF THIS SOFTWARE.
1864400107f7dc21e1797d602ab1f8523f599df9Mark Andrews */
1c5990c2f98abf0c2adf7f54a531d8a4a3965414Mark Andrews
1c5990c2f98abf0c2adf7f54a531d8a4a3965414Mark Andrews#ifndef _XF86_RANDR_H_
9198ab377b1cbf07d6d0c6eec25296c135bd66bdMark Andrews#define _XF86_RANDR_H_
9198ab377b1cbf07d6d0c6eec25296c135bd66bdMark Andrews#include <randrstr.h>
9198ab377b1cbf07d6d0c6eec25296c135bd66bdMark Andrews#include <X11/extensions/render.h>
9198ab377b1cbf07d6d0c6eec25296c135bd66bdMark Andrews#if XF86_MODES_RENAME
9198ab377b1cbf07d6d0c6eec25296c135bd66bdMark Andrews#include "xf86Rename.h"
02286522fbc6db783b5f0b4318289db0cefbfbcbMark Andrews#endif
02286522fbc6db783b5f0b4318289db0cefbfbcbMark Andrews
02286522fbc6db783b5f0b4318289db0cefbfbcbMark Andrewsextern _X_EXPORT Bool xf86RandR12CreateScreenResources (ScreenPtr pScreen);
02286522fbc6db783b5f0b4318289db0cefbfbcbMark Andrewsextern _X_EXPORT Bool xf86RandR12Init(ScreenPtr pScreen);
3718adf7535e012273ae4616802673ee0778655dEvan Huntextern _X_EXPORT void xf86RandR12CloseScreen(ScreenPtr pScreen);
3718adf7535e012273ae4616802673ee0778655dEvan Huntextern _X_EXPORT void xf86RandR12SetRotations (ScreenPtr pScreen, Rotation rotation);
3718adf7535e012273ae4616802673ee0778655dEvan Huntextern _X_EXPORT void xf86RandR12SetTransformSupport (ScreenPtr pScreen, Bool transforms);
3718adf7535e012273ae4616802673ee0778655dEvan Huntextern _X_EXPORT Bool xf86RandR12SetConfig(ScreenPtr pScreen, Rotation rotation, int rate,
3718adf7535e012273ae4616802673ee0778655dEvan Hunt RRScreenSizePtr pSize);
3718adf7535e012273ae4616802673ee0778655dEvan Huntextern _X_EXPORT Rotation xf86RandR12GetRotation(ScreenPtr pScreen);
3718adf7535e012273ae4616802673ee0778655dEvan Huntextern _X_EXPORT void xf86RandR12GetOriginalVirtualSize(ScrnInfoPtr pScrn, int *x, int *y);
3718adf7535e012273ae4616802673ee0778655dEvan Huntextern _X_EXPORT Bool xf86RandR12PreInit (ScrnInfoPtr pScrn);
f30785f506a522ed6a5e394af2bb13b6f883927eEvan Huntextern _X_EXPORT void xf86RandR12TellChanged (ScreenPtr pScreen);
f30785f506a522ed6a5e394af2bb13b6f883927eEvan Hunt
f30785f506a522ed6a5e394af2bb13b6f883927eEvan Hunt#endif /* _XF86_RANDR_H_ */
f30785f506a522ed6a5e394af2bb13b6f883927eEvan Hunt