github.com/rajveermalviya/gamen@v0.1.2-0.20220930195403-9be15877c1aa/internal/xcb/include/X11/extensions/xf86vm.h (about)

     1  /*
     2  
     3  Copyright 1995  Kaleb S. KEITHLEY
     4  
     5  Permission is hereby granted, free of charge, to any person obtaining
     6  a copy of this software and associated documentation files (the
     7  "Software"), to deal in the Software without restriction, including
     8  without limitation the rights to use, copy, modify, merge, publish,
     9  distribute, sublicense, and/or sell copies of the Software, and to
    10  permit persons to whom the Software is furnished to do so, subject to
    11  the following conditions:
    12  
    13  The above copyright notice and this permission notice shall be
    14  included in all copies or substantial portions of the Software.
    15  
    16  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    17  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    18  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    19  IN NO EVENT SHALL Kaleb S. KEITHLEY BE LIABLE FOR ANY CLAIM, DAMAGES
    20  OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
    21  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    22  OTHER DEALINGS IN THE SOFTWARE.
    23  
    24  Except as contained in this notice, the name of Kaleb S. KEITHLEY
    25  shall not be used in advertising or otherwise to promote the sale, use
    26  or other dealings in this Software without prior written authorization
    27  from Kaleb S. KEITHLEY
    28  
    29  */
    30  
    31  /* THIS IS NOT AN X CONSORTIUM STANDARD OR AN X PROJECT TEAM SPECIFICATION */
    32  
    33  #ifndef _XF86VM_H_
    34  #define _XF86VM_H_
    35  
    36  #include <X11/Xmd.h>
    37  
    38  
    39  #define CLKFLAG_PROGRAMABLE		1
    40  
    41  #ifdef XF86VIDMODE_EVENTS
    42  #define XF86VidModeNotify		0
    43  #define XF86VidModeNumberEvents		(XF86VidModeNotify + 1)
    44  
    45  #define XF86VidModeNotifyMask		0x00000001
    46  
    47  #define XF86VidModeNonEvent		0
    48  #define XF86VidModeModeChange		1
    49  #else
    50  #define XF86VidModeNumberEvents		0
    51  #endif
    52  
    53  #define XF86VidModeBadClock		0
    54  #define XF86VidModeBadHTimings		1
    55  #define XF86VidModeBadVTimings		2
    56  #define XF86VidModeModeUnsuitable	3
    57  #define XF86VidModeExtensionDisabled	4
    58  #define XF86VidModeClientNotLocal	5
    59  #define XF86VidModeZoomLocked		6
    60  #define XF86VidModeNumberErrors		(XF86VidModeZoomLocked + 1)
    61  
    62  #define XF86VM_READ_PERMISSION	1
    63  #define XF86VM_WRITE_PERMISSION	2
    64  
    65  #endif