NVCtrl.c File Reference

Go to the source code of this file.

Functions

static int close_display ()
static Bool wire_to_event ()
static XEXT_GENERATE_FIND_DISPLAY (find_display, nvctrl_ext_info, nvctrl_extension_name,&nvctrl_extension_hooks, NV_CONTROL_EVENTS, NVCTRL_EXT_NEED_CHECK) static XEXT_GENERATE_CLOSE_DISPLAY(close_display
static static nvctrl_ext_info void XNVCTRLCheckTargetData (Display *dpy, XExtDisplayInfo *info, int *target_type, int *target_id)
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 XNVCTRLSetTargetAttribute (Display *dpy, int target_type, int target_id, unsigned int display_mask, unsigned int attribute, int value)
void XNVCTRLSetAttribute (Display *dpy, int screen, 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 XNVCTRLQueryTargetAttribute (Display *dpy, int target_type, int target_id, 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 XNVCTRLQueryTargetStringAttribute (Display *dpy, int target_type, int target_id, unsigned int display_mask, unsigned int attribute, char **ptr)
Bool XNVCTRLQueryStringAttribute (Display *dpy, int screen, 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 XNVCTRLQueryValidTargetAttributeValues (Display *dpy, int target_type, int target_id, unsigned int display_mask, unsigned int attribute, NVCTRLAttributeValidValuesRec *values)
Bool XNVCTRLQueryValidAttributeValues (Display *dpy, int screen, 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 XNVCtrlSelectTargetNotify (Display *dpy, int target_type, int target_id, int notify_type, Bool onoff)
Bool XNVCtrlSelectNotify (Display *dpy, int screen, int type, Bool onoff)
Bool XNVCTRLQueryTargetBinaryData (Display *dpy, int target_type, int target_id, unsigned int display_mask, unsigned int attribute, unsigned char **ptr, int *len)
Bool XNVCTRLQueryBinaryData (Display *dpy, int screen, 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)
static Bool wire_to_event (Display *dpy, XEvent *host, xEvent *wire)

Variables

static XExtensionInfo _nvctrl_ext_info_data
static XExtensionInfo * nvctrl_ext_info = &_nvctrl_ext_info_data
static char * nvctrl_extension_name = NV_CONTROL_NAME
static XExtensionHooks nvctrl_extension_hooks

Function Documentation

static int close_display (  )  [static]
static Bool wire_to_event (  )  [static]
static XEXT_GENERATE_FIND_DISPLAY ( find_display  ,
nvctrl_ext_info  ,
nvctrl_extension_name  ,
nvctrl_extension_hooks,
NV_CONTROL_EVENTS  ,
NVCTRL_EXT_NEED_CHECK   
) [static]
static static nvctrl_ext_info void XNVCTRLCheckTargetData ( Display *  dpy,
XExtDisplayInfo *  info,
int *  target_type,
int *  target_id 
) [static]
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 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().

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

Definition at line 253 of file NVCtrl.c.

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

Definition at line 265 of file NVCtrl.c.

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 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 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 XNVCTRLQueryStringAttribute ( Display *  dpy,
int  screen,
unsigned int  display_mask,
unsigned int  attribute,
char **  ptr 
)

Definition at line 409 of file NVCtrl.c.

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

Definition at line 422 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().

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

Definition at line 515 of file NVCtrl.c.

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 XNVCtrlSelectTargetNotify ( Display *  dpy,
int  target_type,
int  target_id,
int  notify_type,
Bool  onoff 
)

Definition at line 612 of file NVCtrl.c.

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

Definition at line 642 of file NVCtrl.c.

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 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 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.

static Bool wire_to_event ( Display *  dpy,
XEvent *  host,
xEvent *  wire 
) [static]

Definition at line 815 of file NVCtrl.c.


Variable Documentation

XExtensionInfo _nvctrl_ext_info_data [static]

Definition at line 48 of file NVCtrl.c.

XExtensionInfo* nvctrl_ext_info = &_nvctrl_ext_info_data [static]

Definition at line 49 of file NVCtrl.c.

char* nvctrl_extension_name = NV_CONTROL_NAME [static]

Definition at line 50 of file NVCtrl.c.

XExtensionHooks nvctrl_extension_hooks [static]
Initial value:
 {
    NULL,                               
    NULL,                               
    NULL,                               
    NULL,                               
    NULL,                               
    NULL,                               
    close_display,                      
    wire_to_event,                      
    NULL,                               
    NULL,                               
    NULL,                               
}

Definition at line 59 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