NVCtrlLib.h File Reference

Go to the source code of this file.

Classes

struct  XNVCtrlAttributeChangedEvent
union  XNVCtrlEvent
struct  XNVCtrlAttributeChangedEventTarget
union  XNVCtrlEventTarget
struct  XNVCtrlAttributeChangedEventTargetAvailability
union  XNVCtrlEventTargetAvailability
struct  XNVCtrlStringAttributeChangedEventTarget
union  XNVCtrlStringEventTarget
struct  XNVCtrlBinaryAttributeChangedEventTarget
union  XNVCtrlBinaryEventTarget

Functions

Bool XNVCTRLQueryExtension (Display *dpy, int *event_basep, int *error_basep)
Bool XNVCTRLQueryVersion (Display *dpy, int *major, int *minor)
Bool XNVCTRLIsNvScreen (Display *dpy, int screen)
Bool XNVCTRLQueryTargetCount (Display *dpy, int target_type, int *value)
void XNVCTRLSetAttribute (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, int value)
void XNVCTRLSetTargetAttribute (Display *dpy, int target_type, int target_id, unsigned int display_mask, unsigned int attribute, int value)
Bool XNVCTRLSetAttributeAndGetStatus (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, int value)
Bool XNVCTRLQueryAttribute (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, int *value)
Bool XNVCTRLQueryTargetAttribute (Display *dpy, int target_Type, int target_id, unsigned int display_mask, unsigned int attribute, int *value)
Bool XNVCTRLQueryStringAttribute (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, char **ptr)
Bool XNVCTRLQueryTargetStringAttribute (Display *dpy, int target_type, int target_id, unsigned int display_mask, unsigned int attribute, char **ptr)
Bool XNVCTRLSetStringAttribute (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, char *ptr)
Bool XNVCTRLQueryValidAttributeValues (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, NVCTRLAttributeValidValuesRec *values)
Bool XNVCTRLQueryValidTargetAttributeValues (Display *dpy, int target_type, int target_id, unsigned int display_mask, unsigned int attribute, NVCTRLAttributeValidValuesRec *values)
void XNVCTRLSetGvoColorConversion (Display *dpy, int screen, float colorMatrix[3][3], float colorOffset[3], float colorScale[3])
Bool XNVCTRLQueryGvoColorConversion (Display *dpy, int screen, float colorMatrix[3][3], float colorOffset[3], float colorScale[3])
Bool XNVCTRLQueryBinaryData (Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, unsigned char **ptr, int *len)
Bool XNVCTRLQueryTargetBinaryData (Display *dpy, int target_type, int target_id, unsigned int display_mask, unsigned int attribute, unsigned char **ptr, int *len)
Bool XNVCTRLStringOperation (Display *dpy, int target_type, int target_id, unsigned int display_mask, unsigned int attribute, char *pIn, char **ppOut)
Bool XNVCtrlSelectNotify (Display *dpy, int screen, int type, Bool onoff)
Bool XNVCtrlSelectTargetNotify (Display *dpy, int target_type, int target_id, int notify_type, Bool onoff)

Function Documentation

Bool XNVCTRLQueryExtension ( Display *  dpy,
int *  event_basep,
int *  error_basep 
)

Definition at line 116 of file NVCtrl.c.

Bool XNVCTRLQueryVersion ( Display *  dpy,
int *  major,
int *  minor 
)

Definition at line 133 of file NVCtrl.c.

Referenced by CheckNVOpenGLSyncToVBlank(), GetNvidiaRates(), and XNVCTRLCheckTargetData().

Bool XNVCTRLIsNvScreen ( Display *  dpy,
int  screen 
)

Definition at line 164 of file NVCtrl.c.

Referenced by CheckNVOpenGLSyncToVBlank(), and GetNvidiaRates().

Bool XNVCTRLQueryTargetCount ( Display *  dpy,
int  target_type,
int *  value 
)

Definition at line 195 of file NVCtrl.c.

void XNVCTRLSetAttribute ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
int  value 
)

Definition at line 253 of file NVCtrl.c.

void XNVCTRLSetTargetAttribute ( Display *  dpy,
int  target_type,
int  target_id,
unsigned int  display_mask,
unsigned int  attribute,
int  value 
)

Definition at line 226 of file NVCtrl.c.

Referenced by XNVCTRLSetAttribute().

Bool XNVCTRLSetAttributeAndGetStatus ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
int  value 
)

Definition at line 265 of file NVCtrl.c.

Bool XNVCTRLQueryAttribute ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
int *  value 
)

Definition at line 343 of file NVCtrl.c.

Referenced by CheckNVOpenGLSyncToVBlank(), and GetNvidiaRates().

Bool XNVCTRLQueryTargetAttribute ( Display *  dpy,
int  target_Type,
int  target_id,
unsigned int  display_mask,
unsigned int  attribute,
int *  value 
)

Definition at line 304 of file NVCtrl.c.

Referenced by XNVCTRLQueryAttribute().

Bool XNVCTRLQueryStringAttribute ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
char **  ptr 
)

Definition at line 409 of file NVCtrl.c.

Bool XNVCTRLQueryTargetStringAttribute ( Display *  dpy,
int  target_type,
int  target_id,
unsigned int  display_mask,
unsigned int  attribute,
char **  ptr 
)

Definition at line 355 of file NVCtrl.c.

Referenced by XNVCTRLQueryStringAttribute().

Bool XNVCTRLSetStringAttribute ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
char *  ptr 
)

Definition at line 422 of file NVCtrl.c.

Bool XNVCTRLQueryValidAttributeValues ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
NVCTRLAttributeValidValuesRec values 
)

Definition at line 515 of file NVCtrl.c.

Bool XNVCTRLQueryValidTargetAttributeValues ( Display *  dpy,
int  target_type,
int  target_id,
unsigned int  display_mask,
unsigned int  attribute,
NVCTRLAttributeValidValuesRec values 
)

Definition at line 466 of file NVCtrl.c.

Referenced by XNVCTRLQueryValidAttributeValues().

void XNVCTRLSetGvoColorConversion ( Display *  dpy,
int  screen,
float  colorMatrix[3][3],
float  colorOffset[3],
float  colorScale[3] 
)

Definition at line 529 of file NVCtrl.c.

Bool XNVCTRLQueryGvoColorConversion ( Display *  dpy,
int  screen,
float  colorMatrix[3][3],
float  colorOffset[3],
float  colorScale[3] 
)

Definition at line 572 of file NVCtrl.c.

Bool XNVCTRLQueryBinaryData ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
unsigned char **  ptr,
int *  len 
)

Definition at line 725 of file NVCtrl.c.

Referenced by GetNvidiaRates().

Bool XNVCTRLQueryTargetBinaryData ( Display *  dpy,
int  target_type,
int  target_id,
unsigned int  display_mask,
unsigned int  attribute,
unsigned char **  ptr,
int *  len 
)

Definition at line 669 of file NVCtrl.c.

Referenced by XNVCTRLQueryBinaryData().

Bool XNVCTRLStringOperation ( Display *  dpy,
int  target_type,
int  target_id,
unsigned int  display_mask,
unsigned int  attribute,
char *  pIn,
char **  ppOut 
)

Definition at line 738 of file NVCtrl.c.

Bool XNVCtrlSelectNotify ( Display *  dpy,
int  screen,
int  type,
Bool  onoff 
)

Definition at line 642 of file NVCtrl.c.

Bool XNVCtrlSelectTargetNotify ( Display *  dpy,
int  target_type,
int  target_id,
int  notify_type,
Bool  onoff 
)

Definition at line 612 of file NVCtrl.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:49 2012 for MythTV by  doxygen 1.6.3