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 |
| 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] |
Definition at line 85 of file NVCtrl.c.
Referenced by XNVCTRLQueryTargetAttribute(), XNVCTRLQueryTargetBinaryData(), XNVCTRLQueryTargetStringAttribute(), XNVCTRLQueryValidTargetAttributeValues(), XNVCTRLSetTargetAttribute(), and XNVCTRLStringOperation().
| Bool XNVCTRLQueryExtension | ( | Display * | dpy, | |
| int * | event_basep, | |||
| int * | error_basep | |||
| ) |
| 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 | |||
| ) |
| 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 | |||
| ) |
| 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 | |||
| ) |
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 | |||
| ) |
| 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 | |||
| ) |
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 | |||
| ) |
| 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 | |||
| ) |
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 | |||
| ) |
| static Bool wire_to_event | ( | Display * | dpy, | |
| XEvent * | host, | |||
| xEvent * | wire | |||
| ) | [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 [static] |
{
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
close_display,
wire_to_event,
NULL,
NULL,
NULL,
}
1.6.3