xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

glx_extinit.h (1986B)


      1 /*
      2  * Copyright (C) 1994-2003 The XFree86 Project, Inc.  All Rights Reserved.
      3  *
      4  * Permission is hereby granted, free of charge, to any person obtaining a copy of
      5  * this software and associated documentation files (the "Software"), to deal in
      6  * the Software without restriction, including without limitation the rights to
      7  * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
      8  * of the Software, and to permit persons to whom the Software is furnished to do
      9  * so, subject to the following conditions:
     10  *
     11  * The above copyright notice and this permission notice shall be included in all
     12  * copies or substantial portions of the Software.
     13  *
     14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
     16  * NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
     17  * XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
     18  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
     19  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     20  *
     21  * Except as contained in this notice, the name of the XFree86 Project shall not
     22  * be used in advertising or otherwise to promote the sale, use or other dealings
     23  * in this Software without prior written authorization from the XFree86 Project.
     24  */
     25 
     26 #ifndef GLX_EXT_INIT_H
     27 #define GLX_EXT_INIT_H
     28 
     29 /* this is separate due to sdksyms pulling in extinit.h */
     30 /* XXX this comment no longer makes sense i think */
     31 #ifdef GLXEXT
     32 typedef struct __GLXprovider __GLXprovider;
     33 typedef struct __GLXscreen __GLXscreen;
     34 struct __GLXprovider {
     35     __GLXscreen *(*screenProbe) (ScreenPtr pScreen);
     36     const char *name;
     37     __GLXprovider *next;
     38 };
     39 extern __GLXprovider __glXDRISWRastProvider;
     40 
     41 void GlxPushProvider(__GLXprovider * provider);
     42 Bool xorgGlxCreateVendor(void);
     43 #else
     44 static inline Bool xorgGlxCreateVendor(void) { return TRUE; }
     45 #endif
     46 
     47 
     48 #endif