~ubuntu-branches/ubuntu/saucy/nvidia-settings-updates/saucy

« back to all changes in this revision

Viewing changes to src/libXNVCtrlAttributes/NvCtrlAttributes.h

  • Committer: Package Import Robot
  • Author(s): Alberto Milone
  • Date: 2012-06-25 16:39:50 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120625163950-qsci6udwk8mbyrdu
Tags: 302.17-0ubuntu1
* New upstream release.
* Refresh 04_nvidia-settings_natty_ftbs.patch.
* Drop 02_nvidia-settings-format-string.patch which
  is now upstream.
* debian/rules:
  - Make sure to install the new sources correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
#define NV_CTRL_ATTR_GLX_LAST_ATTRIBUTE \
131
131
       (NV_CTRL_ATTR_GLX_FBCONFIG_ATTRIBS)
132
132
 
133
 
/* XRandR */
134
 
 
135
 
#define NV_CTRL_ATTR_XRANDR_BASE \
136
 
       (NV_CTRL_ATTR_GLX_LAST_ATTRIBUTE + 1)
137
 
 
138
 
#define NV_CTRL_ATTR_XRANDR_ROTATION_SUPPORTED (NV_CTRL_ATTR_XRANDR_BASE +  0)
139
 
#define NV_CTRL_ATTR_XRANDR_ROTATIONS          (NV_CTRL_ATTR_XRANDR_BASE +  1)
140
 
#define NV_CTRL_ATTR_XRANDR_ROTATION           (NV_CTRL_ATTR_XRANDR_BASE +  2)
141
 
 
142
 
#define NV_CTRL_ATTR_XRANDR_LAST_ATTRIBUTE \
143
 
       (NV_CTRL_ATTR_XRANDR_ROTATION)
144
 
 
145
 
 
146
 
#define NV_CTRL_ATTR_LAST_ATTRIBUTE (NV_CTRL_ATTR_XRANDR_LAST_ATTRIBUTE)
 
133
#define NV_CTRL_ATTR_LAST_ATTRIBUTE (NV_CTRL_ATTR_GLX_LAST_ATTRIBUTE)
147
134
 
148
135
 
149
136
typedef enum {
506
493
 
507
494
void NvCtrlAttributeClose(NvCtrlAttributeHandle *handle);
508
495
 
509
 
ReturnStatus
510
 
NvCtrlXrandrSetScreenMode (NvCtrlAttributeHandle *handle,
511
 
                           int width, int height, int refresh);
512
 
 
513
 
ReturnStatus
514
 
NvCtrlXrandrGetScreenMode (NvCtrlAttributeHandle *handle,
515
 
                           int *width, int *height, int *refresh);
516
 
 
517
496
#endif /* __NVCTRL_ATTRIBUTES__ */