1/* 2 * Copyright © 2009 Red Hat, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the 9 * Software is furnished to do so, subject to the following conditions: 10 * 11 * The above copyright notice and this permission notice (including the next 12 * paragraph) shall be included in all copies or substantial portions of the 13 * Software. 14 * 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * DEALINGS IN THE SOFTWARE. 22 * 23 */ 24 25/** 26 * This file specifies the server-supported protocol versions. 27 */ 28#ifndef _PROTOCOL_VERSIONS_ 29#define _PROTOCOL_VERSIONS_ 30 31/* Apple DRI */ 32#define SERVER_APPLEDRI_MAJOR_VERSION 1 33#define SERVER_APPLEDRI_MINOR_VERSION 0 34#define SERVER_APPLEDRI_PATCH_VERSION 0 35 36/* AppleWM */ 37#define SERVER_APPLEWM_MAJOR_VERSION 1 38#define SERVER_APPLEWM_MINOR_VERSION 3 39#define SERVER_APPLEWM_PATCH_VERSION 0 40 41/* Composite */ 42#define SERVER_COMPOSITE_MAJOR_VERSION 0 43#define SERVER_COMPOSITE_MINOR_VERSION 4 44 45/* Damage */ 46#define SERVER_DAMAGE_MAJOR_VERSION 1 47#define SERVER_DAMAGE_MINOR_VERSION 1 48 49/* DRI3 */ 50#define SERVER_DRI3_MAJOR_VERSION 1 51#define SERVER_DRI3_MINOR_VERSION 2 52 53/* DMX */ 54#define SERVER_DMX_MAJOR_VERSION 2 55#define SERVER_DMX_MINOR_VERSION 2 56#define SERVER_DMX_PATCH_VERSION 20040604 57 58/* Generic event extension */ 59#define SERVER_GE_MAJOR_VERSION 1 60#define SERVER_GE_MINOR_VERSION 0 61 62/* GLX */ 63#define SERVER_GLX_MAJOR_VERSION 1 64#define SERVER_GLX_MINOR_VERSION 4 65 66/* Xinerama */ 67#define SERVER_PANORAMIX_MAJOR_VERSION 1 68#define SERVER_PANORAMIX_MINOR_VERSION 1 69 70/* Present */ 71#define SERVER_PRESENT_MAJOR_VERSION 1 72#define SERVER_PRESENT_MINOR_VERSION 2 73 74/* RandR */ 75#define SERVER_RANDR_MAJOR_VERSION 1 76#define SERVER_RANDR_MINOR_VERSION 6 77 78/* Record */ 79#define SERVER_RECORD_MAJOR_VERSION 1 80#define SERVER_RECORD_MINOR_VERSION 13 81 82/* Render */ 83#define SERVER_RENDER_MAJOR_VERSION 0 84#define SERVER_RENDER_MINOR_VERSION 11 85 86/* RandR Xinerama */ 87#define SERVER_RRXINERAMA_MAJOR_VERSION 1 88#define SERVER_RRXINERAMA_MINOR_VERSION 1 89 90/* Screensaver */ 91#define SERVER_SAVER_MAJOR_VERSION 1 92#define SERVER_SAVER_MINOR_VERSION 1 93 94/* Security */ 95#define SERVER_SECURITY_MAJOR_VERSION 1 96#define SERVER_SECURITY_MINOR_VERSION 0 97 98/* Shape */ 99#define SERVER_SHAPE_MAJOR_VERSION 1 100#define SERVER_SHAPE_MINOR_VERSION 1 101 102/* SHM */ 103#define SERVER_SHM_MAJOR_VERSION 1 104#if XTRANS_SEND_FDS 105#define SERVER_SHM_MINOR_VERSION 2 106#else 107#define SERVER_SHM_MINOR_VERSION 1 108#endif 109 110/* Sync */ 111#define SERVER_SYNC_MAJOR_VERSION 3 112#define SERVER_SYNC_MINOR_VERSION 1 113 114/* Windows DRI */ 115#define SERVER_WINDOWSDRI_MAJOR_VERSION 1 116#define SERVER_WINDOWSDRI_MINOR_VERSION 0 117#define SERVER_WINDOWSDRI_PATCH_VERSION 0 118 119/* Windows WM */ 120#define SERVER_WINDOWSWM_MAJOR_VERSION 1 121#define SERVER_WINDOWSWM_MINOR_VERSION 0 122#define SERVER_WINDOWSWM_PATCH_VERSION 0 123 124/* DGA */ 125#define SERVER_XDGA_MAJOR_VERSION 2 126#define SERVER_XDGA_MINOR_VERSION 0 127 128/* Big Font */ 129#define SERVER_XF86BIGFONT_MAJOR_VERSION 1 130#define SERVER_XF86BIGFONT_MINOR_VERSION 1 131 132/* DRI */ 133#define SERVER_XF86DRI_MAJOR_VERSION 4 134#define SERVER_XF86DRI_MINOR_VERSION 1 135#define SERVER_XF86DRI_PATCH_VERSION 20040604 136 137/* Vidmode */ 138#define SERVER_XF86VIDMODE_MAJOR_VERSION 2 139#define SERVER_XF86VIDMODE_MINOR_VERSION 2 140 141/* Fixes */ 142#define SERVER_XFIXES_MAJOR_VERSION 6 143#define SERVER_XFIXES_MINOR_VERSION 0 144 145/* X Input */ 146#define SERVER_XI_MAJOR_VERSION 2 147#define SERVER_XI_MINOR_VERSION 4 148 149/* XKB */ 150#define SERVER_XKB_MAJOR_VERSION 1 151#define SERVER_XKB_MINOR_VERSION 0 152 153/* Resource */ 154#define SERVER_XRES_MAJOR_VERSION 1 155#define SERVER_XRES_MINOR_VERSION 2 156 157/* XvMC */ 158#define SERVER_XVMC_MAJOR_VERSION 1 159#define SERVER_XVMC_MINOR_VERSION 1 160 161#endif 162