xrdp/xorg/server/module/rdpRandR.h

65 lines
2.5 KiB
C
Raw Normal View History

2013-07-17 12:04:00 +08:00
/*
2014-01-18 09:37:09 +08:00
Copyright 2011-2014 Jay Sorg
2013-07-17 12:04:00 +08:00
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef _RDPRANDR_H
#define _RDPRANDR_H
2014-10-21 08:49:36 +08:00
#include <xorg-server.h>
#include <xorgVersion.h>
#include <xf86.h>
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRRRegisterSize(ScreenPtr pScreen, int width, int height);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRRGetInfo(ScreenPtr pScreen, Rotation* pRotations);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRRSetConfig(ScreenPtr pScreen, Rotation rotateKind, int rate,
RRScreenSizePtr pSize);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRRScreenSetSize(ScreenPtr pScreen, CARD16 width, CARD16 height,
CARD32 mmWidth, CARD32 mmHeight);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRRCrtcSet(ScreenPtr pScreen, RRCrtcPtr crtc, RRModePtr mode,
int x, int y, Rotation rotation, int numOutputs,
RROutputPtr* outputs);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRRCrtcSetGamma(ScreenPtr pScreen, RRCrtcPtr crtc);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRRCrtcGetGamma(ScreenPtr pScreen, RRCrtcPtr crtc);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRROutputSetProperty(ScreenPtr pScreen, RROutputPtr output, Atom property,
RRPropertyValuePtr value);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRROutputValidateMode(ScreenPtr pScreen, RROutputPtr output,
RRModePtr mode);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT void
2013-07-17 12:04:00 +08:00
rdpRRModeDestroy(ScreenPtr pScreen, RRModePtr mode);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRROutputGetProperty(ScreenPtr pScreen, RROutputPtr output, Atom property);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRRGetPanning(ScreenPtr pScrn, RRCrtcPtr crtc, BoxPtr totalArea,
BoxPtr trackingArea, INT16* border);
2014-10-21 08:49:36 +08:00
extern _X_EXPORT Bool
2013-07-17 12:04:00 +08:00
rdpRRSetPanning(ScreenPtr pScrn, RRCrtcPtr crtc, BoxPtr totalArea,
BoxPtr trackingArea, INT16* border);
#endif