~ubuntu-branches/ubuntu/precise/nvidia-settings/precise

« back to all changes in this revision

Viewing changes to src/libXNVCtrl/NVCtrl.h

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone (tseliot)
  • Date: 2008-10-08 18:24:16 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20081008182416-niiw9g1lmimlkg75
Tags: 177.78-0ubuntu1
* New upstream release
  - Do not add RgbPath to the Files section of xorg.conf
    (LP: #274866)
* debian/copyright:
  - Restore detailed version of the license (cf. debian #494388)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2545
2545
#define NV_CTRL_FLATPANEL_CHIP_LOCATION_EXTERNAL                  1
2546
2546
 
2547
2547
/*
2548
 
 * NV_CTRL_FLATPANEL_LINK - report whether the specified display
2549
 
 * device is driven by a single link or dual link DVI connection.
 
2548
 * NV_CTRL_FLATPANEL_LINK - report the number of links for a DVI connection, or
 
2549
 * the main link's active lane count for DisplayPort.
2550
2550
 * This attribute is only available for flat panels.
2551
2551
 */
2552
2552
 
2553
2553
#define NV_CTRL_FLATPANEL_LINK                                  216/* R-DG */
2554
2554
#define NV_CTRL_FLATPANEL_LINK_SINGLE                             0
2555
2555
#define NV_CTRL_FLATPANEL_LINK_DUAL                               1
 
2556
#define NV_CTRL_FLATPANEL_LINK_QUAD                               3
2556
2557
 
2557
2558
/*
2558
2559
 * NV_CTRL_FLATPANEL_SIGNAL - for the specified display device, report
2559
 
 * whether the flat panel is driven by an LVDS or TMDS signal.  This
2560
 
 * attribute is only available for flat panels.
 
2560
 * whether the flat panel is driven by an LVDS, TMDS, or DisplayPort signal.
 
2561
 * This attribute is only available for flat panels.
2561
2562
 */
2562
2563
 
2563
2564
#define NV_CTRL_FLATPANEL_SIGNAL                                217/* R-DG */
2564
2565
#define NV_CTRL_FLATPANEL_SIGNAL_LVDS                             0
2565
2566
#define NV_CTRL_FLATPANEL_SIGNAL_TMDS                             1
 
2567
#define NV_CTRL_FLATPANEL_SIGNAL_DISPLAYPORT                      2
2566
2568
 
2567
2569
 
2568
2570
/*
2825
2827
 * initially, but allows them to migrate to video memory.
2826
2828
 * NV_CTRL_INITIAL_PIXMAP_PLACEMENT_VIDMEM creates pixmaps in video memory
2827
2829
 * when enough resources are available.
 
2830
 * NV_CTRL_INITIAL_PIXMAP_PLACEMENT_RESERVED is currently reserved for future
 
2831
 * use.  Behavior is undefined.
2828
2832
 * NV_CTRL_INITIAL_PIXMAP_PLACEMENT_GPU_SYSMEM creates pixmaps in GPU accessible
2829
2833
 * system memory when enough resources are available.
2830
2834
 */
2833
2837
#define NV_CTRL_INITIAL_PIXMAP_PLACEMENT_FORCE_SYSMEM            0
2834
2838
#define NV_CTRL_INITIAL_PIXMAP_PLACEMENT_SYSMEM                  1
2835
2839
#define NV_CTRL_INITIAL_PIXMAP_PLACEMENT_VIDMEM                  2
 
2840
#define NV_CTRL_INITIAL_PIXMAP_PLACEMENT_RESERVED                3
2836
2841
#define NV_CTRL_INITIAL_PIXMAP_PLACEMENT_GPU_SYSMEM              4
2837
2842
 
2838
2843
 
3319
3324
 
3320
3325
#define NV_CTRL_DEPTH_30_ALLOWED                                279 /* R--G */
3321
3326
 
3322
 
#define NV_CTRL_LAST_ATTRIBUTE NV_CTRL_DEPTH_30_ALLOWED
 
3327
/*
 
3328
 * NV_CTRL_MODE_SET_EVENT This attribute is sent as an event
 
3329
 * when hotkey, ctrl-alt-+/- or randr event occurs.  Note that
 
3330
 * This attribute cannot be set or queried and is meant to
 
3331
 * be received by clients that wish to be notified of when
 
3332
 * mode set events occur.
 
3333
 */
 
3334
 
 
3335
#define NV_CTRL_MODE_SET_EVENT                                  280 /* --- */
 
3336
 
 
3337
/*
 
3338
 * NV_CTRL_OPENGL_AA_LINE_GAMMA_VALUE - the gamma value used by
 
3339
 * OpenGL when NV_CTRL_OPENGL_AA_LINE_GAMMA is enabled
 
3340
 */
 
3341
 
 
3342
#define NV_CTRL_OPENGL_AA_LINE_GAMMA_VALUE                      281 /* RW-X */
 
3343
 
 
3344
/*
 
3345
 * NV_CTRL_DISPLAYPORT_LINK_RATE - returns the negotiated lane bandwidth of the
 
3346
 * DisplayPort main link.
 
3347
 * This attribute is only available for DisplayPort flat panels.
 
3348
 */
 
3349
 
 
3350
#define NV_CTRL_DISPLAYPORT_LINK_RATE                           291 /* R-DG */
 
3351
#define NV_CTRL_DISPLAYPORT_LINK_RATE_DISABLED                  0x0
 
3352
#define NV_CTRL_DISPLAYPORT_LINK_RATE_1_62GBPS                  0x6
 
3353
#define NV_CTRL_DISPLAYPORT_LINK_RATE_2_70GBPS                  0xA
 
3354
 
 
3355
/*
 
3356
 * NV_CTRL_STEREO_EYES_EXCHANGE - Controls whether or not the left and right
 
3357
 * eyes of a stereo image are flipped.
 
3358
 */
 
3359
 
 
3360
#define NV_CTRL_STEREO_EYES_EXCHANGE                            292  /* RW-X */
 
3361
#define NV_CTRL_STEREO_EYES_EXCHANGE_OFF                          0
 
3362
#define NV_CTRL_STEREO_EYES_EXCHANGE_ON                           1
 
3363
 
 
3364
/*
 
3365
 * NV_CTRL_NO_SCANOUT - returns whether the special "NoScanout" mode is
 
3366
 * enabled on the specified X screen or GPU; for details on this mode,
 
3367
 * see the description of the "none" value for the "UseDisplayDevice"
 
3368
 * X configuration option in the NVIDIA driver README.
 
3369
 */
 
3370
 
 
3371
#define NV_CTRL_NO_SCANOUT                                      293 /* R--G */
 
3372
#define NV_CTRL_NO_SCANOUT_DISABLED                             0
 
3373
#define NV_CTRL_NO_SCANOUT_ENABLED                              1
 
3374
 
 
3375
/*
 
3376
 * NV_CTRL_GVO_CSC_CHANGED_EVENT This attribute is sent as an event
 
3377
 * when the color space conversion matrix has been altered by another
 
3378
 * client.
 
3379
 */
 
3380
 
 
3381
#define NV_CTRL_GVO_CSC_CHANGED_EVENT                           294 /* --- */
 
3382
 
 
3383
/*
 
3384
 * NV_CTRL_GVO_SYNC_TO_DISPLAY This attribute controls whether or not
 
3385
 * the non-SDI display device will be sync'ed to the SDI display device
 
3386
 * (when configured in TwinView, Clone Mode or when using the SDI device
 
3387
 * with OpenGL).
 
3388
 */
 
3389
 
 
3390
#define NV_CTRL_GVO_SYNC_TO_DISPLAY                             296 /* --- */
 
3391
#define NV_CTRL_GVO_SYNC_TO_DISPLAY_DISABLE                     0
 
3392
#define NV_CTRL_GVO_SYNC_TO_DISPLAY_ENABLE                      1
 
3393
 
 
3394
 
 
3395
#define NV_CTRL_LAST_ATTRIBUTE  NV_CTRL_GVO_SYNC_TO_DISPLAY
3323
3396
 
3324
3397
/**************************************************************************/
3325
3398
 
4206
4279
#define TARGET_ATTRIBUTE_CHANGED_EVENT              1
4207
4280
#define TARGET_ATTRIBUTE_AVAILABILITY_CHANGED_EVENT 2
4208
4281
#define TARGET_STRING_ATTRIBUTE_CHANGED_EVENT       3
 
4282
#define TARGET_BINARY_ATTRIBUTE_CHANGED_EVENT       4
4209
4283
 
4210
4284
 
4211
4285
#endif /* __NVCTRL_H */