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