RRGetScreenResources and RRGetOutputInfo are working now.

Removed separate id field in RRModeRec.
Pull screen subpixel order from Render extension.
Implement RGetScreenResources and RRGetOutputInfo
This commit is contained in:
Keith Packard 2006-09-19 00:46:27 -07:00
commit 07112adb08
5 changed files with 233 additions and 8 deletions

View file

@ -74,7 +74,6 @@ typedef struct _rrCrtc RRCrtcRec, *RRCrtcPtr;
typedef struct _rrOutput RROutputRec, *RROutputPtr;
struct _rrMode {
RRMode id;
int refcnt;
xRRModeInfo mode;
char *name;
@ -489,6 +488,10 @@ Bool
RROutputSetConnection (RROutputPtr output,
CARD8 connection);
Bool
RROutputSetSubpixelOrder (RROutputPtr output,
int subpixelOrder);
void
RRDeliverOutputEvent(ClientPtr client, WindowPtr pWin, RROutputPtr output);