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