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

« back to all changes in this revision

Viewing changes to samples/nv-control-framelock.c

  • Committer: Package Import Robot
  • Author(s): Alberto Milone, Alberto Milone
  • Date: 2013-04-05 16:46:11 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20130405164611-26b1g95ct93vqjvp
Tags: 304.88-0ubuntu0.0.2
* SECURITY UPDATE: ARGB Cursor Buffer Overflow in "NoScanout" Mode
  - CVE-2013-0131

[ Alberto Milone ]
* New upstream release:
  - Match the ABI in the 304.88 release.
* debian/rules:
  - Make sure that the sources are installed correctly.
* Drop 04_nvidia-settings_natty_ftbs.patch and
  02_nvidia-settings-format-string.patch.
* Add 06_remove_local_prefix.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
/*
60
60
 * do_query()
61
61
 *
62
 
 * Prints information for all frame lock (g-sync) devices found on
 
62
 * Prints information for all frame lock (Quadro Sync) devices found on
63
63
 * the given X server.
64
64
 *
65
65
 */
284
284
        for (i = 1; i <= data[0]; i++) {
285
285
            gpu = data[i];
286
286
        
287
 
            printf("  - Enabling G-Sync Device %d - GPU %d... ",
 
287
            printf("  - Enabling Quadro Sync Device %d - GPU %d... ",
288
288
                   framelock, gpu);
289
289
            
290
290
            /* Make sure frame lock is disabled */
501
501
        for (i = 1; i <= data[0]; i++) {
502
502
            gpu = data[i];
503
503
        
504
 
            printf("  - Disabling G-Sync Device %d - GPU %d... ",
 
504
            printf("  - Disabling Quadro Sync Device %d - GPU %d... ",
505
505
                   framelock, gpu);
506
506
 
507
507
            XNVCTRLSetTargetAttribute(dpy,